Lines Matching refs:cache
131 static void describe_object_addr(struct kmem_cache *cache, void *object, in describe_object_addr() argument
141 object, cache->name, cache->object_size); in describe_object_addr()
149 } else if (access_addr >= object_addr + cache->object_size) { in describe_object_addr()
151 rel_bytes = access_addr - (object_addr + cache->object_size); in describe_object_addr()
159 rel_bytes, rel_type, cache->object_size, (void *)object_addr, in describe_object_addr()
160 (void *)(object_addr + cache->object_size)); in describe_object_addr()
163 static void describe_object_stacks(struct kmem_cache *cache, void *object, in describe_object_stacks() argument
169 alloc_meta = kasan_get_alloc_meta(cache, object); in describe_object_stacks()
175 free_track = kasan_get_free_track(cache, object, tag); in describe_object_stacks()
197 static void describe_object(struct kmem_cache *cache, void *object, in describe_object() argument
201 describe_object_stacks(cache, object, addr, tag); in describe_object()
202 describe_object_addr(cache, object, addr); in describe_object()
229 struct kmem_cache *cache = page->slab_cache; in print_address_description() local
230 void *object = nearest_obj(cache, page, addr); in print_address_description()
232 describe_object(cache, object, addr, tag); in print_address_description()