Home
last modified time | relevance | path

Searched refs:sheaf (Results 1 – 5 of 5) sorted by relevance

/linux/mm/
H A Dslub.c2810 struct slab_sheaf *sheaf; in __alloc_empty_sheaf() local
2821 sheaf_size = struct_size(sheaf, objects, capacity); in __alloc_empty_sheaf()
2822 sheaf = kmalloc_flags(sheaf_size, gfp | __GFP_ZERO, alloc_flags, NUMA_NO_NODE); in __alloc_empty_sheaf()
2824 if (unlikely(!sheaf)) in __alloc_empty_sheaf()
2827 sheaf->cache = s; in __alloc_empty_sheaf()
2831 return sheaf; in __alloc_empty_sheaf()
2845 static void __free_empty_sheaf(struct kmem_cache *s, struct slab_sheaf *sheaf, in __free_empty_sheaf() argument
2855 mark_obj_codetag_empty(sheaf); in __free_empty_sheaf()
2857 VM_WARN_ON_ONCE(sheaf->size > 0); in __free_empty_sheaf()
2860 kfree_nolock(sheaf); in __free_empty_sheaf()
[all …]
/linux/tools/include/linux/
H A Dslab.h71 * @sheaf_capacity: The maximum size of the sheaf.
193 struct slab_sheaf *sheaf);
196 struct slab_sheaf *sheaf);
200 static inline unsigned int kmem_cache_sheaf_size(struct slab_sheaf *sheaf) in kmem_cache_sheaf_size() argument
202 return sheaf->size; in kmem_cache_sheaf_size()
/linux/include/linux/
H A Dmaple_tree.h479 struct slab_sheaf *sheaf; /* Allocated nodes for this operation */ member
532 .sheaf = NULL, \
H A Dslab.h927 struct slab_sheaf *sheaf);
930 struct slab_sheaf *sheaf) __assume_slab_alignment __malloc;
934 unsigned int kmem_cache_sheaf_size(struct slab_sheaf *sheaf);
/linux/tools/testing/radix-tree/
H A Dmaple.c35124 if (mas->sheaf) in mas_allocated()
35125 total += kmem_cache_sheaf_size(mas->sheaf); in mas_allocated()