Searched refs:ADDR_TO_ID (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/uts/common/os/ |
H A D | id_space.c | 59 #define ADDR_TO_ID(addr) ((id_t)((uintptr_t)addr - 1)) macro 98 return (ADDR_TO_ID(vmem_alloc(isp, 1, VM_SLEEP | VM_NEXTFIT))); in id_alloc() 109 return (ADDR_TO_ID(vmem_alloc(isp, 1, VM_NOSLEEP | VM_NEXTFIT))); in id_alloc_nosleep() 119 return (ADDR_TO_ID(vmem_alloc(isp, 1, VM_SLEEP | VM_FIRSTFIT))); in id_allocff() 130 return (ADDR_TO_ID(vmem_alloc(isp, 1, VM_NOSLEEP | VM_FIRSTFIT))); in id_allocff_nosleep() 147 return (ADDR_TO_ID(vmem_xalloc(isp, 1, 1, 0, 0, in id_alloc_specific_nosleep()
|