Home
last modified time | relevance | path

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

12

/f-stack/freebsd/mips/mips/
H A Duma_machdep.c48 int pflags; in uma_small_alloc() local
52 pflags = malloc2vm_flags(wait) | VM_ALLOC_WIRED; in uma_small_alloc()
54 pflags &= ~(VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL); in uma_small_alloc()
55 pflags |= VM_ALLOC_NOWAIT; in uma_small_alloc()
60 pflags); in uma_small_alloc()
62 if (m == NULL && vm_page_reclaim_contig(pflags, 1, in uma_small_alloc()
/f-stack/freebsd/vm/
H A Dvm_kern.c184 wait = (pflags & VM_ALLOC_WAITOK) != 0; in kmem_alloc_contig_pages()
186 pflags |= VM_ALLOC_NOWAIT; in kmem_alloc_contig_pages()
218 int pflags; in kmem_alloc_attr_domain() local
227 pflags = malloc2vm_flags(flags) | VM_ALLOC_WIRED; in kmem_alloc_attr_domain()
232 domain, pflags, 1, low, high, PAGE_SIZE, 0, memattr); in kmem_alloc_attr_domain()
298 int pflags; in kmem_alloc_contig_domain() local
306 pflags = malloc2vm_flags(flags) | VM_ALLOC_WIRED; in kmem_alloc_contig_domain()
460 int pflags; in kmem_back_domain() local
466 pflags = malloc2vm_flags(flags) | VM_ALLOC_WIRED; in kmem_back_domain()
469 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()
573 return (pflags); in malloc2vm_flags()
H A Dvm_page.c4420 int pflags; in vm_page_grab_pflags() local
4422 pflags = allocflags & in vm_page_grab_pflags()
4426 pflags |= VM_ALLOC_WAITFAIL; in vm_page_grab_pflags()
4428 pflags |= VM_ALLOC_SBUSY; in vm_page_grab_pflags()
4430 return (pflags); in vm_page_grab_pflags()
4587 int after, i, pflags, rv; in vm_page_grab_valid() local
4596 pflags = allocflags & ~(VM_ALLOC_NOBUSY | VM_ALLOC_SBUSY | in vm_page_grab_valid()
4598 pflags |= VM_ALLOC_WAITFAIL; in vm_page_grab_valid()
4761 int pflags; in vm_page_grab_pages() local
4771 pflags = vm_page_grab_pflags(allocflags); in vm_page_grab_pages()
[all …]
/f-stack/freebsd/netinet/libalias/
H A Dalias_ftp.c229 int hlen, tlen, dlen, pflags; in AliasHandleFtpOut() local
248 pflags = GetProtocolFlags(lnk); in AliasHandleFtpOut()
249 if (dlen <= MAX_MESSAGE_SIZE && !(pflags & WAIT_CRLF)) { in AliasHandleFtpOut()
282 pflags &= ~WAIT_CRLF; in AliasHandleFtpOut()
284 pflags |= WAIT_CRLF; in AliasHandleFtpOut()
285 SetProtocolFlags(lnk, pflags); in AliasHandleFtpOut()
294 int hlen, tlen, dlen, pflags; in AliasHandleFtpIn() local
312 pflags = GetProtocolFlags(lnk); in AliasHandleFtpIn()
333 pflags &= ~WAIT_CRLF; in AliasHandleFtpIn()
335 pflags |= WAIT_CRLF; in AliasHandleFtpIn()
[all …]
H A Dalias_db.c311 int pflags; /* protocol-specific flags */ member
939 lnk->pflags = 0; in AddLink()
2058 SetProtocolFlags(struct alias_link *lnk, int pflags) in SetProtocolFlags() argument
2061 lnk->pflags = pflags; in SetProtocolFlags()
2068 return (lnk->pflags); in GetProtocolFlags()
/f-stack/freebsd/x86/iommu/
H A Dintel_idpgtbl.c425 iommu_gaddr_t size, vm_page_t *ma, uint64_t pflags, int flags) in domain_map_buf_locked() argument
490 dmar_pte_store(&pte->pte, VM_PAGE_TO_PHYS(ma[pi]) | pflags | in domain_map_buf_locked()
507 uint64_t pflags; in domain_map_buf() local
537 KASSERT((pflags & (DMAR_PTE_R | DMAR_PTE_W)) != 0, in domain_map_buf()
538 ("neither read nor write %jx", (uintmax_t)pflags)); in domain_map_buf()
539 KASSERT((pflags & ~(DMAR_PTE_R | DMAR_PTE_W | DMAR_PTE_SNP | in domain_map_buf()
541 ("invalid pte flags %jx", (uintmax_t)pflags)); in domain_map_buf()
542 KASSERT((pflags & DMAR_PTE_SNP) == 0 || in domain_map_buf()
545 domain, (uintmax_t)pflags)); in domain_map_buf()
546 KASSERT((pflags & DMAR_PTE_TM) == 0 || in domain_map_buf()
[all …]
/f-stack/freebsd/net/
H A Dif_infiniband.c224 uint32_t *pflags, struct llentry **plle) in infiniband_resolve_addr() argument
281 *pflags = RT_MAY_LOOP; in infiniband_resolve_addr()
283 *pflags |= RT_L2_ME; in infiniband_resolve_addr()
301 uint32_t pflags; in infiniband_output() local
308 pflags = 0; in infiniband_output()
337 pflags = lle->r_flags; in infiniband_output()
363 error = infiniband_resolve_addr(ifp, m, dst, ro, phdr, &pflags, in infiniband_output()
371 if ((pflags & RT_L2_ME) != 0) { in infiniband_output()
385 if ((pflags & RT_HAS_HEADER) == 0) { in infiniband_output()
H A Dif_ethersubr.c205 uint32_t *pflags, struct llentry **plle) in ether_resolve_addr() argument
269 *pflags = RT_MAY_LOOP; in ether_resolve_addr()
271 *pflags |= RT_L2_ME; in ether_resolve_addr()
292 uint32_t pflags; in ether_output() local
297 pflags = 0; in ether_output()
326 pflags = lle->r_flags; in ether_output()
348 error = ether_resolve_addr(ifp, m, dst, ro, phdr, &pflags, in ether_output()
356 if ((pflags & RT_L2_ME) != 0) { in ether_output()
360 loop_copy = (pflags & RT_MAY_LOOP) != 0; in ether_output()
373 if ((pflags & RT_HAS_HEADER) == 0) { in ether_output()
/f-stack/freebsd/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)); \
/f-stack/freebsd/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);
H A Dip_fw_table.c820 uint64_t pflags; in check_table_space() local
840 pflags = 0; in check_table_space()
841 if (ta->need_modify(tc->astate, ti, count, &pflags) == 0) { in check_table_space()
852 error = ta->prepare_mod(ta_buf, &pflags); in check_table_space()
873 if (ta->need_modify(tc->astate, ti, count, &pflags) == 0) { in check_table_space()
884 error = ta->fill_mod(tc->astate, ti, ta_buf, &pflags); in check_table_space()
888 ta->modify(tc->astate, ti, ta_buf, pflags); in check_table_space()
/f-stack/freebsd/arm/nvidia/drm2/
H A Dtegra_bo.c100 int pflags, tries, i; in tegra_bo_alloc_contig() local
106 pflags = VM_ALLOC_NORMAL | VM_ALLOC_NOOBJ | VM_ALLOC_NOBUSY | in tegra_bo_alloc_contig()
110 m = vm_page_alloc_contig(NULL, 0, pflags, npages, low, high, alignment, in tegra_bo_alloc_contig()
114 if (!vm_page_reclaim_contig(pflags, npages, low, high, in tegra_bo_alloc_contig()
/f-stack/freebsd/netinet/
H A Dif_ether.c474 const struct sockaddr *dst, u_char *desten, uint32_t *pflags, in arpresolve_full() argument
486 if (pflags != NULL) in arpresolve_full()
487 *pflags = 0; in arpresolve_full()
536 if (pflags != NULL) in arpresolve_full()
537 *pflags = la->la_flags & (LLE_VALID|LLE_IFADDR); in arpresolve_full()
626 const struct sockaddr *dst, u_char *desten, uint32_t *pflags, in arpresolve() argument
633 if (pflags != NULL) in arpresolve()
634 *pflags = 0; in arpresolve()
656 if (pflags != NULL) in arpresolve()
657 *pflags = LLE_VALID | (la->r_flags & RLLE_IFADDR); in arpresolve()
[all …]
H A Dif_ether.h121 const struct sockaddr *dst, u_char *desten, uint32_t *pflags,
H A Dip_output.c120 int pflags = PFIL_OUT; in ip_output_pfil() local
123 pflags |= PFIL_FWD; in ip_output_pfil()
130 switch (pfil_run_hooks(V_inet_pfil_head, mp, ifp, pflags, inp)) { in ip_output_pfil()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode.c758 pflags = 0; in zfs_mknode()
774 pflags |= ZFS_XATTR; in zfs_mknode()
783 pflags |= ZFS_PROJID; in zfs_mknode()
790 pflags |= ZFS_PROJINHERIT; in zfs_mknode()
796 pflags |= acl_ids->z_aclp->z_hints & in zfs_mknode()
858 NULL, &pflags, 8); in zfs_mknode()
875 pflags & ZFS_PROJID) { in zfs_mknode()
886 NULL, &pflags, 8); in zfs_mknode()
932 (*zpp)->z_pflags = pflags; in zfs_mknode()
2029 uint64_t pflags; in zfs_obj_to_pobj() local
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_znode.c555 uint64_t mode, size, links, parent, pflags; in zfs_mknode() local
644 pflags = ZFS_ARCHIVE | ZFS_AV_MODIFIED; in zfs_mknode()
646 pflags = 0; in zfs_mknode()
662 pflags |= ZFS_XATTR; in zfs_mknode()
667 pflags |= acl_ids->z_aclp->z_hints & in zfs_mknode()
729 NULL, &pflags, 8); in zfs_mknode()
754 NULL, &pflags, 8); in zfs_mknode()
770 mode = zfs_mode_compute(mode, acl_ids->z_aclp, &pflags, in zfs_mknode()
789 (*zpp)->z_pflags = pflags; in zfs_mknode()
1814 uint64_t pflags; in zfs_obj_to_pobj() local
[all …]
/f-stack/freebsd/netinet6/
H A Dnd6.c2215 const struct sockaddr *sa_dst, u_char *desten, uint32_t *pflags, in nd6_resolve() argument
2223 if (pflags != NULL) in nd6_resolve()
2224 *pflags = 0; in nd6_resolve()
2253 if (pflags != NULL) in nd6_resolve()
2254 *pflags = LLE_VALID | (ln->r_flags & RLLE_IFADDR); in nd6_resolve()
2271 return (nd6_resolve_slow(ifp, 0, m, dst6, desten, pflags, plle)); in nd6_resolve()
2287 const struct sockaddr_in6 *dst, u_char *desten, uint32_t *pflags, in nd6_resolve_slow() argument
2367 if (pflags != NULL) in nd6_resolve_slow()
2368 *pflags = lle->la_flags; in nd6_resolve_slow()
2441 char *desten, uint32_t *pflags) in nd6_resolve_addr() argument
[all …]
H A Dnd6.h373 char *desten, uint32_t *pflags);
/f-stack/tools/compat/include/netinet/
H A Dif_ether.h121 const struct sockaddr *dst, u_char *desten, uint32_t *pflags,
/f-stack/freebsd/arm64/qoriq/
H A Dls1046_gpio.c299 qoriq_gpio_pin_getflags(device_t dev, uint32_t pin, uint32_t *pflags) in qoriq_gpio_pin_getflags() argument
303 if (pflags == NULL || pin >= PIN_COUNT) in qoriq_gpio_pin_getflags()
307 *pflags = sc->setup[pin].gp_flags; in qoriq_gpio_pin_getflags()
/f-stack/tools/compat/include/netinet6/
H A Dnd6.h373 char *desten, uint32_t *pflags);
/f-stack/freebsd/tools/
H A Dmakesyscalls.lua552 local function get_mask_pat(pflags)
555 if k:find(pflags) then

12