/hurd/ |
A D | hurdlock.h | 34 #define __lll_xwait(ptr, lo, hi, flags) \ argument 36 (vm_offset_t)ptr, lo, hi, 0, flags | GSYNC_QUAD) 39 #define __lll_timed_wait(ptr, val, mlsec, flags) \ argument 75 #define lll_robust_lock(var, flags) \ argument 76 __lll_robust_lock (&(var), flags) 91 #define __lll_set_wake(ptr, val, flags) \ argument 93 (vm_offset_t)ptr, val, flags | GSYNC_MUTATE) 97 #define lll_robust_unlock(var, flags) \ argument 98 __lll_robust_unlock (&(var), flags) 102 #define __lll_requeue(src, dst, wake_one, flags) \ argument [all …]
|
A D | hurdlock.c | 48 const struct timespec *tsp, int flags, int clk) in __lll_abstimed_wait() argument 59 const struct timespec *tsp, int flags, int clk) in __lll_abstimed_wait_intr() argument 70 const struct timespec *tsp, int flags, int clk) in __lll_abstimed_xwait() argument 77 flags); in __lll_abstimed_xwait() 82 const struct timespec *tsp, int flags, int clk) in __lll_abstimed_lock() argument 123 __lll_robust_lock (void *ptr, int flags) in __lll_robust_lock() argument 154 __lll_timed_wait (iptr, val, wait_time, flags); in __lll_robust_lock() 163 const struct timespec *tsp, int flags, int clk) in __lll_robust_abstimed_lock() argument 201 int res = __lll_timed_wait (iptr, val, mlsec, flags); in __lll_robust_abstimed_lock() 230 __lll_robust_unlock (void *ptr, int flags) in __lll_robust_unlock() argument [all …]
|
A D | port2fd.c | 29 _hurd_port2fd (struct hurd_fd *d, io_t dport, int flags) in _hurd_port2fd() argument 34 if (!(flags & O_IGNORE_CTTY)) in _hurd_port2fd() 58 d->flags = (flags & O_CLOEXEC) ? FD_CLOEXEC : 0; in _hurd_port2fd()
|
A D | openport.c | 25 openport (io_t port, int flags) in openport() argument 27 return _hurd_intern_fd (port, flags, 0); in openport()
|
A D | hurdlookup.c | 45 (file_t dir, const char *name, int flags, mode_t mode, in __hurd_file_name_lookup() argument 48 const char *file_name, int flags, mode_t mode, in __hurd_file_name_lookup() 73 flags |= O_NOTRANS; in __hurd_file_name_lookup() 75 if (flags & O_DIRECTORY && (flags & O_NOFOLLOW) == 0) in __hurd_file_name_lookup() 97 flags, mode, result); in __hurd_file_name_lookup() 108 (file_t dir, const char *name, int flags, mode_t mode, in weak_alias() 161 (file_t dir, const char *name, int flags, mode_t mode, in weak_alias() 221 __file_name_lookup (const char *file_name, int flags, mode_t mode) in weak_alias() 227 file_name, flags, mode & ~_hurd_umask, in weak_alias() 264 const char *file_name, int flags, mode_t mode) in weak_alias() [all …]
|
A D | xattr.c | 88 int flags) in _hurd_xattr_set() argument 108 if (flags & XATTR_REPLACE) in _hurd_xattr_set() 112 if (flags & XATTR_CREATE) in _hurd_xattr_set() 120 if (flags & (XATTR_CREATE|XATTR_REPLACE)) in _hurd_xattr_set() 128 if (flags & XATTR_REPLACE) in _hurd_xattr_set() 131 else if (flags & XATTR_CREATE) in _hurd_xattr_set() 143 if (flags & XATTR_REPLACE) in _hurd_xattr_set() 158 FS_TRANS_SET | ((flags & XATTR_CREATE) in _hurd_xattr_set()
|
A D | path-lookup.c | 93 (file_t dir, const char *name, int flags, mode_t mode, in __hurd_file_name_path_lookup() argument 97 int flags, mode_t mode, in __hurd_file_name_path_lookup() 104 name, flags, mode, result); in __hurd_file_name_path_lookup() 112 int flags, mode_t mode, char **prefixed_name) in strong_alias() 118 file_name, path, flags, mode, in strong_alias()
|
A D | lookup-at.c | 27 const char *file_name, int flags, mode_t mode) in __file_name_lookup_at() argument 35 err = __hurd_at_flags (&at_flags, &flags); in __file_name_lookup_at() 40 return __file_name_lookup (file_name, flags, mode); in __file_name_lookup_at() 47 err = HURD_DPORT_USE (fd, __dir_lookup (port, "", flags, mode, in __file_name_lookup_at() 54 flags, mode, &result); in __file_name_lookup_at() 70 flags, in __file_name_lookup_at()
|
A D | intern-fd.c | 27 _hurd_intern_fd (io_t port, int flags, int dealloc) in _hurd_intern_fd() argument 36 _hurd_port2fd (d, port, flags); in _hurd_intern_fd()
|
A D | hurd.h | 203 extern file_t __file_name_lookup (const char *file, int flags, mode_t mode); 204 extern file_t file_name_lookup (const char *file, int flags, mode_t mode); 212 int flags, mode_t mode); 214 int flags, mode_t mode); 227 int flags, mode_t mode, 237 extern int openport (io_t port, int flags); 274 extern void _hurd_init (int flags, char **argv,
|
A D | trampoline.c | 29 _hurd_setup_sighandler (int flags, in _hurd_setup_sighandler() argument
|
A D | lookup-retry.c | 52 int flags, mode_t mode, in __hurd_file_name_lookup_retry() argument 57 int flags, mode_t mode, in __hurd_file_name_lookup_retry() 77 return lookup_error ((*lookup) (startdir, file_name, flags, mode, in __hurd_file_name_lookup_retry() 129 if (flags & O_NOFOLLOW) in __hurd_file_name_lookup_retry() 153 if (flags & O_DIRECTORY && !S_ISDIR (st.st_mode)) in __hurd_file_name_lookup_retry() 181 if (!err && (flags & O_TRUNC)) in __hurd_file_name_lookup_retry() 314 flags, in __hurd_file_name_lookup_retry()
|
A D | new-fd.c | 37 d->flags = 0; in _hurd_new_fd()
|
A D | hurdstartup.h | 38 int flags; member
|
A D | hurdstartup.c | 83 &data.flags, in _hurd_startup() 92 if (err || in_bootstrap == MACH_PORT_NULL || (data.flags & EXEC_STACK_ARGS)) in _hurd_startup() 139 data.flags = 0; in _hurd_startup()
|
A D | hurdinit.c | 65 _hurd_init (int flags, char **argv, in _hurd_init() argument 71 _hurd_exec_flags = flags; in _hurd_init() 100 if (flags & EXEC_SECURE) in _hurd_init()
|
A D | Notes | 22 const char *path, int flags, mode_t mode, 27 file_t path_lookup (const char *path, int flags, mode_t mode);
|
A D | hurdexec.c | 181 if (d->flags & FD_CLOEXEC) in _hurd_exec_paths() 357 int flags; in _hurd_exec_paths() local 375 flags = 0; in _hurd_exec_paths() 382 flags |= EXEC_SIGTRAP; in _hurd_exec_paths() 384 err = __file_exec_paths (file, task, flags, in _hurd_exec_paths() 398 err = __file_exec (file, task, flags, in _hurd_exec_paths()
|
/hurd/hurd/ |
A D | lookup.h | 59 int flags, mode_t mode, 70 int flags, mode_t mode, 83 int flags, mode_t mode, 93 int flags, mode_t mode, 107 int flags, mode_t mode, 136 int flags, mode_t mode, 142 int flags, mode_t mode, 150 int flags, mode_t mode, 156 int flags, mode_t mode, 186 int flags, mode_t mode, [all …]
|
A D | fd.h | 37 int flags; /* fcntl flags; locked by port.lock. */ member 211 extern int __hurd_sockfail (int fd, int flags, error_t err); 215 __hurd_sockfail (int fd, int flags, error_t err) in __hurd_sockfail() argument 217 if (!(flags & MSG_NOSIGNAL) || err != EPIPE) in __hurd_sockfail() 227 extern void _hurd_port2fd (struct hurd_fd *fd, io_t port, int flags); 237 extern int _hurd_intern_fd (io_t port, int flags, int dealloc); 291 __hurd_at_flags (int *at_flags, int *flags) in __hurd_at_flags() argument 296 *flags |= (*at_flags & AT_SYMLINK_NOFOLLOW) ? O_NOLINK : 0; in __hurd_at_flags() 300 *flags &= ~O_NOLINK; in __hurd_at_flags() 304 *flags |= O_NOTRANS; in __hurd_at_flags() [all …]
|
A D | xattr.h | 28 const void *value, size_t size, int flags);
|