Lines Matching refs:slab

7 #include <linux/slab.h>
33 #include "slab.h"
49 * Set of flags that will prevent slab merging
59 * Merge control. If this is set then no merging of slab caches will occur.
82 * Determine the size of a slab object
137 * Find a mergeable slab cache
153 * We may have set a slab to be unmergeable during bootstrap.
260 * %SLAB_POISON - Poison the slab with a known test pattern (a5a5a5a5)
348 panic("%s: Failed to create slab '%s'. Error %d\n",
374 * %SLAB_POISON - Poison the slab with a known test pattern (a5a5a5a5)
428 * @slab_caches_to_rcu_destroy list. The slab pages are freed
530 static void kmem_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab)
532 if (__kfence_obj_info(kpp, object, slab))
534 __kmem_obj_info(kpp, object, slab);
538 * kmem_dump_obj - Print available slab provenance information
539 * @object: slab object for which to find provenance information.
544 * For a slab-cache object, the fact that it is a slab object is printed,
545 * and, if available, the slab name, return address, and stack trace from
556 struct slab *slab;
563 slab = virt_to_slab(object);
564 if (!slab)
567 kmem_obj_info(&kp, object, slab);
569 pr_cont(" slab%s %s", cp, kp.kp_slab_cache->name);
571 pr_cont(" slab%s", cp);
608 /* Create a cache during boot when no slab services are available yet */
635 panic("Creation of kmalloc slab %s size=%u failed. Reason %d\n",
648 panic("Out of memory when creating slab %s\n", name);
908 * enable allocations for slab creation.
1100 pr_warn("excessive unreclaimable slab but cannot dump stats\n");
1104 pr_info("Unreclaimable slab info:\n");
1131 * num-pages-per-slab