Lines Matching defs:kmem_cache_alloc
74 * kmem_cache_alloc() is by definition in the client's control. Conversely,
210 * response to kmem_cache_alloc() or to prepare the destination buffer passed in
212 * kmem_cache_alloc().
526 * object_t *object = kmem_cache_alloc(object_cache, 0);
1563 if ((sp = kmem_cache_alloc(kmem_slab_cache, kmflag)) == NULL)
1583 bcp = kmem_cache_alloc(cp->cache_bufctl_cache, kmflag);
2526 kmem_cache_alloc(kmem_cache_t *cp, int kmflag)
2638 return (kmem_cache_alloc(cp, kmflag));
2715 * across kmem_cache_alloc() because lower layers may
2720 emp = kmem_cache_alloc(mtp->mt_cache, KM_NOSLEEP);
2928 buf = kmem_cache_alloc(cp, kmflag);
2959 /* fall through to kmem_cache_alloc() */
2964 /* fall through to kmem_cache_alloc() */
2984 buf = kmem_cache_alloc(cp, kmflag);
4102 * kmem_cache_alloc(), so allocate in all cases before acquiring the
4105 defrag = kmem_cache_alloc(kmem_defrag_cache, KM_SLEEP);
4720 tbuf = kmem_cache_alloc(cp, KM_NOSLEEP);
5017 callback = kmem_cache_alloc(kmem_move_cache, KM_NOSLEEP);
5126 * kmem_cache_alloc() or taskq_dispatch() with cache_lock held.