Searched defs:kmem_alloc (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dkmem.c58 kmem_alloc(size_t size, int kmflags) function
/illumos-gate/usr/src/lib/libsaveargs/tests/testmatch/
H A Dtestmatch.c101 DEF_TEST(kmem_alloc); variable
125 TEST_GOOD(kmem_alloc, 2);
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dheap_kmem.c37 * kmem_alloc and kmem_free must not be called from interrupt level,
114 * is a null pointer. It is the responsibility of kmem_alloc() and
122 void *kmem_alloc(size_t, int);
413 * kmem_alloc returns a pointer to the allocated block; a null
441 kmem_alloc(size_t nbytes, int kmflag) function
452 printf("kmem_alloc(nbytes 0x%lx)\n", nbytes);
461 printf("illegal kmem_alloc call for %lx bytes\n", nbytes);
462 prom_panic("kmem_alloc");
476 printf("kmem_alloc failed, nbytes %lx\n", nbytes);
477 prom_panic("kmem_alloc");
[all...]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c39 #define kmem_alloc(size, flag) zfs_alloc((size)) macro
1102 p = kmem_alloc(psize, KM_SLEEP);
/illumos-gate/usr/src/uts/common/os/
H A Dkmem.c935 * The default set of caches to back kmem_alloc().
1031 size_t kmem_max_cached = KMEM_BIG_MAXBUF; /* maximum kmem_alloc cache */
1033 size_t kmem_max_cached = KMEM_BIG_MAXBUF_32BIT; /* maximum kmem_alloc cache */
2263 kmem_dump_start = kmem_alloc(size, KM_SLEEP);
2844 buf = kmem_alloc(size, kmflag);
2852 kmem_alloc(size_t size, int kmflag) function
2883 panic("attempted to kmem_alloc() size of 0");
2886 cmn_err(CE_WARN, "kmem_alloc(): sleeping "
3031 p = kmem_alloc(*asize, (kmflag | KM_NOSLEEP) & ~KM_PANIC);
3038 return (kmem_alloc(*asiz
[all...]

Completed in 185 milliseconds