/netbsd-current/common/lib/libppath/ |
H A D | ppath_kmem_alloc.c | 41 return kmem_zalloc(size, KM_NOSLEEP);
|
/netbsd-current/external/cddl/osnet/dist/uts/common/os/ |
H A D | nvpair_alloc_system.c | 59 (void *)KM_NOSLEEP
|
/netbsd-current/sys/sys/ |
H A D | kmem.h | 61 #define KM_NOSLEEP 0x00000002 /* don't sleep */ macro
|
/netbsd-current/external/cddl/osnet/sys/kern/ |
H A D | kobj.c | 83 return (kmem_alloc(size, (flag & KM_NOWAIT) ? KM_NOSLEEP : KM_SLEEP)); 90 return (kmem_zalloc(size, (flag & KM_NOWAIT) ? KM_NOSLEEP : KM_SLEEP));
|
H A D | kmem.c | 110 KASSERT(ISSET(flags, ~(KM_SLEEP | KM_NOSLEEP | KM_PUSHPAGE)) == 0);
|
/netbsd-current/sys/kern/ |
H A D | kern_mutex_obj.c | 80 mo = kmem_intr_alloc(sizeof(*mo), KM_NOSLEEP);
|
H A D | kern_rwlock_obj.c | 79 ro = kmem_intr_alloc(sizeof(*ro), KM_NOSLEEP);
|
H A D | kern_malloc.c | 107 const int kmflags = (flags & M_NOWAIT) ? KM_NOSLEEP : KM_SLEEP;
|
H A D | subr_kmem.c | 280 CTASSERT(KM_NOSLEEP == PR_NOWAIT); 298 KASSERT((kmflags & KM_SLEEP) || (kmflags & KM_NOSLEEP)); 299 KASSERT(!(kmflags & KM_SLEEP) || !(kmflags & KM_NOSLEEP)); 421 KASSERT(v || (kmflags & KM_NOSLEEP) != 0); 438 KASSERT(v || (kmflags & KM_NOSLEEP) != 0);
|
H A D | subr_hash.c | 106 p = kmem_alloc(hashsize * esize, waitok ? KM_SLEEP : KM_NOSLEEP);
|
H A D | subr_devsw.c | 455 newptr = kmem_zalloc(new_convs * DEVSWCONV_SIZE, KM_NOSLEEP); 471 name = kmem_strdupsize(devname, NULL, KM_NOSLEEP); 523 KM_NOSLEEP); 532 KM_NOSLEEP); 586 KM_NOSLEEP); 595 KM_NOSLEEP);
|
/netbsd-current/sys/arch/xen/xenbus/ |
H A D | xenbus_client.c | 134 char *path_buffer = kmem_alloc(*len, KM_NOSLEEP); 155 printf_buffer = kmem_alloc(PRINTF_BUFFER_SIZE, KM_NOSLEEP);
|
/netbsd-current/sys/external/bsd/drm2/linux/ |
H A D | linux_xa.c | 132 n = kmem_zalloc(sizeof(*n), gfp & __GFP_WAIT ? KM_SLEEP : KM_NOSLEEP); 165 n = kmem_zalloc(sizeof(*n), gfp & __GFP_WAIT ? KM_SLEEP : KM_NOSLEEP);
|
/netbsd-current/sys/arch/rs6000/mca/ |
H A D | mcadma_machdep.c | 120 ((flags & BUS_DMA_NOWAIT) ? KM_NOSLEEP : KM_SLEEP));
|
H A D | mca_machdep.c | 385 ((flags & BUS_DMA_NOWAIT) ? KM_SLEEP : KM_NOSLEEP));
|
/netbsd-current/sys/arch/mips/atheros/ |
H A D | arbus.c | 180 struct arbus_intrhand * const ih = kmem_zalloc(sizeof(*ih), KM_NOSLEEP);
|
/netbsd-current/sys/opencrypto/ |
H A D | cryptosoft.c | 787 KM_NOSLEEP); 807 *swd = kmem_zalloc(sizeof **swd, KM_NOSLEEP); 890 (*swd)->sw_ictx = kmem_alloc(axf->ctxsize, KM_NOSLEEP); 896 (*swd)->sw_octx = kmem_alloc(axf->ctxsize, KM_NOSLEEP); 934 (*swd)->sw_ictx = kmem_alloc(axf->ctxsize, KM_NOSLEEP); 942 KM_NOSLEEP); 965 (*swd)->sw_ictx = kmem_alloc(axf->ctxsize, KM_NOSLEEP); 987 (*swd)->sw_ictx = kmem_alloc(axf->ctxsize, KM_NOSLEEP);
|
/netbsd-current/sys/dev/ |
H A D | kloader.c | 203 if ((ph = kmem_alloc(phsz, KM_NOSLEEP)) == NULL) { 214 if ((sh = kmem_alloc(shsz, KM_NOSLEEP)) == NULL) { 225 shstrtab = kmem_alloc(shstrsz, KM_NOSLEEP);
|
/netbsd-current/sys/net/lagg/ |
H A D | if_laggproto.c | 170 psc = kmem_zalloc(sizeof(*psc), KM_NOSLEEP); 183 psc->psc_ctx = kmem_zalloc(ctxsiz, KM_NOSLEEP); 258 pport = kmem_zalloc(sizeof(*pport), KM_NOSLEEP);
|
/netbsd-current/sys/net/npf/ |
H A D | npf_portmap.c | 345 bm1 = kmem_intr_zalloc(sizeof(bitmap_l1_t), KM_NOSLEEP); 449 bm = kmem_intr_zalloc(sizeof(bitmap_t), KM_NOSLEEP);
|
/netbsd-current/sys/arch/sun68k/sun68k/ |
H A D | bus.c | 209 (flags & BUS_DMA_NOWAIT) ? KM_NOSLEEP : KM_SLEEP)) == NULL) 265 (flags & BUS_DMA_NOWAIT) ? KM_NOSLEEP : KM_SLEEP)) == NULL)
|
/netbsd-current/sys/arch/xen/xen/ |
H A D | xengnt.c | 241 pages = kmem_alloc(sz, KM_NOSLEEP); 316 pages = kmem_alloc(sz, KM_NOSLEEP);
|
/netbsd-current/sys/arch/playstation2/playstation2/ |
H A D | bus_space.c | 155 pbs = kmem_zalloc(sizeof(*pbs), KM_NOSLEEP);
|
/netbsd-current/sys/arch/playstation2/dev/ |
H A D | ohci_sbus.c | 176 ds = kmem_intr_alloc(sizeof(struct ohci_dma_segment), KM_NOSLEEP);
|
/netbsd-current/sys/arch/hpcmips/dev/ |
H A D | plumohci.c | 252 ps = kmem_intr_alloc(sizeof(struct plumohci_shm), KM_NOSLEEP);
|