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

/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dkmem.c57 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.c43 #define kmem_alloc(size, flag) zfs_alloc((size)) macro
1079 p = kmem_alloc(psize, KM_SLEEP);
/illumos-gate/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h324 #define kmem_alloc(_s, _f) umem_alloc(_s, _f) macro
/illumos-gate/usr/src/uts/common/os/
H A Dkmem.c922 * The default set of caches to back kmem_alloc().
1009 size_t kmem_max_cached = KMEM_BIG_MAXBUF; /* maximum kmem_alloc cache */
1011 size_t kmem_max_cached = KMEM_BIG_MAXBUF_32BIT; /* maximum kmem_alloc cache */
2329 kmem_dump_start = kmem_alloc(size, KM_SLEEP);
2943 buf = kmem_alloc(size, kmflag);
2951 kmem_alloc(size_t size, int kmflag) function
3105 p = kmem_alloc(*asize, (kmflag | KM_NOSLEEP) & ~KM_PANIC);
3112 return (kmem_alloc(*asize, kmflag));
4337 * Set up the default caches to back kmem_alloc()
5429 args = kmem_alloc(sizeo
[all...]

Completed in 143 milliseconds