Searched refs:KM_NOSLEEP (Results 1 - 22 of 22) sorted by relevance
/freebsd-13-stable/sys/contrib/openzfs/lib/libspl/include/sys/ |
H A D | kmem.h | 36 #define KM_NOSLEEP 0x00000001 /* same as KM_NOSLEEP */ macro
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libnvpair/ |
H A D | nvpair_alloc_system.c | 61 (void *)KM_NOSLEEP
|
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | kmem.h | 43 #define KM_NOSLEEP 0x0001 /* cannot block for memory; may fail */ macro 48 #define KM_PUBLIC_MASK (KM_SLEEP | KM_NOSLEEP | KM_PUSHPAGE) 63 if (flags & KM_NOSLEEP) {
|
/freebsd-13-stable/sys/contrib/openzfs/module/nvpair/ |
H A D | nvpair_alloc_spl.c | 46 return (kmem_alloc(size, KM_NOSLEEP));
|
H A D | nvpair.c | 571 case KM_NOSLEEP: 2686 * allocator properties (e.g. by using KM_NOSLEEP).
|
/freebsd-13-stable/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | kmem.h | 49 #define KM_NOSLEEP M_NOWAIT macro
|
/freebsd-13-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | kmem.h | 49 #define KM_NOSLEEP M_NOWAIT macro
|
/freebsd-13-stable/sys/contrib/openzfs/module/icp/include/sys/crypto/ |
H A D | sched_impl.h | 68 #define KCF_KMFLAG(crq) (((crq) == NULL) ? KM_SLEEP : KM_NOSLEEP) 75 * thread and kernel memory must be allocated with KM_NOSLEEP. 88 ((rhndl == &kcf_swprov_hndl) ? KM_NOSLEEP : KM_SLEEP)
|
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-xdr.c | 411 *arrp = kmem_alloc(size * elsize, KM_NOSLEEP); 468 *sp = kmem_alloc(size + 1, KM_NOSLEEP);
|
H A D | spl-kmem.c | 255 if (likely(ptr) || (flags & KM_NOSLEEP))
|
H A D | spl-kmem-cache.c | 1036 * current process context with KM_NOSLEEP flag. 1245 } while ((obj == NULL) && !(flags & KM_NOSLEEP)); 1276 if ((obj == NULL) && !(flags & KM_NOSLEEP))
|
H A D | spl-taskq.c | 79 return (KM_NOSLEEP);
|
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_kmem.c | 284 return (kmem_zalloc(n * s, KM_NOSLEEP));
|
/freebsd-13-stable/sys/contrib/openzfs/module/icp/core/ |
H A D | kcf_sched.c | 93 (crq == NULL) ? KM_SLEEP : KM_NOSLEEP); 132 arptr = kmem_cache_alloc(kcf_areq_cache, KM_NOSLEEP); 511 KM_NOSLEEP) == NULL) 711 KCF_RHNDL(KM_NOSLEEP)); 1679 KCF_RHNDL(KM_NOSLEEP));
|
/freebsd-13-stable/sys/contrib/openzfs/module/zstd/ |
H A D | zfs_zstd.c | 327 mem = vmem_alloc(size, KM_NOSLEEP);
|
/freebsd-13-stable/sys/contrib/openzfs/include/sys/ |
H A D | zfs_context.h | 410 #define KM_NOSLEEP UMEM_DEFAULT macro 486 #define TQ_NOSLEEP KM_NOSLEEP /* cannot block for memory; may fail */
|
/freebsd-13-stable/sys/contrib/openzfs/module/icp/os/ |
H A D | modhash.c | 439 * sleep - should be KM_SLEEP or KM_NOSLEEP, to indicate whether 442 * Fails only if KM_NOSLEEP was specified, and no memory was available. 665 *handlep = kmem_cache_alloc(mh_e_cache, KM_NOSLEEP);
|
/freebsd-13-stable/sys/cddl/contrib/opensolaris/common/lz4/ |
H A D | lz4.c | 853 void *ctx = kmem_cache_alloc(lz4_ctx_cache, KM_NOSLEEP);
|
/freebsd-13-stable/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace.c | 12148 KM_NOSLEEP | KM_NORMALPRI)) == NULL) 12160 KM_NOSLEEP | KM_NORMALPRI)) == NULL) 12228 KM_NOSLEEP | KM_NORMALPRI)) == NULL) 12240 KM_NOSLEEP | KM_NORMALPRI)) == NULL) 14361 if ((base = kmem_zalloc(size, KM_NOSLEEP | KM_NORMALPRI)) == NULL) 14996 KM_NOSLEEP | KM_NORMALPRI); 15008 KM_NOSLEEP | KM_NORMALPRI)) == NULL) {
|
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
H A D | dbuf.c | 811 h->hash_table = kmem_zalloc(hsize * sizeof (void *), KM_NOSLEEP);
|
H A D | arc.c | 1289 kmem_zalloc(hsize * sizeof (void*), KM_NOSLEEP);
|
/freebsd-13-stable/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 4658 char *buf = kmem_alloc(oursize, KM_NOSLEEP);
|
Completed in 370 milliseconds