Home
last modified time | relevance | path

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

12345678910>>...192

/freebsd/lib/libc/tests/gen/
H A Dfnmatch_test.c39 flags_to_string(int flags) in flags_to_string() argument
53 if (flags & flagvalues[i]) { in flags_to_string()
58 flags &= ~flagvalues[i]; in flags_to_string()
64 else if (flags != 0) in flags_to_string()
65 sprintf(p, "%d", flags); in flags_to_string()
75 int flags, result; in ATF_TC_BODY() local
80 flags = t->flags; in ATF_TC_BODY()
82 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
86 !(flags & FNM_NOESCAPE)) { in ATF_TC_BODY()
87 flags |= FNM_NOESCAPE; in ATF_TC_BODY()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dslab.h44 #define kmalloc(size, flags) lkpi_kmalloc(size, flags) argument
45 #define kvmalloc(size, flags) kmalloc(size, flags) argument
46 #define kvzalloc(size, flags) kmalloc(size, (flags) | __GFP_ZERO) argument
47 #define kvcalloc(n, size, flags) kvmalloc_array(n, size, (flags) | __GFP_ZERO) argument
48 #define kzalloc(size, flags) kmalloc(size, (flags) | __GFP_ZER argument
49 kzalloc_node(size,flags,node) global() argument
70 KMEM_CACHE(__struct,flags) global() argument
97 linux_check_m_flags(gfp_t flags) linux_check_m_flags() argument
112 __kmalloc(size_t size,gfp_t flags) __kmalloc() argument
119 kmalloc_node(size_t size,gfp_t flags,int node) kmalloc_node() argument
126 kcalloc(size_t n,size_t size,gfp_t flags) kcalloc() argument
133 kcalloc_node(size_t n,size_t size,gfp_t flags,int node) kcalloc_node() argument
141 __vmalloc(size_t size,gfp_t flags,int other) __vmalloc() argument
147 __vmalloc_node(size_t size,gfp_t flags,int node) __vmalloc_node() argument
160 kmalloc_array(size_t n,size_t size,gfp_t flags) kmalloc_array() argument
166 kmalloc_array_node(size_t n,size_t size,gfp_t flags,int node) kmalloc_array_node() argument
173 kvmalloc_array(size_t n,size_t size,gfp_t flags) kvmalloc_array() argument
179 krealloc(void * ptr,size_t size,gfp_t flags) krealloc() argument
185 krealloc_array(void * ptr,size_t n,size_t size,gfp_t flags) krealloc_array() argument
218 kvrealloc(const void * ptr,size_t oldsize,size_t newsize,gfp_t flags) kvrealloc() argument
[all...]
/freebsd/sys/kern/
H A Dsubr_scanf.c111 int flags; /* flags as defined above */ in vsscanf() local
144 flags = 0; in vsscanf()
162 flags |= SUPPRESS; in vsscanf()
165 flags |= INTMAXT; in vsscanf()
168 if (flags & LONG){ in vsscanf()
169 flags &= ~LONG; in vsscanf()
170 flags |= QUAD; in vsscanf()
172 flags |= LONG; in vsscanf()
176 flags |= QUAD; in vsscanf()
179 flags |= PTRDIFFT; in vsscanf()
[all …]
/freebsd/sys/dev/qat/qat_api/firmware/include/
H A Dicp_qat_fw_la.h554 #define ICP_QAT_FW_LA_CIPH_IV_FLD_FLAG_GET(flags) \ argument
555 QAT_FIELD_GET(flags, QAT_LA_CIPH_IV_FLD_BITPOS, QAT_LA_CIPH_IV_FLD_MASK)
569 #define ICP_QAT_FW_LA_CIPH_AUTH_CFG_OFFSET_FLAG_GET(flags) \ argument
570 QAT_FIELD_GET(flags, \
585 #define ICP_QAT_FW_LA_ZUC_3G_PROTO_FLAG_GET(flags) \ argument
586 QAT_FIELD_GET(flags, \
601 #define ICP_QAT_FW_LA_GCM_IV_LEN_FLAG_GET(flags) \ argument
602 QAT_FIELD_GET(flags, \
616 #define ICP_QAT_FW_LA_PROTO_GET(flags) \ argument
617 QAT_FIELD_GET(flags, QAT_LA_PROTO_BITPOS, QAT_LA_PROTO_MASK)
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dno_host_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
4 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
5 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
7 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo
8 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv echo
9 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv echo
10 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
11 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo
[all …]
H A Dbasics_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http
10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
[all …]
H A Dno_host_v4.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http
2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp
10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv tftp
11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv tftp
13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80
[all …]
H A Dbasics_v4.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http
10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv tftp
[all …]
/freebsd/lib/libc/stdio/
H A Dprintf-pos.c143 addsarg(struct typetable *types, int flags) in addsarg() argument
148 if (flags & INTMAXT) in addsarg()
150 else if (flags & SIZET) in addsarg()
152 else if (flags & PTRDIFFT) in addsarg()
154 else if (flags & LLONGINT) in addsarg()
156 else if (flags & LONGINT) in addsarg()
164 adduarg(struct typetable *types, int flags) in adduarg() argument
169 if (flags & INTMAXT) in adduarg()
171 else if (flags & SIZET) in adduarg()
173 else if (flags & PTRDIFFT) in adduarg()
[all …]
H A Dvfprintf.c312 int flags; /* flags as above */ in __vfprintf() local
404 (flags&LONGINT ? GETARG(long) : \ in __vfprintf()
405 flags&SHORTINT ? (long)(short)GETARG(int) : \ in __vfprintf()
406 flags&CHARINT ? (long)(signed char)GETARG(int) : \ in __vfprintf()
409 (flags&LONGINT ? GETARG(u_long) : \ in __vfprintf()
410 flags&SHORTINT ? (u_long)(u_short)GETARG(int) : \ in __vfprintf()
411 flags&CHARINT ? (u_long)(u_char)GETARG(int) : \ in __vfprintf()
415 (flags&INTMAXT ? GETARG(intmax_t) : \ in __vfprintf()
416 flags&SIZET ? (intmax_t)GETARG(ssize_t) : \ in __vfprintf()
417 flags&PTRDIFFT ? (intmax_t)GETARG(ptrdiff_t) : \ in __vfprintf()
[all …]
H A Dvfwprintf.c390 int flags; /* flags as above */ in __vfwprintf() local
478 (flags&LONGINT ? GETARG(long) : \ in __vfwprintf()
479 flags&SHORTINT ? (long)(short)GETARG(int) : \ in __vfwprintf()
480 flags&CHARINT ? (long)(signed char)GETARG(int) : \ in __vfwprintf()
483 (flags&LONGINT ? GETARG(u_long) : \ in __vfwprintf()
484 flags&SHORTINT ? (u_long)(u_short)GETARG(int) : \ in __vfwprintf()
485 flags&CHARINT ? (u_long)(u_char)GETARG(int) : \ in __vfwprintf()
489 (flags&INTMAXT ? GETARG(intmax_t) : \ in __vfwprintf()
490 flags&SIZET ? (intmax_t)GETARG(ssize_t) : \ in __vfwprintf()
491 flags&PTRDIFFT ? (intmax_t)GETARG(ptrdiff_t) : \ in __vfwprintf()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dispell17 >2 leshort 0x00 8-bit, no capitalization, 26 flags
18 >2 leshort 0x01 7-bit, no capitalization, 26 flags
19 >2 leshort 0x02 8-bit, capitalization, 26 flags
20 >2 leshort 0x03 7-bit, capitalization, 26 flags
21 >2 leshort 0x04 8-bit, no capitalization, 52 flags
22 >2 leshort 0x05 7-bit, no capitalization, 52 flags
23 >2 leshort 0x06 8-bit, capitalization, 52 flags
24 >2 leshort 0x07 7-bit, capitalization, 52 flags
25 >2 leshort 0x08 8-bit, no capitalization, 128 flags
26 >2 leshort 0x09 7-bit, no capitalization, 128 flags
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/BlocksRuntime/
H A Druntime.c285 static void *_Block_copy_internal(const void *arg, const int flags) { in _Block_copy_internal() argument
287 const bool wantsOne = (WANTS_ONE & flags) == WANTS_ONE; in _Block_copy_internal()
295 if (aBlock->flags & BLOCK_NEEDS_FREE) { in _Block_copy_internal()
297 latching_incr_int(&aBlock->flags); in _Block_copy_internal()
300 else if (aBlock->flags & BLOCK_IS_GC) { in _Block_copy_internal()
302 if (wantsOne && ((latching_incr_int(&aBlock->flags) & BLOCK_REFCOUNT_MASK) == 1)) { in _Block_copy_internal()
308 else if (aBlock->flags & BLOCK_IS_GLOBAL) { in _Block_copy_internal()
318 result->flags &= ~(BLOCK_REFCOUNT_MASK); // XXX not needed in _Block_copy_internal()
319 result->flags |= BLOCK_NEEDS_FREE | 1; in _Block_copy_internal()
321 if (result->flags & BLOCK_HAS_COPY_DISPOSE) { in _Block_copy_internal()
[all …]
/freebsd/share/dtrace/
H A Dmbuf.d89 inline string mbufflags_string[uint32_t flags] =
90 flags & M_EXT ? "M_EXT" :
91 flags & M_PKTHDR ? "M_PKTHDR" :
92 flags & M_EOR ? "M_EOR" :
93 flags & M_RDONLY ? "M_RDONLY" :
94 flags & M_BCAST ? "M_BCAST" :
95 flags & M_MCAST ? "M_MCAST" :
96 flags & M_PROMISC ? "M_PROMISC" :
97 flags & M_VLANTAG ? "M_VLANTAG" :
98 flags & M_EXTPG ? "M_EXTPG" :
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dvfscanf.c120 register int flags; /* flags as defined above */ local
184 flags = 0;
205 flags |= SUPPRESS;
208 flags |= SHORT;
214 flags |= QUAD;
218 flags |= LONG;
222 flags |= QUAD;
239 flags |= LONG;
254 flags |= LONG;
270 flags |= PFXOK; /* enable 0x prefixing */
[all …]
/freebsd/sys/contrib/zlib/
H A Dzutil.c32 uLong flags; in zlibCompileFlags() local
34 flags = 0; in zlibCompileFlags()
37 case 4: flags += 1; break; in zlibCompileFlags()
38 case 8: flags += 2; break; in zlibCompileFlags()
39 default: flags += 3; in zlibCompileFlags()
43 case 4: flags += 1 << 2; break; in zlibCompileFlags()
44 case 8: flags += 2 << 2; break; in zlibCompileFlags()
45 default: flags += 3 << 2; in zlibCompileFlags()
49 case 4: flags += 1 << 4; break; in zlibCompileFlags()
50 case 8: flags += 2 << 4; break; in zlibCompileFlags()
[all …]
/freebsd/sys/libkern/
H A Dfnmatch.c54 fnmatch(const char *pattern, const char *string, int flags) in fnmatch() argument
63 if ((flags & FNM_LEADING_DIR) && *string == '/') in fnmatch()
69 if (*string == '/' && (flags & FNM_PATHNAME)) in fnmatch()
71 if (*string == '.' && (flags & FNM_PERIOD) && in fnmatch()
73 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
83 if (*string == '.' && (flags & FNM_PERIOD) && in fnmatch()
85 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
90 if (flags & FNM_PATHNAME) in fnmatch()
91 return ((flags & FNM_LEADING_DIR) || in fnmatch()
96 else if (c == '/' && flags & FNM_PATHNAME) { in fnmatch()
[all …]
/freebsd/contrib/elftoolchain/libelf/
H A Delf_flag.c34 elf_flagarhdr(Elf_Arhdr *a, Elf_Cmd c, unsigned int flags) in elf_flagarhdr() argument
42 (flags & ~ELF_F_DIRTY) != 0) { in elf_flagarhdr()
48 r = a->ar_flags |= flags; in elf_flagarhdr()
50 r = a->ar_flags &= ~flags; in elf_flagarhdr()
56 elf_flagdata(Elf_Data *d, Elf_Cmd c, unsigned int flags) in elf_flagdata() argument
65 (flags & ~ELF_F_DIRTY) != 0) { in elf_flagdata()
73 r = ld->d_flags |= flags; in elf_flagdata()
75 r = ld->d_flags &= ~flags; in elf_flagdata()
81 elf_flagehdr(Elf *e, Elf_Cmd c, unsigned int flags) in elf_flagehdr() argument
90 (e->e_kind != ELF_K_ELF) || (flags & ~ELF_F_DIRTY) != 0 || in elf_flagehdr()
[all …]
/freebsd/sbin/pfctl/tests/files/
H A Dpf0081.ok3 pass inet6 from (lo0) to ::1 flags S/SA keep state
4 pass inet6 from (lo0) to ::2 flags S/SA keep state
5 pass inet6 from (lo0) to ::3 flags S/SA keep state
6 pass inet from (lo0) to 0.0.0.1 flags S/SA keep state
7 pass inet from (lo0) to 0.0.0.2 flags S/SA keep state
8 pass inet from (lo0) to 0.0.0.3 flags S/SA keep state
9 pass from <foo> to <bar1> flags S/SA keep state
10 pass from <foo> to <bar2> flags S/SA keep state
11 pass from <foo> to <bar3> flags S/SA keep state
12 pass inet6 from <foo> to ::1 flags S/SA keep state
[all …]
/freebsd/usr.sbin/jail/
H A Dstate.c41 static void dep_add(struct cfjail *from, struct cfjail *to, unsigned flags);
45 static struct cfjail *running_jail(const char *name, int flags);
76 j->flags |= JF_FAILED; in dep_setup()
96 if (j->flags & JF_FAILED) in dep_setup()
108 j->flags |= JF_FAILED; in dep_setup()
137 j->flags |= JF_FAILED; in dep_setup()
145 d->flags &= ~DF_SEEN; in dep_setup()
166 if ((rev = JF_DO_STOP(j->flags))) { in dep_check()
174 if (d->flags & DF_SEEN) in dep_check()
177 if (dj->flags & JF_FAILED) { in dep_check()
[all …]
/freebsd/sys/dev/drm2/ttm/
H A Dttm_lock.c52 lock->flags = 0; in ttm_lock_init()
84 if (lock->rw >= 0 && lock->flags == 0) { in __ttm_read_lock()
95 int flags, ret; in ttm_read_lock() local
99 flags = PCATCH; in ttm_read_lock()
102 flags = 0; in ttm_read_lock()
107 ret = -msleep(lock, &lock->lock, flags, wmsg, 0); in ttm_read_lock()
126 if (lock->rw >= 0 && lock->flags == 0) { in __ttm_read_trylock()
130 } else if (lock->flags == 0) { in __ttm_read_trylock()
140 int flags, ret; in ttm_read_trylock() local
145 flags = PCATCH; in ttm_read_trylock()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.h58 uint32_t flags; variable
61 BlockFlags(uint32_t flags) : flags(flags) {} in BlockFlags() argument
62 BlockFlags() : flags(0) {} in BlockFlags()
63 BlockFlags(BlockLiteralFlags flag) : flags(flag) {} in BlockFlags()
64 BlockFlags(BlockByrefFlags flag) : flags(flag) {} in BlockFlags()
66 uint32_t getBitMask() const { return flags; } in getBitMask()
67 bool empty() const { return flags == 0; } in empty()
70 return BlockFlags(l.flags | r.flags);
73 l.flags |= r.flags;
77 return (l.flags & r.flags);
[all …]
/freebsd/usr.bin/uname/
H A Duname.c83 u_int flags; in main() local
87 flags = 0; in main()
92 flags |= (MFLAG | NFLAG | RFLAG | SFLAG | VFLAG); in main()
95 flags |= BFLAG; in main()
98 flags |= IFLAG; in main()
101 flags |= KFLAG; in main()
104 flags |= MFLAG; in main()
107 flags |= NFLAG; in main()
110 flags |= PFLAG; in main()
113 flags |= RFLAG; in main()
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_iwcm.c287 unsigned long flags; in iw_cm_disconnect() local
294 !test_bit(IWCM_F_CONNECT_WAIT, &cm_id_priv->flags)); in iw_cm_disconnect()
296 spin_lock_irqsave(&cm_id_priv->lock, flags); in iw_cm_disconnect()
326 spin_unlock_irqrestore(&cm_id_priv->lock, flags); in iw_cm_disconnect()
354 unsigned long flags; in destroy_cm_id() local
362 !test_bit(IWCM_F_CONNECT_WAIT, &cm_id_priv->flags)); in destroy_cm_id()
368 set_bit(IWCM_F_DROP_EVENTS, &cm_id_priv->flags); in destroy_cm_id()
370 spin_lock_irqsave(&cm_id_priv->lock, flags); in destroy_cm_id()
374 spin_unlock_irqrestore(&cm_id_priv->lock, flags); in destroy_cm_id()
377 spin_lock_irqsave(&cm_id_priv->lock, flags); in destroy_cm_id()
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dx509_trust.c18 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags);
19 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags);
20 static int trust_compat(X509_TRUST *trust, X509 *x, int flags);
22 static int obj_trust(int id, X509 *x, int flags);
23 static int (*default_trust) (int id, X509 *x, int flags) = obj_trust;
65 int X509_check_trust(X509 *x, int id, int flags) in X509_check_trust() argument
73 flags | X509_TRUST_DO_SS_COMPAT); in X509_check_trust()
76 return default_trust(id, x, flags); in X509_check_trust()
78 return pt->check_trust(pt, x, flags); in X509_check_trust()
123 int X509_TRUST_add(int id, int flags, int (*ck) (X509_TRUST *, X509 *, int), in X509_TRUST_add() argument
[all …]

12345678910>>...192