Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 518) sorted by relevance

12345678910>>...21

/glibc-2.36/hurd/
Dhurdlock.h34 #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
41 (vm_offset_t)ptr, val, 0, mlsec, flags | GSYNC_TIMED)
44 #define __lll_timed_wait_intr(ptr, val, mlsec, flags) \ argument
46 (vm_offset_t)ptr, val, 0, mlsec, flags | GSYNC_TIMED)
49 #define __lll_timed_xwait(ptr, lo, hi, mlsec, flags) \ argument
51 lo, hi, mlsec, flags | GSYNC_TIMED | GSYNC_QUAD)
75 #define lll_robust_lock(var, flags) \ argument
76 __lll_robust_lock (&(var), flags)
[all …]
Dhurdlock.c48 const struct timespec *tsp, int flags, int clk) in __lll_abstimed_wait() argument
54 return mlsec < 0 ? KERN_TIMEDOUT : __lll_timed_wait (ptr, val, mlsec, flags); in __lll_abstimed_wait()
59 const struct timespec *tsp, int flags, int clk) in __lll_abstimed_wait_intr() argument
65 return mlsec < 0 ? KERN_TIMEDOUT : __lll_timed_wait_intr (ptr, val, mlsec, flags); in __lll_abstimed_wait_intr()
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
98 if (mlsec < 0 || __lll_timed_wait (ptr, 2, mlsec, flags) == KERN_TIMEDOUT) in __lll_abstimed_lock()
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()
[all …]
Dhurdlookup.c45 (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()
58 return lookup_error ((*lookup) (startdir, file_name, flags, mode, in __hurd_file_name_lookup()
72 if (flags & O_NOFOLLOW) /* See lookup-retry.c about O_NOFOLLOW. */ 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()
[all …]
/glibc-2.36/stdlib/
Dtst-getrandom.c33 test_length (char *buffer, size_t length, unsigned int flags) in test_length() argument
37 ssize_t ret = getrandom (buffer, length, flags); in test_length()
42 if ((flags & GRND_RANDOM) in test_length()
43 && (flags & GRND_NONBLOCK) in test_length()
46 printf ("error: getrandom (%zu, 0x%x): %m\n", length, flags); in test_length()
52 if (flags & GRND_RANDOM) in test_length()
57 length, flags, ret); in test_length()
64 length, flags, ret); in test_length()
78 length, flags); in test_length()
85 length, flags); in test_length()
[all …]
/glibc-2.36/mach/
Dlowlevellock.h48 int flags
53 #define __lll_wait(ptr, val, flags) \ argument
55 (vm_offset_t)(ptr), (val), 0, 0, (flags))
56 #define lll_wait(var, val, flags) \ argument
57 __lll_wait (&(var), val, flags)
60 #define __lll_wait_intr(ptr, val, flags) \ argument
62 (vm_offset_t)(ptr), (val), 0, 0, (flags))
63 #define lll_wait_intr(var, val, flags) \ argument
64 __lll_wait_intr ((&var), val, flags)
67 #define __lll_wake(ptr, flags) \ argument
[all …]
/glibc-2.36/stdio-common/
Dvfscanf-internal.c286 int flags; /* Modifiers for current format element. */ in __vfwscanf_internal() local
479 flags = 0; in __vfwscanf_internal()
508 flags |= SUPPRESS; in __vfwscanf_internal()
516 flags |= GROUP; in __vfwscanf_internal()
519 flags |= I18N; in __vfwscanf_internal()
539 flags |= CHAR; in __vfwscanf_internal()
542 flags |= SHORT; in __vfwscanf_internal()
549 flags |= LONGDBL | LONG; in __vfwscanf_internal()
553 flags |= LONG; in __vfwscanf_internal()
558 flags |= LONGDBL | LONG; in __vfwscanf_internal()
[all …]
/glibc-2.36/posix/
Dglob.c100 static const char *next_brace_sub (const char *begin, int flags) __THROWNL;
206 glob_lstat (glob_t *pglob, int flags, const char *fullname) in glob_lstat() argument
215 return (__glibc_unlikely (flags & GLOB_ALTDIRFUNC) in glob_lstat()
245 int flags, int (*errfunc) (const char *, int),
254 is_dir (char const *filename, int flags, glob_t const *pglob) in is_dir() argument
258 return (__glibc_unlikely (flags & GLOB_ALTDIRFUNC) in is_dir()
266 next_brace_sub (const char *cp, int flags) in next_brace_sub() argument
270 if ((flags & GLOB_NOESCAPE) == 0 && *cp == '\\') in next_brace_sub()
302 __glob (const char *pattern, int flags, int (*errfunc) (const char *, int), in __glob() argument
317 if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0) in __glob()
[all …]
Dfnmatch_loop.c32 const CHAR *string_end, bool no_leading_period, int flags,
35 const CHAR *string_end, bool no_leading_period, int flags);
40 bool no_leading_period, int flags, struct STRUCT *ends) in FCT() argument
62 if (__glibc_unlikely (flags & FNM_EXTMATCH) && *p == '(') in FCT()
64 int res = EXT (c, p, n, string_end, no_leading_period, flags); in FCT()
71 else if (*n == L_('/') && (flags & FNM_FILE_NAME)) in FCT()
78 if (!(flags & FNM_NOESCAPE)) in FCT()
91 if (__glibc_unlikely (flags & FNM_EXTMATCH) && *p == '(') in FCT()
93 int res = EXT (c, p, n, string_end, no_leading_period, flags); in FCT()
110 if (*p == L_('(') && (flags & FNM_EXTMATCH) != 0) in FCT()
[all …]
Dtst-fnmatch.c32 static char *flag_output (int flags);
66 const char *flags; in do_test() local
109 flags = next_input (&cp, 0, 1); in do_test()
110 if (flags == NULL) in do_test()
112 flags = ""; in do_test()
115 flags_val = convert_flags (flags); in do_test()
300 flag_output (int flags) in flag_output() argument
306 if (flags & FNM_PATHNAME) in flag_output()
311 if (flags & FNM_NOESCAPE) in flag_output()
318 if (flags & FNM_PERIOD) in flag_output()
[all …]
/glibc-2.36/inet/
Dgetnameinfo.c234 char *host, socklen_t hostlen, int flags) in gni_host_inet_name() argument
290 if (flags & NI_NOFQDN) in gni_host_inet_name()
303 bool do_idn = flags & NI_IDN; in gni_host_inet_name()
335 char *host, socklen_t hostlen, int flags) in gni_host_inet_numeric() argument
377 char *host, socklen_t hostlen, int flags) in gni_host_inet() argument
379 if (!(flags & NI_NUMERICHOST)) in gni_host_inet()
382 (tmpbuf, sa, addrlen, host, hostlen, flags); in gni_host_inet()
387 if (flags & NI_NAMEREQD) in gni_host_inet()
391 (tmpbuf, sa, addrlen, host, hostlen, flags); in gni_host_inet()
398 char *host, socklen_t hostlen, int flags) in gni_host_local() argument
[all …]
/glibc-2.36/io/
Dtst-close_range.c58 close_range_test_common (int lowfd, unsigned int flags) in close_range_test_common() argument
65 TEST_COMPARE (close_range (lowfd, half_fd, flags), 0); in close_range_test_common()
82 TEST_COMPARE (close_range (half_fd + 1, gap_1, flags), 0); in close_range_test_common()
92 TEST_COMPARE (close_range (gap_1 + 1, maximum_fd - 1, flags), 0); in close_range_test_common()
101 TEST_COMPARE (close_range (maximum_fd, maximum_fd, flags), 0); in close_range_test_common()
237 int flags = fcntl (i, F_GETFD); in close_range_cloexec_test() local
238 TEST_VERIFY (flags > -1); in close_range_cloexec_test()
239 TEST_COMPARE (flags & FD_CLOEXEC, FD_CLOEXEC); in close_range_cloexec_test()
252 int flags = fcntl (i, F_GETFD); in close_range_cloexec_test() local
254 TEST_COMPARE (flags, -1); in close_range_cloexec_test()
[all …]
Dtst-open-tmpfile.c39 wrap_open (const char *path, int flags, mode_t mode) in wrap_open() argument
41 int ret = open (path, flags, mode); in wrap_open()
44 printf ("error: open (\"%s\", 0x%x, 0%03o): %m\n", path, flags, mode); in wrap_open()
53 wrap_openat (const char *path, int flags, mode_t mode) in wrap_openat() argument
55 int ret = openat (AT_FDCWD, path, flags, mode); in wrap_openat()
58 printf ("error: openat (\"%s\", 0x%x, 0%03o): %m\n", path, flags, mode); in wrap_openat()
67 wrap_open64 (const char *path, int flags, mode_t mode) in wrap_open64() argument
69 int ret = open64 (path, flags, mode); in wrap_open64()
72 printf ("error: open64 (\"%s\", 0x%x, 0%03o): %m\n", path, flags, mode); in wrap_open64()
81 wrap_openat64 (const char *path, int flags, mode_t mode) in wrap_openat64() argument
[all …]
Dftw.c188 int flags; member
362 if (data->flags & FTW_CHDIR) in open_dir_stream()
415 (data->flags & FTW_PHYS) ? AT_SYMLINK_NOFOLLOW : 0); in process_entry()
418 if ((data->flags & FTW_CHDIR) == 0) in process_entry()
421 statres = ((data->flags & FTW_PHYS) in process_entry()
430 else if (data->flags & FTW_PHYS) in process_entry()
461 || !(data->flags & FTW_MOUNT) || st.st_dev == data->dev)) in process_entry()
465 if ((data->flags & FTW_PHYS) in process_entry()
476 if ((data->flags & FTW_ACTIONRETVAL) && result == FTW_SKIP_SUBTREE) in process_entry()
507 if (!(data->flags & FTW_DEPTH)) in ftw_dir()
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-memfd_create.c35 int flags = fcntl (fd, F_GETFD); in is_cloexec() local
36 TEST_VERIFY (flags >= 0); in is_cloexec()
37 return flags & FD_CLOEXEC; in is_cloexec()
44 int flags = fcntl (fd, F_GET_SEALS); in get_seals() local
45 TEST_VERIFY (flags >= 0); in get_seals()
46 return flags; in get_seals()
68 int flags = 0; in do_test() local
70 flags |= MFD_CLOEXEC; in do_test()
72 flags |= MFD_ALLOW_SEALING; in do_test()
74 printf ("info: memfd_create with flags=0x%x\n", flags); in do_test()
[all …]
Dtimer_settime.c28 ___timer_settime64 (timer_t timerid, int flags, in ___timer_settime64() argument
38 return INLINE_SYSCALL_CALL (timer_settime64, ktimerid, flags, value, in ___timer_settime64()
42 int ret = INLINE_SYSCALL_CALL (timer_settime64, ktimerid, flags, value, in ___timer_settime64()
59 int retval = INLINE_SYSCALL_CALL (timer_settime, ktimerid, flags, in ___timer_settime64()
82 __timer_settime (timer_t timerid, int flags, const struct itimerspec *value, in __timer_settime() argument
91 retval = __timer_settime64 (timerid, flags, &its64, ovalue ? &oits64 : NULL); in __timer_settime()
113 ___timer_settime_new (timer_t timerid, int flags, in libc_hidden_proto()
119 return INLINE_SYSCALL_CALL (timer_settime, ktimerid, flags, value, ovalue); in libc_hidden_proto()
130 __timer_settime_old (int timerid, int flags, const struct itimerspec *value, in __timer_settime_old() argument
133 return __timer_settime_new (__timer_compat_list[timerid], flags, in __timer_settime_old()
Dutimensat.c29 const struct __timespec64 tsp64[2], int flags) in __utimensat64_helper() argument
36 return INLINE_SYSCALL_CALL (utimensat_time64, fd, file, &tsp64[0], flags); in __utimensat64_helper()
50 flags); in __utimensat64_helper()
65 return INLINE_SYSCALL_CALL (utimensat, fd, file, ptsp32, flags); in __utimensat64_helper()
76 int flags) in libc_hidden_def()
81 return __utimensat64_helper (fd, file, &tsp64[0], flags); in libc_hidden_def()
89 int flags) in libc_hidden_def()
98 return __utimensat64 (fd, file, tsp ? &tsp64[0] : NULL, flags); in libc_hidden_def()
Darch-fork.h37 const int flags = CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD; in arch_fork() local
41 ret = INLINE_CLONE_SYSCALL (flags, 0, NULL, 0, ctid); in arch_fork()
43 ret = INLINE_SYSCALL_CALL (clone, flags, 0, NULL, 0, ctid); in arch_fork()
46 ret = INLINE_SYSCALL_CALL (clone, 0, flags, NULL, ctid, 0); in arch_fork()
48 ret = INLINE_SYSCALL_CALL (clone, flags, 0, 0, NULL, ctid, 0); in arch_fork()
50 ret = INLINE_SYSCALL_CALL (clone2, flags, 0, 0, NULL, ctid, 0); in arch_fork()
52 ret = INLINE_SYSCALL_CALL (clone, flags, 0, NULL, ctid, 0); in arch_fork()
/glibc-2.36/resolv/
Dtst-resolv-ai_idn-nolibidn2.c102 int flags = 0; in gni_tests() local
104 flags |= NI_IDN; in gni_tests()
106 gni_test (gni_non_idn_name, flags, "non-idn.example"); in gni_tests()
107 gni_test (gni_non_idn_name, flags | NI_NUMERICHOST, "192.0.2.0"); in gni_tests()
108 gni_test (gni_non_idn_cname_to_non_idn_name, flags, in gni_tests()
110 gni_test (gni_non_idn_cname_to_idn_name, flags, in gni_tests()
112 gni_test (gni_idn_name, flags, NAEMCHEN_IDNA ".example"); in gni_tests()
113 gni_test (gni_idn_cname_to_non_idn_name, flags, "non-idn-name.example"); in gni_tests()
114 gni_test (gni_idn_cname_to_idn_name, flags, in gni_tests()
118 gni_test (gni_invalid_idn_1, flags, "xn---.example"); in gni_tests()
[all …]
/glibc-2.36/elf/
Ddl-lookup.c63 const int flags, in ElfW()
148 >= ((flags & DL_LOOKUP_RETURN_NEWEST) ? 2 : 3)) in ElfW()
189 mark_nodelete (struct link_map *map, int flags) in mark_nodelete() argument
191 if (flags & DL_LOOKUP_FOR_RELOCATE) in mark_nodelete()
200 is_nodelete (struct link_map *map, int flags) in is_nodelete() argument
205 || ((flags & DL_LOOKUP_FOR_RELOCATE) && map->l_nodelete_pending); in is_nodelete()
216 int flags) in do_lookup_unique() argument
319 if (map->l_type == lt_loaded && !is_nodelete (map, flags)) in do_lookup_unique()
327 mark_nodelete (map, flags); in do_lookup_unique()
346 const struct r_found_version *const version, int flags, in do_lookup_x() argument
[all …]
Ddl-audit.c158 unsigned int flags = altvalue | LA_SYMB_DLSYM; in _dl_audit_symbind_alt() local
162 &flags, strtab + ref->st_name); in _dl_audit_symbind_alt()
208 assert (DL_NNS * 2 <= sizeof (reloc_result->flags) * 8); in rtld_hidden_def()
214 unsigned int flags = 0; in rtld_hidden_def() local
227 flags |= for_jmp_slot ? LA_SYMB_NOPLTENTER | LA_SYMB_NOPLTEXIT in rtld_hidden_def()
231 &result_state->cookie, &flags, in rtld_hidden_def()
235 flags |= LA_SYMB_ALTVALUE; in rtld_hidden_def()
243 enterexit &= flags & (LA_SYMB_NOPLTENTER | LA_SYMB_NOPLTEXIT); in rtld_hidden_def()
244 enterexit |= ((flags & (LA_SYMB_NOPLTENTER | LA_SYMB_NOPLTEXIT)) in rtld_hidden_def()
258 reloc_result->flags = flags; in rtld_hidden_def()
[all …]
/glibc-2.36/hurd/hurd/
Dlookup.h55 (file_t dir, const char *name, int flags, mode_t mode,
59 int flags, mode_t mode,
66 (file_t dir, const char *name, 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,
117 int flags, mode_t mode,
136 int flags, mode_t mode,
142 int flags, mode_t mode,
[all …]
/glibc-2.36/sysdeps/generic/
Ddl-cache.h33 # define _dl_cache_check_flags(flags) \ argument
34 ((flags) == 1 || (flags) == _DL_CACHE_DEFAULT_ID)
69 int32_t flags; /* This is 1 for an ELF library. */ member
94 int32_t flags; /* This is 1 for an ELF library. */ member
170 uint8_t flags; member
194 return cache->flags == 0 in cache_file_new_matches_endian()
195 || ((cache->flags & cache_file_new_flags_endian_big) in cache_file_new_matches_endian()
235 uint32_t flags; member
267 uint32_t flags; member
293 hwcaps->flags = 0; in cache_extension_verify()
[all …]
/glibc-2.36/sysdeps/mach/hurd/htl/
Dpt-mutex-lock.c30 int flags = mtxp->__flags & GSYNC_SHARED; in __pthread_mutex_lock() local
36 lll_lock (mtxp->__lock, flags); in __pthread_mutex_lock()
41 if (mtx_owned_p (mtxp, self, flags)) in __pthread_mutex_lock()
50 lll_lock (mtxp->__lock, flags); in __pthread_mutex_lock()
51 mtx_set_owner (mtxp, self, flags); in __pthread_mutex_lock()
57 if (mtx_owned_p (mtxp, self, flags)) in __pthread_mutex_lock()
60 lll_lock (mtxp->__lock, flags); in __pthread_mutex_lock()
61 mtx_set_owner (mtxp, self, flags); in __pthread_mutex_lock()
68 ROBUST_LOCK (self, mtxp, lll_robust_lock, flags); in __pthread_mutex_lock()
Dpt-mutex-timedlock.c32 int ret, flags = mtxp->__flags & GSYNC_SHARED; in __pthread_mutex_clocklock() local
37 ret = lll_abstimed_lock (mtxp->__lock, tsp, flags, clockid); in __pthread_mutex_clocklock()
42 if (mtx_owned_p (mtxp, self, flags)) in __pthread_mutex_clocklock()
50 else if ((ret = lll_abstimed_lock (mtxp->__lock, tsp, flags, clockid)) == 0) in __pthread_mutex_clocklock()
52 mtx_set_owner (mtxp, self, flags); in __pthread_mutex_clocklock()
60 if (mtx_owned_p (mtxp, self, flags)) in __pthread_mutex_clocklock()
62 else if ((ret = lll_abstimed_lock (mtxp->__lock, tsp, flags, clockid)) == 0) in __pthread_mutex_clocklock()
63 mtx_set_owner (mtxp, self, flags); in __pthread_mutex_clocklock()
71 ROBUST_LOCK (self, mtxp, lll_robust_abstimed_lock, tsp, flags, clockid); in __pthread_mutex_clocklock()
/glibc-2.36/sysdeps/mach/hurd/
Dmremap.c33 __mremap (void *addr, size_t old_len, size_t new_len, int flags, ...) in __mremap() argument
49 if ((flags & ~(MREMAP_MAYMOVE | MREMAP_FIXED)) || in __mremap()
50 ((flags & MREMAP_FIXED) && !(flags & MREMAP_MAYMOVE)) || in __mremap()
51 (old_len == 0 && !(flags & MREMAP_MAYMOVE))) in __mremap()
54 if (flags & MREMAP_FIXED) in __mremap()
57 va_start (arg, flags); in __mremap()
82 if ((flags & MREMAP_FIXED) && in __mremap()
92 if (old_len != 0 && !(flags & MREMAP_FIXED)) in __mremap()
144 if (!(flags & MREMAP_MAYMOVE)) in __mremap()
156 if (err == KERN_NO_SPACE && (flags & MREMAP_FIXED)) in __mremap()

12345678910>>...21