Home
last modified time | relevance | path

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

123

/freebsd-12.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-12.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-12.1/sys/mips/mips/
H A Duma_machdep.c52 int pflags; in uma_small_alloc() local
56 pflags = malloc2vm_flags(wait) | VM_ALLOC_WIRED; in uma_small_alloc()
58 pflags &= ~(VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL); in uma_small_alloc()
59 pflags |= VM_ALLOC_NOWAIT; in uma_small_alloc()
64 pflags); in uma_small_alloc()
66 if (m == NULL && vm_page_reclaim_contig(pflags, 1, in uma_small_alloc()
/freebsd-12.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-12.1/sys/vm/
H A Dvm_kern.c186 int pflags, tries; in kmem_alloc_attr_domain() local
194 pflags = malloc2vm_flags(flags) | VM_ALLOC_NOBUSY | VM_ALLOC_WIRED; in kmem_alloc_attr_domain()
196 pflags |= VM_ALLOC_NOWAIT; in kmem_alloc_attr_domain()
203 domain, pflags, 1, low, high, PAGE_SIZE, 0, memattr); in kmem_alloc_attr_domain()
208 pflags, 1, low, high, PAGE_SIZE, 0) && in kmem_alloc_attr_domain()
278 int pflags, tries; in kmem_alloc_contig_domain() local
287 pflags |= VM_ALLOC_NOWAIT; in kmem_alloc_contig_domain()
297 if (!vm_page_reclaim_contig_domain(domain, pflags, in kmem_alloc_contig_domain()
460 int pflags; in kmem_back_domain() local
469 pflags |= VM_ALLOC_WAITFAIL; in kmem_back_domain()
[all …]
H A Dvm_page.h483 int pflags; in malloc2vm_flags() local
488 pflags = (malloc_flags & M_USE_RESERVE) != 0 ? VM_ALLOC_INTERRUPT : in malloc2vm_flags()
491 pflags |= VM_ALLOC_ZERO; in malloc2vm_flags()
493 pflags |= VM_ALLOC_NODUMP; in malloc2vm_flags()
495 pflags |= VM_ALLOC_NOWAIT; in malloc2vm_flags()
497 pflags |= VM_ALLOC_WAITOK; in malloc2vm_flags()
498 return (pflags); in malloc2vm_flags()
/freebsd-12.1/sys/netinet/libalias/
H A Dalias_ftp.c231 int hlen, tlen, dlen, pflags; in AliasHandleFtpOut() local
250 pflags = GetProtocolFlags(lnk); in AliasHandleFtpOut()
251 if (dlen <= MAX_MESSAGE_SIZE && !(pflags & WAIT_CRLF)) { in AliasHandleFtpOut()
284 pflags &= ~WAIT_CRLF; in AliasHandleFtpOut()
286 pflags |= WAIT_CRLF; in AliasHandleFtpOut()
287 SetProtocolFlags(lnk, pflags); in AliasHandleFtpOut()
296 int hlen, tlen, dlen, pflags; in AliasHandleFtpIn() local
314 pflags = GetProtocolFlags(lnk); in AliasHandleFtpIn()
335 pflags &= ~WAIT_CRLF; in AliasHandleFtpIn()
337 pflags |= WAIT_CRLF; in AliasHandleFtpIn()
[all …]
/freebsd-12.1/sys/x86/iommu/
H A Dintel_idpgtbl.c424 dmar_gaddr_t size, vm_page_t *ma, uint64_t pflags, int flags) in domain_map_buf_locked() argument
489 dmar_pte_store(&pte->pte, VM_PAGE_TO_PHYS(ma[pi]) | pflags | in domain_map_buf_locked()
502 vm_page_t *ma, uint64_t pflags, int flags) in domain_map_buf() argument
528 KASSERT((pflags & (DMAR_PTE_R | DMAR_PTE_W)) != 0, in domain_map_buf()
529 ("neither read nor write %jx", (uintmax_t)pflags)); in domain_map_buf()
530 KASSERT((pflags & ~(DMAR_PTE_R | DMAR_PTE_W | DMAR_PTE_SNP | in domain_map_buf()
532 ("invalid pte flags %jx", (uintmax_t)pflags)); in domain_map_buf()
533 KASSERT((pflags & DMAR_PTE_SNP) == 0 || in domain_map_buf()
536 domain, (uintmax_t)pflags)); in domain_map_buf()
537 KASSERT((pflags & DMAR_PTE_TM) == 0 || in domain_map_buf()
[all …]
/freebsd-12.1/usr.bin/gcore/
H A Dgcore.c72 int pflags; variable
90 pflags = 0; in main()
98 pflags |= PFLAGS_FULL; in main()
H A Dextern.h41 extern int pflags;
/freebsd-12.1/crypto/openssh/
H A Dsftp-server.c229 if (pflags & SSH2_FXF_APPEND) in flags_from_portable()
231 if (pflags & SSH2_FXF_CREAT) in flags_from_portable()
233 if (pflags & SSH2_FXF_TRUNC) in flags_from_portable()
235 if (pflags & SSH2_FXF_EXCL) in flags_from_portable()
253 if (pflags & SSH2_FXF_READ) in string_from_portable()
255 if (pflags & SSH2_FXF_WRITE) in string_from_portable()
257 if (pflags & SSH2_FXF_APPEND) in string_from_portable()
259 if (pflags & SSH2_FXF_CREAT) in string_from_portable()
261 if (pflags & SSH2_FXF_TRUNC) in string_from_portable()
263 if (pflags & SSH2_FXF_EXCL) in string_from_portable()
[all …]
/freebsd-12.1/sys/netpfil/ipfw/
H A Dip_fw_table_algo.c859 uint64_t *pflags) in ta_need_modify_radix() argument
993 uint64_t pflags);
1730 *pflags = data; in ta_need_modify_chash()
1788 uint64_t pflags) in ta_modify_chash() argument
2437 *pflags = size; in ta_need_modify_ifidx()
2455 mi->size = *pflags; in ta_prepare_mod_ifidx()
2477 *pflags = 0; in ta_fill_mod_ifidx()
2491 uint64_t pflags) in ta_modify_ifidx() argument
2895 *pflags = size; in ta_need_modify_numarray()
2913 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-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_znode.h66 #define ZFS_ATTR_SET(zp, attr, value, pflags, tx) \ argument
69 pflags |= attr; \
71 pflags &= ~attr; \
73 &pflags, sizeof (pflags), tx)); \
/freebsd-12.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-12.1/sys/netinet/
H A Dif_ether.c446 const struct sockaddr *dst, u_char *desten, uint32_t *pflags, in arpresolve_full() argument
456 if (pflags != NULL) in arpresolve_full()
457 *pflags = 0; in arpresolve_full()
509 if (pflags != NULL) in arpresolve_full()
510 *pflags = la->la_flags & (LLE_VALID|LLE_IFADDR); in arpresolve_full()
580 char *desten, uint32_t *pflags, struct llentry **plle) in arpresolve_addr() argument
613 if (pflags != NULL) in arpresolve()
614 *pflags = 0; in arpresolve()
637 if (pflags != NULL) in arpresolve()
638 *pflags = LLE_VALID | (la->r_flags & RLLE_IFADDR); in arpresolve()
[all …]
H A Dif_ether.h121 const struct sockaddr *dst, char *desten, uint32_t *pflags,
124 const struct sockaddr *dst, u_char *desten, uint32_t *pflags,
/freebsd-12.1/sys/arm/nvidia/drm2/
H A Dtegra_bo.c101 int pflags, tries, i; in tegra_bo_alloc_contig() local
107 pflags = VM_ALLOC_NORMAL | VM_ALLOC_NOOBJ | VM_ALLOC_NOBUSY | in tegra_bo_alloc_contig()
111 m = vm_page_alloc_contig(NULL, 0, pflags, npages, low, high, alignment, in tegra_bo_alloc_contig()
115 if (!vm_page_reclaim_contig(pflags, npages, low, high, in tegra_bo_alloc_contig()
/freebsd-12.1/sys/net/
H A Dif_ethersubr.c207 uint32_t *pflags, struct llentry **plle) in ether_resolve_addr() argument
271 *pflags = RT_MAY_LOOP; in ether_resolve_addr()
273 *pflags |= RT_L2_ME; in ether_resolve_addr()
294 uint32_t pflags; in ether_output() local
299 pflags = 0; in ether_output()
328 pflags = lle->r_flags; in ether_output()
350 error = ether_resolve_addr(ifp, m, dst, ro, phdr, &pflags, in ether_output()
358 if ((pflags & RT_L2_ME) != 0) { in ether_output()
362 loop_copy = pflags & RT_MAY_LOOP; in ether_output()
375 if ((pflags & RT_HAS_HEADER) == 0) { in ether_output()
/freebsd-12.1/crypto/openssl/crypto/x509/
H A Dx509_cmp.c315 static int check_suite_b(EVP_PKEY *pkey, int sign_nid, unsigned long *pflags) in check_suite_b() argument
331 if (!(*pflags & X509_V_FLAG_SUITEB_192_LOS)) in check_suite_b()
334 *pflags &= ~X509_V_FLAG_SUITEB_128_LOS_ONLY; in check_suite_b()
338 if (!(*pflags & X509_V_FLAG_SUITEB_128_LOS_ONLY)) in check_suite_b()
/freebsd-12.1/usr.sbin/fmtree/
H A Dcreate.c284 statd(FTS *t, FTSENT *parent, uid_t *puid, gid_t *pgid, mode_t *pmode, u_long *pflags) in statd() argument
296 u_long saveflags = *pflags; in statd()
355 ((keys & F_FLAGS) && (*pflags != saveflags)) || in statd()
397 *pflags = saveflags; in statd()
/freebsd-12.1/usr.bin/diff/
H A Ddiffreg.c983 int *pflags) in change() argument
991 skip_blanks = (*pflags & D_SKIPBLANKLINES); in change()
1022 if (*pflags & D_HEADER && diff_format != D_BRIEF) { in change()
1024 *pflags &= ~D_HEADER; in change()
1051 dump_context_vec(f1, f2, *pflags); in change()
1053 dump_unified_vec(f1, f2, *pflags); in change()
1102 fetch(ixold, a, b, f1, '<', 1, *pflags); in change()
1105 fetch(ixnew, c, d, f2, '>', 0, *pflags); in change()
1117 fetch(ixold, a, b, f1, '<', 1, *pflags); in change()
1123 f = fetch(ixnew, c, d, f2, diff_format == D_NORMAL ? '>' : '\0', 0, *pflags); in change()
/freebsd-12.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); \
/freebsd-12.1/crypto/openssl/ssl/
H A Dssl_conf.c108 uint32_t *pflags; in ssl_set_option() local
116 pflags = cctx->pcert_flags; in ssl_set_option()
120 pflags = cctx->pvfy_flags; in ssl_set_option()
124 pflags = cctx->poptions; in ssl_set_option()
132 *pflags |= option_value; in ssl_set_option()
134 *pflags &= ~option_value; in ssl_set_option()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_znode.c766 uint64_t mode, size, links, parent, pflags; in zfs_mknode() local
855 pflags = ZFS_ARCHIVE | ZFS_AV_MODIFIED; in zfs_mknode()
857 pflags = 0; in zfs_mknode()
873 pflags |= ZFS_XATTR; in zfs_mknode()
878 pflags |= acl_ids->z_aclp->z_hints & in zfs_mknode()
940 NULL, &pflags, 8); in zfs_mknode()
965 NULL, &pflags, 8); in zfs_mknode()
981 mode = zfs_mode_compute(mode, acl_ids->z_aclp, &pflags, in zfs_mknode()
1000 (*zpp)->z_pflags = pflags; in zfs_mknode()
2052 uint64_t pflags; in zfs_obj_to_pobj() local
[all …]

123