Searched refs:sheaf (Results 1 – 5 of 5) sorted by relevance
2810 struct slab_sheaf *sheaf; in __alloc_empty_sheaf() local2821 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() argument2855 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 …]
71 * @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()
479 struct slab_sheaf *sheaf; /* Allocated nodes for this operation */ member532 .sheaf = NULL, \
927 struct slab_sheaf *sheaf);930 struct slab_sheaf *sheaf) __assume_slab_alignment __malloc;934 unsigned int kmem_cache_sheaf_size(struct slab_sheaf *sheaf);
35124 if (mas->sheaf) in mas_allocated()35125 total += kmem_cache_sheaf_size(mas->sheaf); in mas_allocated()