Home
last modified time | relevance | path

Searched refs:KM_NOSLEEP (Results 1 – 25 of 82) sorted by relevance

1234

/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/acpi/
H A Dacpi_srat.c92 return kmem_zalloc(sizeof(struct cpulist), KM_NOSLEEP); in cpu_alloc()
119 return kmem_zalloc(sizeof(struct memlist), KM_NOSLEEP); in mem_alloc()
348 KM_NOSLEEP); in acpisrat_refresh()
353 KM_NOSLEEP); in acpisrat_refresh()
358 KM_NOSLEEP); in acpisrat_refresh()
380 sizeof(struct acpisrat_cpu *), KM_NOSLEEP); in acpisrat_refresh()
382 sizeof(struct acpisrat_mem *), KM_NOSLEEP); in acpisrat_refresh()
H A Dsdhc_acpi.c135 sc->sc.sc_host = kmem_zalloc(sizeof(struct sdhc_host *), KM_NOSLEEP); in sdhc_acpi_attach()
/dports/misc/rump/buildrump.sh-b914579/src/external/cddl/osnet/sys/kern/
H A Dkobj.c83 return (kmem_alloc(size, (flag & KM_NOWAIT) ? KM_NOSLEEP : KM_SLEEP)); in kobj_alloc()
90 return (kmem_zalloc(size, (flag & KM_NOWAIT) ? KM_NOSLEEP : KM_SLEEP)); in kobj_zalloc()
H A Dtaskq.c637 int kmflags = KM_NOSLEEP; in taskq_ent_alloc()
656 if (kmflags & KM_NOSLEEP) { in taskq_ent_alloc()
903 taskq_t *tq = kmem_cache_alloc(taskq_cache, KM_NOSLEEP); in taskq_create_common()
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/dm/
H A Ddm_target_snapshot.c224 if ((tsc = kmem_alloc(sizeof(*tsc), KM_NOSLEEP)) == NULL) in dm_target_snapshot_init()
285 if ((params = kmem_alloc(prm_len, KM_NOSLEEP)) == NULL) in dm_target_snapshot_status()
410 if ((tsoc = kmem_alloc(sizeof(dm_target_snapshot_origin_config_t), KM_NOSLEEP)) in dm_target_snapshot_orig_init()
446 if ((params = kmem_alloc(prm_len, KM_NOSLEEP)) == NULL) in dm_target_snapshot_orig_status()
H A Ddm_target_stripe.c159 if ((tsc = kmem_alloc(sizeof(*tsc), KM_NOSLEEP)) == NULL) in dm_target_stripe_init()
175 tlc = kmem_alloc(sizeof(*tlc), KM_NOSLEEP); in dm_target_stripe_init()
H A Ddm_target_linear.c115 if ((params = kmem_alloc(DM_MAX_PARAMS_SIZE, KM_NOSLEEP)) == NULL) in dm_target_linear_status()
/dports/misc/rump/buildrump.sh-b914579/src/common/lib/libppath/
H A Dppath_kmem_alloc.c41 return kmem_zalloc(size, KM_NOSLEEP); in ppath_alloc()
/dports/misc/rump/buildrump.sh-b914579/src/sys/sys/
H A Dkmem.h53 #define KM_NOSLEEP 0x00000002 /* don't sleep */ macro
/dports/misc/rump/buildrump.sh-b914579/src/external/cddl/osnet/dist/uts/common/os/
H A Dnvpair_alloc_system.c60 (void *)KM_NOSLEEP
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm2/include/linux/
H A Dkfifo.h55 ISSET((gfp), __GFP_WAIT)? KM_SLEEP : KM_NOSLEEP)) \
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/x86/x86/
H A Dcpu_ucode_amd.c277 mc.mc_amd = kmem_zalloc(sizeof(*mc.mc_amd), KM_NOSLEEP); in cpu_ucode_amd_apply()
281 mc.mc_amd->ect = kmem_alloc(mc.mc_mpbuf->mpb_len, KM_NOSLEEP); in cpu_ucode_amd_apply()
/dports/misc/rump/buildrump.sh-b914579/src/sys/kern/
H A Dkern_malloc.c102 const int kmflags = (flags & M_NOWAIT) ? KM_NOSLEEP : KM_SLEEP; in kern_malloc()
H A Dsubr_hash.c102 p = kmem_alloc(hashsize * esize, waitok ? KM_SLEEP : KM_NOSLEEP); in hashinit()
H A Dsubr_devsw.c191 newptr = kmem_zalloc(new_convs * DEVSWCONV_SIZE, KM_NOSLEEP); in devsw_attach()
208 name = kmem_alloc(len, KM_NOSLEEP); in devsw_attach()
261 newptr = kmem_zalloc(MAXDEVSW * BDEVSW_SIZE, KM_NOSLEEP); in bdevsw_attach()
308 newptr = kmem_zalloc(MAXDEVSW * CDEVSW_SIZE, KM_NOSLEEP); in cdevsw_attach()
H A Dsubr_kmem.c243 CTASSERT(KM_NOSLEEP == PR_NOWAIT);
391 KASSERT(v || (kmflags & KM_NOSLEEP) != 0); in kmem_alloc()
408 KASSERT(v || (kmflags & KM_NOSLEEP) != 0); in kmem_zalloc()
/dports/misc/rump/buildrump.sh-b914579/src/sys/netnatm/
H A Dnatm_pcb.c63 npcb = kmem_intr_zalloc(sizeof(*npcb), wait ? KM_SLEEP : KM_NOSLEEP); in npcb_alloc()
/dports/misc/rump/buildrump.sh-b914579/src/sys/netinet/
H A Dip_encap.c718 ep = kmem_zalloc(sizeof(*ep), KM_NOSLEEP); in encap_attach()
723 ep->addrpack = kmem_zalloc(l, KM_NOSLEEP); in encap_attach()
728 ep->maskpack = kmem_zalloc(l, KM_NOSLEEP); in encap_attach()
813 ep = kmem_alloc(sizeof(*ep), KM_NOSLEEP); /*XXX*/ in encap_attach_func()
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm2/include/drm/
H A Dbus_dma_hacks.h146 case BUS_DMA_NOWAIT: kmflags = KM_NOSLEEP; break; in bus_dmamap_load_pglist()
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm2/drm/
H A Ddrm_scatter.c152 KM_NOSLEEP); in drm_sg_alloc_mem()
H A Ddrm_memory.c186 KM_NOSLEEP); in drm_pci_alloc()
/dports/misc/rump/buildrump.sh-b914579/src/sys/netinet6/
H A Dfrag6.c225 q6 = kmem_intr_zalloc(sizeof(struct ip6q), KM_NOSLEEP); in frag6_input()
316 ip6af = kmem_intr_zalloc(sizeof(struct ip6asfrag), KM_NOSLEEP); in frag6_input()
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/dwc2/
H A Ddwc2.h113 #define GFP_ATOMIC KM_NOSLEEP
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/sysmon/
H A Dsysmon_power.c845 ped = kmem_zalloc(sizeof(*ped), KM_NOSLEEP); in sysmon_penvsys_event()
1003 ped = kmem_zalloc(sizeof(*ped), KM_NOSLEEP); in sysmon_pswitch_event()
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/sparc64/sparc64/
H A Dintr.c181 struct intrhand *ih = kmem_zalloc(sizeof(struct intrhand), KM_NOSLEEP); in intrhand_alloc()

1234