Searched refs:slab (Results 1 – 8 of 8) sorted by relevance
/include/linux/ |
D | slab_def.h | 91 static inline void *nearest_obj(struct kmem_cache *cache, const struct slab *slab, in nearest_obj() argument 94 void *object = x - (x - slab->s_mem) % cache->size; in nearest_obj() 95 void *last_object = slab->s_mem + (cache->num - 1) * cache->size; in nearest_obj() 110 const struct slab *slab, void *obj) in obj_to_index() argument 112 u32 offset = (obj - slab->s_mem); in obj_to_index() 117 const struct slab *slab) in objs_per_slab() argument 119 if (is_kfence_address(slab_address(slab))) in objs_per_slab()
|
D | slub_def.h | 58 struct slab *slab; /* The slab from which we are allocating */ member 60 struct slab *partial; /* Partially allocated frozen slabs */ 172 static inline void *nearest_obj(struct kmem_cache *cache, const struct slab *slab, in nearest_obj() argument 174 void *object = x - (x - slab_address(slab)) % cache->size; in nearest_obj() 175 void *last_object = slab_address(slab) + in nearest_obj() 176 (slab->objects - 1) * cache->size; in nearest_obj() 192 const struct slab *slab, void *obj) in obj_to_index() argument 196 return __obj_to_index(cache, slab_address(slab), obj); in obj_to_index() 200 const struct slab *slab) in objs_per_slab() argument 202 return slab->objects; in objs_per_slab()
|
D | kfence.h | 221 bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab); 243 static inline bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kfence_obj_info() argument
|
D | kasan.h | 13 struct slab; 125 void __kasan_poison_slab(struct slab *slab); 126 static __always_inline void kasan_poison_slab(struct slab *slab) in kasan_poison_slab() argument 129 __kasan_poison_slab(slab); in kasan_poison_slab() 244 static inline void kasan_poison_slab(struct slab *slab) {} in kasan_poison_slab() argument
|
D | page-flags.h | 507 __PAGEFLAG(Slab, slab, PF_NO_TAIL)
|
/include/net/ |
D | request_sock.h | 30 struct kmem_cache *slab; member 92 req = kmem_cache_alloc(ops->slab, GFP_ATOMIC | __GFP_NOWARN); in reqsk_alloc() 98 kmem_cache_free(ops->slab, req); in reqsk_alloc() 123 kmem_cache_free(req->rsk_ops->slab, req); in __reqsk_free()
|
D | sock.h | 1357 struct kmem_cache *slab; member
|
/include/trace/events/ |
D | mmflags.h | 117 DEF_PAGEFLAG_NAME(slab), \
|