Home
last modified time | relevance | path

Searched refs:pflags (Results 1 – 25 of 59) sorted by relevance

123

/freebsd-13.1/usr.sbin/jls/
H A Djls.c99 pflags = jflags = jid = 0; in main()
114 pflags = (pflags & ~(PRINT_SKIP | PRINT_VERBOSE)) | in main()
118 pflags |= PRINT_JAIL_NAME; in main()
121 pflags = (pflags & ~PRINT_VERBOSE) | PRINT_NAMEVAL; in main()
124 pflags |= PRINT_QUOTED; in main()
127 pflags = (pflags & ~(PRINT_HEADER | PRINT_VERBOSE)) | in main()
131 pflags = (pflags & in main()
169 pflags |= PRINT_DEFAULT; in main()
184 pflags &= ~PRINT_VERBOSE; in main()
190 if (pflags & PRINT_SKIP) { in main()
[all …]
/freebsd-13.1/crypto/openssl/crypto/engine/
H A Deng_fat.c51 unsigned int *pflags = arg; in int_def_cb() local
55 *pflags |= ENGINE_METHOD_ALL; in int_def_cb()
57 *pflags |= ENGINE_METHOD_RSA; in int_def_cb()
59 *pflags |= ENGINE_METHOD_DSA; in int_def_cb()
61 *pflags |= ENGINE_METHOD_DH; in int_def_cb()
63 *pflags |= ENGINE_METHOD_EC; in int_def_cb()
65 *pflags |= ENGINE_METHOD_RAND; in int_def_cb()
67 *pflags |= ENGINE_METHOD_CIPHERS; in int_def_cb()
69 *pflags |= ENGINE_METHOD_DIGESTS; in int_def_cb()
73 *pflags |= ENGINE_METHOD_PKEY_METHS; in int_def_cb()
[all …]
/freebsd-13.1/sys/mips/mips/
H A Duma_machdep.c49 int pflags; in uma_small_alloc() local
53 pflags = malloc2vm_flags(wait) | VM_ALLOC_WIRED; in uma_small_alloc()
55 pflags &= ~(VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL); in uma_small_alloc()
56 pflags |= VM_ALLOC_NOWAIT; in uma_small_alloc()
61 pflags); in uma_small_alloc()
63 if (m == NULL && vm_page_reclaim_contig(pflags, 1, in uma_small_alloc()
/freebsd-13.1/contrib/netbsd-tests/fs/puffs/h_dtfs/
H A Ddtfs.c108 int pflags, detach, mntflags; in main() local
119 pflags = PUFFS_KFLAG_IAONDEMAND; in main()
126 pflags |= PUFFS_FLAG_BUILDPATH; in main()
135 pflags |= PUFFS_KFLAG_LOOKUP_FULLPNBUF; in main()
138 pflags &= ~PUFFS_KFLAG_IAONDEMAND; in main()
150 mp = getmntopts(optarg, puffsmopts, &mntflags, &pflags); in main()
167 pflags |= PUFFS_KFLAG_WTCACHE; in main()
174 if (pflags & PUFFS_FLAG_OPDUMP) in main()
214 pu = puffs_init(pops, _PATH_PUFFS, typename, &gdtm, pflags); in main()
/freebsd-13.1/sys/vm/
H A Dvm_kern.c189 wait = (pflags & VM_ALLOC_WAITOK) != 0; in kmem_alloc_contig_pages()
190 reclaim = (pflags & VM_ALLOC_NORECLAIM) == 0; in kmem_alloc_contig_pages()
192 pflags |= VM_ALLOC_NOWAIT; in kmem_alloc_contig_pages()
225 int pflags; in kmem_alloc_attr_domain() local
234 pflags = malloc2vm_flags(flags) | VM_ALLOC_WIRED; in kmem_alloc_attr_domain()
307 int pflags; in kmem_alloc_contig_domain() local
315 pflags = malloc2vm_flags(flags) | VM_ALLOC_WIRED; in kmem_alloc_contig_domain()
472 int pflags; in kmem_back_domain() local
478 pflags = malloc2vm_flags(flags) | VM_ALLOC_WIRED; in kmem_back_domain()
481 pflags |= VM_ALLOC_WAITFAIL; in kmem_back_domain()
[all …]
H A Dvm_page.h558 int pflags; in malloc2vm_flags() local
563 pflags = (malloc_flags & M_USE_RESERVE) != 0 ? VM_ALLOC_INTERRUPT : in malloc2vm_flags()
566 pflags |= VM_ALLOC_ZERO; in malloc2vm_flags()
568 pflags |= VM_ALLOC_NODUMP; in malloc2vm_flags()
570 pflags |= VM_ALLOC_NOWAIT; in malloc2vm_flags()
572 pflags |= VM_ALLOC_WAITOK; in malloc2vm_flags()
574 pflags |= VM_ALLOC_NORECLAIM; in malloc2vm_flags()
575 return (pflags); in malloc2vm_flags()
/freebsd-13.1/sys/netinet/libalias/
H A Dalias_ftp.c225 int hlen, tlen, dlen, pflags; in AliasHandleFtpOut() local
244 pflags = GetProtocolFlags(lnk); in AliasHandleFtpOut()
245 if (dlen <= MAX_MESSAGE_SIZE && !(pflags & WAIT_CRLF)) { in AliasHandleFtpOut()
273 pflags &= ~WAIT_CRLF; in AliasHandleFtpOut()
275 pflags |= WAIT_CRLF; in AliasHandleFtpOut()
276 SetProtocolFlags(lnk, pflags); in AliasHandleFtpOut()
285 int hlen, tlen, dlen, pflags; in AliasHandleFtpIn() local
303 pflags = GetProtocolFlags(lnk); in AliasHandleFtpIn()
323 pflags &= ~WAIT_CRLF; in AliasHandleFtpIn()
325 pflags |= WAIT_CRLF; in AliasHandleFtpIn()
[all …]
/freebsd-13.1/usr.bin/gcore/
H A Dgcore.c75 int pflags; variable
118 pc.pc_flags = (pflags & PFLAGS_FULL) != 0 ? PC_ALL : 0; in kcoredump()
149 pflags = 0; in main()
157 pflags |= PFLAGS_FULL; in main()
H A Dextern.h41 extern int pflags;
/freebsd-13.1/sys/x86/iommu/
H A Dintel_idpgtbl.c424 iommu_gaddr_t size, vm_page_t *ma, uint64_t pflags, int flags) in domain_map_buf_locked() argument
488 dmar_pte_store(&pte->pte, VM_PAGE_TO_PHYS(ma[pi]) | pflags | in domain_map_buf_locked()
505 uint64_t pflags; in domain_map_buf() local
535 KASSERT((pflags & (DMAR_PTE_R | DMAR_PTE_W)) != 0, in domain_map_buf()
536 ("neither read nor write %jx", (uintmax_t)pflags)); in domain_map_buf()
537 KASSERT((pflags & ~(DMAR_PTE_R | DMAR_PTE_W | DMAR_PTE_SNP | in domain_map_buf()
539 ("invalid pte flags %jx", (uintmax_t)pflags)); in domain_map_buf()
540 KASSERT((pflags & DMAR_PTE_SNP) == 0 || in domain_map_buf()
543 domain, (uintmax_t)pflags)); in domain_map_buf()
544 KASSERT((pflags & DMAR_PTE_TM) == 0 || in domain_map_buf()
[all …]
/freebsd-13.1/sys/net/
H A Dif_infiniband.c224 uint32_t *pflags, struct llentry **plle) in infiniband_resolve_addr() argument
283 *pflags = RT_MAY_LOOP; in infiniband_resolve_addr()
285 *pflags |= RT_L2_ME; in infiniband_resolve_addr()
303 uint32_t pflags; in infiniband_output() local
310 pflags = 0; in infiniband_output()
339 pflags = lle->r_flags; in infiniband_output()
365 error = infiniband_resolve_addr(ifp, m, dst, ro, phdr, &pflags, in infiniband_output()
373 if ((pflags & RT_L2_ME) != 0) { in infiniband_output()
387 if ((pflags & RT_HAS_HEADER) == 0) { in infiniband_output()
H A Dif_ethersubr.c202 uint32_t *pflags, struct llentry **plle) in ether_resolve_addr() argument
267 *pflags = RT_MAY_LOOP; in ether_resolve_addr()
269 *pflags |= RT_L2_ME; in ether_resolve_addr()
290 uint32_t pflags; in ether_output() local
295 pflags = 0; in ether_output()
324 pflags = lle->r_flags; in ether_output()
346 error = ether_resolve_addr(ifp, m, dst, ro, phdr, &pflags, in ether_output()
354 if ((pflags & RT_L2_ME) != 0) { in ether_output()
358 loop_copy = (pflags & RT_MAY_LOOP) != 0; in ether_output()
371 if ((pflags & RT_HAS_HEADER) == 0) { in ether_output()
/freebsd-13.1/sys/netpfil/ipfw/
H A Dip_fw_table_algo.c857 uint64_t *pflags) in ta_need_modify_radix() argument
990 uint64_t pflags);
1722 *pflags = data; in ta_need_modify_chash()
1780 uint64_t pflags) in ta_modify_chash() argument
2425 *pflags = size; in ta_need_modify_ifidx()
2443 mi->size = *pflags; in ta_prepare_mod_ifidx()
2465 *pflags = 0; in ta_fill_mod_ifidx()
2479 uint64_t pflags) in ta_modify_ifidx() argument
2882 *pflags = size; in ta_need_modify_numarray()
2900 mi->size = *pflags; in ta_prepare_mod_numarray()
[all …]
H A Dip_fw_table.h92 uint32_t count, uint64_t *pflags);
93 typedef int (ta_prepare_mod)(void *ta_buf, uint64_t *pflags);
95 void *ta_buf, uint64_t *pflags);
97 void *ta_buf, uint64_t pflags);
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dzfs_znode.h69 #define ZFS_ATTR_SET(zp, attr, value, pflags, tx) \ argument
72 pflags |= attr; \
74 pflags &= ~attr; \
76 &pflags, sizeof (pflags), tx)); \
/freebsd-13.1/crypto/openssh/
H A Dsftp-server.c254 if (pflags & SSH2_FXF_APPEND) in flags_from_portable()
256 if (pflags & SSH2_FXF_CREAT) in flags_from_portable()
258 if (pflags & SSH2_FXF_TRUNC) in flags_from_portable()
260 if (pflags & SSH2_FXF_EXCL) in flags_from_portable()
278 if (pflags & SSH2_FXF_READ) in string_from_portable()
280 if (pflags & SSH2_FXF_WRITE) in string_from_portable()
282 if (pflags & SSH2_FXF_APPEND) in string_from_portable()
284 if (pflags & SSH2_FXF_CREAT) in string_from_portable()
286 if (pflags & SSH2_FXF_TRUNC) in string_from_portable()
288 if (pflags & SSH2_FXF_EXCL) in string_from_portable()
[all …]
/freebsd-13.1/contrib/netbsd-tests/fs/common/
H A Dfstest_puffs.c251 int *pflags; in donewfs() local
265 pflags = &args->pta_pflags; in donewfs()
313 if (xread(sv[1], pflags, sizeof(*pflags)) != sizeof(*pflags)) in donewfs()
/freebsd-13.1/usr.bin/diff/
H A Ddiffreg.c1065 int *pflags) in change() argument
1073 skip_blanks = (*pflags & D_SKIPBLANKLINES); in change()
1106 *pflags &= ~D_HEADER; in change()
1133 dump_context_vec(f1, f2, *pflags); in change()
1135 dump_unified_vec(f1, f2, *pflags); in change()
1184 fetch(ixold, a, b, f1, '<', 1, *pflags); in change()
1187 fetch(ixnew, c, d, f2, '>', 0, *pflags); in change()
1200 print_space(0, hw + padding , *pflags); in change()
1203 print_space(nc, hw - nc + padding, *pflags); in change()
1207 fetch(ixnew, c, d, f2, '\0', 0, *pflags); in change()
[all …]
/freebsd-13.1/sys/netinet/
H A Dif_ether.c464 const struct sockaddr *dst, u_char *desten, uint32_t *pflags, in arpresolve_full() argument
476 if (pflags != NULL) in arpresolve_full()
477 *pflags = 0; in arpresolve_full()
526 if (pflags != NULL) in arpresolve_full()
527 *pflags = la->la_flags & (LLE_VALID|LLE_IFADDR); in arpresolve_full()
616 const struct sockaddr *dst, u_char *desten, uint32_t *pflags, in arpresolve() argument
623 if (pflags != NULL) in arpresolve()
624 *pflags = 0; in arpresolve()
646 if (pflags != NULL) in arpresolve()
647 *pflags = LLE_VALID | (la->r_flags & RLLE_IFADDR); in arpresolve()
[all …]
/freebsd-13.1/crypto/openssl/crypto/x509/
H A Dx509_cmp.c324 static int check_suite_b(EVP_PKEY *pkey, int sign_nid, unsigned long *pflags) in check_suite_b() argument
340 if (!(*pflags & X509_V_FLAG_SUITEB_192_LOS)) in check_suite_b()
343 *pflags &= ~X509_V_FLAG_SUITEB_128_LOS_ONLY; in check_suite_b()
347 if (!(*pflags & X509_V_FLAG_SUITEB_128_LOS_ONLY)) in check_suite_b()
/freebsd-13.1/usr.sbin/fmtree/
H A Dcreate.c286 statd(FTS *t, FTSENT *parent, uid_t *puid, gid_t *pgid, mode_t *pmode, u_long *pflags) in statd() argument
298 u_long saveflags = *pflags; in statd()
357 ((keys & F_FLAGS) && (*pflags != saveflags)) || in statd()
399 *pflags = saveflags; in statd()
/freebsd-13.1/sys/dev/iicbus/gpio/
H A Dpcf8574.c197 pcf8574_pin_getflags(device_t dev, uint32_t pin, uint32_t *pflags) in pcf8574_pin_getflags() argument
227 *pflags = GPIO_PIN_OUTPUT; in pcf8574_pin_getflags()
229 *pflags = GPIO_PIN_INPUT; in pcf8574_pin_getflags()
H A Dtca6416.c274 tca6416_pin_getflags(device_t dev, uint32_t pin, uint32_t *pflags) in tca6416_pin_getflags() argument
282 if (pin >= NUM_PINS || pflags == NULL) in tca6416_pin_getflags()
292 *pflags = (val & (1 << reg_bit)) in tca6416_pin_getflags()
302 *pflags |= GPIO_PIN_INVIN; in tca6416_pin_getflags()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode.c763 pflags = 0; in zfs_mknode()
779 pflags |= ZFS_XATTR; in zfs_mknode()
788 pflags |= ZFS_PROJID; in zfs_mknode()
795 pflags |= ZFS_PROJINHERIT; in zfs_mknode()
801 pflags |= acl_ids->z_aclp->z_hints & in zfs_mknode()
863 NULL, &pflags, 8); in zfs_mknode()
880 pflags & ZFS_PROJID) { in zfs_mknode()
891 NULL, &pflags, 8); in zfs_mknode()
937 (*zpp)->z_pflags = pflags; in zfs_mknode()
2036 uint64_t pflags; in zfs_obj_to_pobj() local
[all …]
/freebsd-13.1/contrib/mtree/
H A Dcompare.c118 #define SETFLAGS(pflags, mask) \ argument
120 flags = (s->st_flags & (mask)) | (pflags); \
128 #define CLEARFLAGS(pflags, mask) \ argument
130 flags = (~(s->st_flags & (mask)) & CH_MASK) & (pflags); \

123