Lines Matching refs:sheaf
182 static void mt_return_sheaf(struct slab_sheaf *sheaf) in mt_return_sheaf() argument
184 kmem_cache_return_sheaf(maple_node_cache, GFP_NOWAIT, sheaf); in mt_return_sheaf()
192 static int mt_refill_sheaf(gfp_t gfp, struct slab_sheaf **sheaf, in mt_refill_sheaf() argument
195 return kmem_cache_refill_sheaf(maple_node_cache, gfp, sheaf, size); in mt_refill_sheaf()
1083 if (WARN_ON_ONCE(!mas->sheaf)) in mas_pop_node()
1086 ret = kmem_cache_alloc_from_sheaf(maple_node_cache, GFP_NOWAIT, mas->sheaf); in mas_pop_node()
1104 if (mas->sheaf) in mas_alloc_nodes()
1124 if (mas->sheaf) { in mas_alloc_nodes()
1128 if (kmem_cache_sheaf_size(mas->sheaf) >= refill) { in mas_alloc_nodes()
1133 if (mt_refill_sheaf(gfp, &mas->sheaf, refill)) in mas_alloc_nodes()
1140 mas->sheaf = mt_get_sheaf(gfp, mas->node_request); in mas_alloc_nodes()
1141 if (likely(mas->sheaf)) { in mas_alloc_nodes()
1153 if (mas->sheaf) { in mas_empty_nodes()
1154 mt_return_sheaf(mas->sheaf); in mas_empty_nodes()
1155 mas->sheaf = NULL; in mas_empty_nodes()
5856 if (!mas->sheaf && !mas->alloc) in mas_nomem()
7251 mas->min, mas->max, mas->sheaf, mas->node_request, mas->depth, in mas_dump()