Lines Matching refs:kflags
295 uint_t pflags, kflags;
308 kflags = flags & PMEM_NOSLEEP ? KM_NOSLEEP : KM_SLEEP;
311 if (pmem_cookie_alloc(&pcp, npages, kflags) == DDI_FAILURE)
338 if (!page_resv(rpages, kflags))
347 kflags) == DDI_FAILURE)
534 pmem_cookie_alloc(struct devmap_pmem_cookie **pcpp, pgcnt_t n, uint_t kflags)
539 kflags)) == NULL)
543 kmem_zalloc(sizeof (vnode_t), kflags)) == NULL) {
548 kmem_zalloc(n * sizeof (page_t *), kflags)) == NULL) {
663 pmem_lpg_alloc(uint_t kflags)
668 plp = kmem_zalloc(sizeof (pmem_lpg_t), kflags);
671 plp->pl_bitmap = kmem_zalloc(BT_SIZEOFMAP(pmem_pgcnt), kflags);
753 vnode_t *vnp, u_offset_t *offp, uint_t kflags)
769 if ((plp = pmem_lpg_alloc(kflags)) == NULL)