Searched refs:KM_NOSLEEP (Results 1 - 25 of 142) sorted by relevance

123456

/netbsd-current/common/lib/libppath/
H A Dppath_kmem_alloc.c41 return kmem_zalloc(size, KM_NOSLEEP);
/netbsd-current/external/cddl/osnet/dist/uts/common/os/
H A Dnvpair_alloc_system.c59 (void *)KM_NOSLEEP
/netbsd-current/sys/sys/
H A Dkmem.h61 #define KM_NOSLEEP 0x00000002 /* don't sleep */ macro
/netbsd-current/external/cddl/osnet/sys/kern/
H A Dkobj.c83 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 Dkmem.c110 KASSERT(ISSET(flags, ~(KM_SLEEP | KM_NOSLEEP | KM_PUSHPAGE)) == 0);
/netbsd-current/sys/kern/
H A Dkern_mutex_obj.c80 mo = kmem_intr_alloc(sizeof(*mo), KM_NOSLEEP);
H A Dkern_rwlock_obj.c79 ro = kmem_intr_alloc(sizeof(*ro), KM_NOSLEEP);
H A Dkern_malloc.c107 const int kmflags = (flags & M_NOWAIT) ? KM_NOSLEEP : KM_SLEEP;
H A Dsubr_kmem.c280 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 Dsubr_hash.c106 p = kmem_alloc(hashsize * esize, waitok ? KM_SLEEP : KM_NOSLEEP);
H A Dsubr_devsw.c455 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 Dxenbus_client.c134 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 Dlinux_xa.c132 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 Dmcadma_machdep.c120 ((flags & BUS_DMA_NOWAIT) ? KM_NOSLEEP : KM_SLEEP));
H A Dmca_machdep.c385 ((flags & BUS_DMA_NOWAIT) ? KM_SLEEP : KM_NOSLEEP));
/netbsd-current/sys/arch/mips/atheros/
H A Darbus.c180 struct arbus_intrhand * const ih = kmem_zalloc(sizeof(*ih), KM_NOSLEEP);
/netbsd-current/sys/opencrypto/
H A Dcryptosoft.c787 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 Dkloader.c203 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 Dif_laggproto.c170 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 Dnpf_portmap.c345 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 Dbus.c209 (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 Dxengnt.c241 pages = kmem_alloc(sz, KM_NOSLEEP);
316 pages = kmem_alloc(sz, KM_NOSLEEP);
/netbsd-current/sys/arch/playstation2/playstation2/
H A Dbus_space.c155 pbs = kmem_zalloc(sizeof(*pbs), KM_NOSLEEP);
/netbsd-current/sys/arch/playstation2/dev/
H A Dohci_sbus.c176 ds = kmem_intr_alloc(sizeof(struct ohci_dma_segment), KM_NOSLEEP);
/netbsd-current/sys/arch/hpcmips/dev/
H A Dplumohci.c252 ps = kmem_intr_alloc(sizeof(struct plumohci_shm), KM_NOSLEEP);

Completed in 178 milliseconds

123456