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
1101 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().
1022 size_t kmem_max_cached = KMEM_BIG_MAXBUF; /* maximum kmem_alloc cache */
1024 size_t kmem_max_cached = KMEM_BIG_MAXBUF_32BIT; /* maximum kmem_alloc cache */
2251 kmem_dump_start = kmem_alloc(size, KM_SLEEP);
2832 buf = kmem_alloc(size, kmflag);
2840 kmem_alloc(size_t size, int kmflag) function
2994 p = kmem_alloc(*asize, (kmflag | KM_NOSLEEP) & ~KM_PANIC);
3001 return (kmem_alloc(*asize, kmflag));
4246 * Set up the default caches to back kmem_alloc()
5207 args = kmem_alloc(sizeo
[all...]

Completed in 154 milliseconds