Searched refs:KM_NOSLEEP (Results 1 – 18 of 18) sorted by relevance
43 #define KM_NOSLEEP 0x0001 /* cannot block for memory; may fail */ macro48 #define KM_PUBLIC_MASK (KM_SLEEP | KM_NOSLEEP | KM_PUSHPAGE)63 if (flags & KM_NOSLEEP) { in kmem_flags_convert()
36 #define KM_NOSLEEP 0x00000001 /* same as KM_NOSLEEP */ macro
61 (void *)KM_NOSLEEP
46 return (kmem_alloc(size, KM_NOSLEEP)); in nv_alloc_nosleep_spl()
571 case KM_NOSLEEP: in nvlist_nv_alloc()
49 #define KM_NOSLEEP M_NOWAIT macro
68 #define KCF_KMFLAG(crq) (((crq) == NULL) ? KM_SLEEP : KM_NOSLEEP)88 ((rhndl == &kcf_swprov_hndl) ? KM_NOSLEEP : KM_SLEEP)
411 *arrp = kmem_alloc(size * elsize, KM_NOSLEEP); in xdr_dec_array()468 *sp = kmem_alloc(size + 1, KM_NOSLEEP); in xdr_dec_string()
255 if (likely(ptr) || (flags & KM_NOSLEEP)) in spl_kmem_alloc_impl()
1250 } while ((obj == NULL) && !(flags & KM_NOSLEEP)); in spl_kmem_cache_alloc()1281 if ((obj == NULL) && !(flags & KM_NOSLEEP)) in spl_kmem_cache_alloc()
79 return (KM_NOSLEEP); in task_km_flags()
93 (crq == NULL) ? KM_SLEEP : KM_NOSLEEP); in kcf_new_ctx()132 arptr = kmem_cache_alloc(kcf_areq_cache, KM_NOSLEEP); in kcf_areqnode_alloc()511 KM_NOSLEEP) == NULL) in kcf_resubmit_request()711 KCF_RHNDL(KM_NOSLEEP)); in kcf_submit_request()1679 KCF_RHNDL(KM_NOSLEEP)); in kcf_next_req()
284 return (kmem_zalloc(n * s, KM_NOSLEEP)); in calloc()
415 #define KM_NOSLEEP UMEM_DEFAULT491 #define TQ_NOSLEEP KM_NOSLEEP /* cannot block for memory; may fail */
327 mem = vmem_alloc(size, KM_NOSLEEP); in zstd_mempool_alloc()
665 *handlep = kmem_cache_alloc(mh_e_cache, KM_NOSLEEP); in mod_hash_reserve_nosleep()
811 h->hash_table = kmem_zalloc(hsize * sizeof (void *), KM_NOSLEEP); in dbuf_init()
1289 kmem_zalloc(hsize * sizeof (void*), KM_NOSLEEP); in buf_init()