Lines Matching defs:sheaf
147 static void mt_return_sheaf(struct slab_sheaf *sheaf)
149 kmem_cache_return_sheaf(maple_node_cache, GFP_NOWAIT, sheaf);
157 static int mt_refill_sheaf(gfp_t gfp, struct slab_sheaf **sheaf,
160 return kmem_cache_refill_sheaf(maple_node_cache, gfp, sheaf, size);
1062 if (WARN_ON_ONCE(!mas->sheaf))
1065 ret = kmem_cache_alloc_from_sheaf(maple_node_cache, GFP_NOWAIT, mas->sheaf);
1083 if (mas->sheaf)
1103 if (mas->sheaf) {
1107 if (kmem_cache_sheaf_size(mas->sheaf) >= refill) {
1112 if (mt_refill_sheaf(gfp, &mas->sheaf, refill))
1119 mas->sheaf = mt_get_sheaf(gfp, mas->node_request);
1120 if (likely(mas->sheaf)) {
1132 if (mas->sheaf) {
1133 mt_return_sheaf(mas->sheaf);
1134 mas->sheaf = NULL;
5623 if (!mas->sheaf && !mas->alloc)
7027 pr_err(" min=%lx max=%lx sheaf=" PTR_FMT ", request %lu depth=%u, flags=%x\n",
7028 mas->min, mas->max, mas->sheaf, mas->node_request, mas->depth,