Searched defs:kmem_alloc (Results 1 - 4 of 4) 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.c35 * kmem_alloc and kmem_free must not be called from interrupt level,
112 * is a null pointer. It is the responsibility of kmem_alloc() and
120 void *kmem_alloc(size_t, int);
411 * kmem_alloc returns a pointer to the allocated block; a null
439 kmem_alloc(size_t nbytes, int kmflag) function
450 printf("kmem_alloc(nbytes 0x%lx)\n", nbytes);
459 printf("illegal kmem_alloc call for %lx bytes\n", nbytes);
460 prom_panic("kmem_alloc");
474 printf("kmem_alloc failed, nbytes %lx\n", nbytes);
475 prom_panic("kmem_alloc");
[all...]
/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 87 milliseconds