| /Linux-v5.4/mm/ | 
| D | slab.h | 20 struct kmem_cache {  struct37 	struct kmem_cache *entries[0];  argument
 74 	struct kmem_cache *root_cache;
 88 			void (*work_fn)(struct kmem_cache *);
 138 extern struct kmem_cache *kmem_cache;
 152 struct kmem_cache *kmalloc_slab(size_t, gfp_t);
 157 int __kmem_cache_create(struct kmem_cache *, slab_flags_t flags);
 159 struct kmem_cache *create_kmalloc_cache(const char *name, unsigned int size,
 162 extern void create_boot_cache(struct kmem_cache *, const char *name,
 166 int slab_unmergeable(struct kmem_cache *s);
 [all …]
 
 | 
| D | slab_common.c | 34 struct kmem_cache *kmem_cache;  variable79 unsigned int kmem_cache_size(struct kmem_cache *s)  in kmem_cache_size()
 104 void __kmem_cache_free_bulk(struct kmem_cache *s, size_t nr, void **p)  in __kmem_cache_free_bulk()
 116 int __kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t nr,  in __kmem_cache_alloc_bulk()
 138 void slab_init_memcg_params(struct kmem_cache *s)  in slab_init_memcg_params()
 146 static int init_memcg_params(struct kmem_cache *s,  in init_memcg_params()
 147 			     struct kmem_cache *root_cache)  in init_memcg_params()
 179 static void destroy_memcg_params(struct kmem_cache *s)  in destroy_memcg_params()
 198 static int update_memcg_params(struct kmem_cache *s, int new_array_size)  in update_memcg_params()
 221 	struct kmem_cache *s;  in memcg_update_all_caches()
 [all …]
 
 | 
| D | slub.c | 119 static inline int kmem_cache_debug(struct kmem_cache *s)  in kmem_cache_debug()128 void *fixup_red_left(struct kmem_cache *s, void *p)  in fixup_red_left()
 136 static inline bool kmem_cache_has_cpu_partial(struct kmem_cache *s)  in kmem_cache_has_cpu_partial()
 217 static int sysfs_slab_add(struct kmem_cache *);
 218 static int sysfs_slab_alias(struct kmem_cache *, const char *);
 219 static void memcg_propagate_slab_attrs(struct kmem_cache *s);
 220 static void sysfs_slab_remove(struct kmem_cache *s);
 222 static inline int sysfs_slab_add(struct kmem_cache *s) { return 0; }  in sysfs_slab_add()
 223 static inline int sysfs_slab_alias(struct kmem_cache *s, const char *p)  in sysfs_slab_alias()
 225 static inline void memcg_propagate_slab_attrs(struct kmem_cache *s) { }  in memcg_propagate_slab_attrs()
 [all …]
 
 | 
| D | slab.c | 209 static int drain_freelist(struct kmem_cache *cache,211 static void free_block(struct kmem_cache *cachep, void **objpp, int len,
 213 static void slabs_destroy(struct kmem_cache *cachep, struct list_head *list);
 214 static int enable_cpucache(struct kmem_cache *cachep, gfp_t gfp);
 217 static inline void fixup_objfreelist_debug(struct kmem_cache *cachep,
 219 static inline void fixup_slab_list(struct kmem_cache *cachep,
 327 static int obj_offset(struct kmem_cache *cachep)  in obj_offset()
 332 static unsigned long long *dbg_redzone1(struct kmem_cache *cachep, void *objp)  in dbg_redzone1()
 339 static unsigned long long *dbg_redzone2(struct kmem_cache *cachep, void *objp)  in dbg_redzone2()
 350 static void **dbg_userword(struct kmem_cache *cachep, void *objp)  in dbg_userword()
 [all …]
 
 | 
| D | slob.c | 582 int __kmem_cache_create(struct kmem_cache *c, slab_flags_t flags)  in __kmem_cache_create()592 static void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node)  in slob_alloc_node()
 622 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags)  in kmem_cache_alloc()
 635 void *kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t gfp, int node)  in kmem_cache_alloc_node()
 658 void kmem_cache_free(struct kmem_cache *c, void *b)  in kmem_cache_free()
 674 void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p)  in kmem_cache_free_bulk()
 680 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size,  in kmem_cache_alloc_bulk()
 687 int __kmem_cache_shutdown(struct kmem_cache *c)  in __kmem_cache_shutdown()
 693 void __kmem_cache_release(struct kmem_cache *c)  in __kmem_cache_release()
 697 int __kmem_cache_shrink(struct kmem_cache *d)  in __kmem_cache_shrink()
 [all …]
 
 | 
| /Linux-v5.4/include/linux/ | 
| D | kasan.h | 7 struct kmem_cache;46 void kasan_cache_create(struct kmem_cache *cache, unsigned int *size,
 50 void kasan_unpoison_object_data(struct kmem_cache *cache, void *object);
 51 void kasan_poison_object_data(struct kmem_cache *cache, void *object);
 52 void * __must_check kasan_init_slab_obj(struct kmem_cache *cache,
 59 void * __must_check kasan_kmalloc(struct kmem_cache *s, const void *object,
 64 void * __must_check kasan_slab_alloc(struct kmem_cache *s, void *object,
 66 bool kasan_slab_free(struct kmem_cache *s, void *object, unsigned long ip);
 84 size_t kasan_metadata_size(struct kmem_cache *cache);
 102 static inline void kasan_cache_create(struct kmem_cache *cache,  in kasan_cache_create()
 [all …]
 
 | 
| D | slab.h | 147 struct kmem_cache *kmem_cache_create(const char *name, unsigned int size,150 struct kmem_cache *kmem_cache_create_usercopy(const char *name,
 155 void kmem_cache_destroy(struct kmem_cache *);
 156 int kmem_cache_shrink(struct kmem_cache *);
 158 void memcg_create_kmem_cache(struct mem_cgroup *, struct kmem_cache *);
 319 extern struct kmem_cache *
 394 void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment __malloc;
 395 void kmem_cache_free(struct kmem_cache *, void *);
 404 void kmem_cache_free_bulk(struct kmem_cache *, size_t, void **);
 405 int kmem_cache_alloc_bulk(struct kmem_cache *, gfp_t, size_t, void **);
 [all …]
 
 | 
| D | slub_def.h | 82 struct kmem_cache {  struct158 void sysfs_slab_unlink(struct kmem_cache *);  argument
 159 void sysfs_slab_release(struct kmem_cache *);
 161 static inline void sysfs_slab_unlink(struct kmem_cache *s)  in sysfs_slab_unlink()
 164 static inline void sysfs_slab_release(struct kmem_cache *s)  in sysfs_slab_release()
 169 void object_err(struct kmem_cache *s, struct page *page,
 172 void *fixup_red_left(struct kmem_cache *s, void *p);
 174 static inline void *nearest_obj(struct kmem_cache *cache, struct page *page,  in nearest_obj()
 
 | 
| D | fault-inject.h | 65 struct kmem_cache;67 int should_failslab(struct kmem_cache *s, gfp_t gfpflags);
 69 extern bool __should_failslab(struct kmem_cache *s, gfp_t gfpflags);
 71 static inline bool __should_failslab(struct kmem_cache *s, gfp_t gfpflags)  in __should_failslab()
 
 | 
| D | slab_def.h | 11 struct kmem_cache {  struct35 	struct kmem_cache *freelist_cache;  argument
 92 static inline void *nearest_obj(struct kmem_cache *cache, struct page *page,  in nearest_obj()  argument
 110 static inline unsigned int obj_to_index(const struct kmem_cache *cache,  in obj_to_index()
 
 | 
| D | mempool.h | 11 struct kmem_cache;60 mempool_init_slab_pool(mempool_t *pool, int min_nr, struct kmem_cache *kc)  in mempool_init_slab_pool()
 67 mempool_create_slab_pool(int min_nr, struct kmem_cache *kc)  in mempool_create_slab_pool()
 
 | 
| /Linux-v5.4/mm/kasan/ | 
| D | quarantine.c | 126 static struct kmem_cache *qlink_to_cache(struct qlist_node *qlink)  in qlink_to_cache()131 static void *qlink_to_object(struct qlist_node *qlink, struct kmem_cache *cache)  in qlink_to_object()
 140 static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache)  in qlink_free()
 154 static void qlist_free_all(struct qlist_head *q, struct kmem_cache *cache)  in qlist_free_all()
 163 		struct kmem_cache *obj_cache =  in qlist_free_all()
 173 void quarantine_put(struct kasan_free_meta *info, struct kmem_cache *cache)  in quarantine_put()
 266 				   struct kmem_cache *cache)  in qlist_move_cache()
 277 		struct kmem_cache *obj_cache = qlink_to_cache(curr);  in qlist_move_cache()
 290 	struct kmem_cache *cache = arg;  in per_cpu_remove_cache()
 300 void quarantine_remove_cache(struct kmem_cache *cache)  in quarantine_remove_cache()
 
 | 
| D | kasan.h | 123 struct kasan_alloc_meta *get_alloc_info(struct kmem_cache *cache,125 struct kasan_free_meta *get_free_info(struct kmem_cache *cache,
 163 void quarantine_put(struct kasan_free_meta *info, struct kmem_cache *cache);
 165 void quarantine_remove_cache(struct kmem_cache *cache);
 168 				struct kmem_cache *cache) { }  in quarantine_put()
 170 static inline void quarantine_remove_cache(struct kmem_cache *cache) { }  in quarantine_remove_cache()
 
 | 
| D | common.c | 255 void kasan_cache_create(struct kmem_cache *cache, unsigned int *size,  in kasan_cache_create()296 size_t kasan_metadata_size(struct kmem_cache *cache)  in kasan_metadata_size()
 304 struct kasan_alloc_meta *get_alloc_info(struct kmem_cache *cache,  in get_alloc_info()
 310 struct kasan_free_meta *get_free_info(struct kmem_cache *cache,  in get_free_info()
 318 static void kasan_set_free_info(struct kmem_cache *cache,  in kasan_set_free_info()
 345 void kasan_unpoison_object_data(struct kmem_cache *cache, void *object)  in kasan_unpoison_object_data()
 350 void kasan_poison_object_data(struct kmem_cache *cache, void *object)  in kasan_poison_object_data()
 371 static u8 assign_tag(struct kmem_cache *cache, const void *object,  in assign_tag()
 403 void * __must_check kasan_init_slab_obj(struct kmem_cache *cache,  in kasan_init_slab_obj()
 436 static bool __kasan_slab_free(struct kmem_cache *cache, void *object,  in __kasan_slab_free()
 [all …]
 
 | 
| /Linux-v5.4/fs/jffs2/ | 
| D | malloc.c | 22 static struct kmem_cache *full_dnode_slab;23 static struct kmem_cache *raw_dirent_slab;
 24 static struct kmem_cache *raw_inode_slab;
 25 static struct kmem_cache *tmp_dnode_info_slab;
 26 static struct kmem_cache *raw_node_ref_slab;
 27 static struct kmem_cache *node_frag_slab;
 28 static struct kmem_cache *inode_cache_slab;
 30 static struct kmem_cache *xattr_datum_cache;
 31 static struct kmem_cache *xattr_ref_cache;
 
 | 
| /Linux-v5.4/tools/testing/radix-tree/ | 
| D | linux.c | 20 struct kmem_cache {  struct28 void *kmem_cache_alloc(struct kmem_cache *cachep, int flags)  in kmem_cache_alloc()  argument
 55 void kmem_cache_free(struct kmem_cache *cachep, void *objp)  in kmem_cache_free()
 100 struct kmem_cache *
 104 	struct kmem_cache *ret = malloc(sizeof(*ret));  in kmem_cache_create()
 
 | 
| /Linux-v5.4/fs/gfs2/ | 
| D | util.c | 22 struct kmem_cache *gfs2_glock_cachep __read_mostly;23 struct kmem_cache *gfs2_glock_aspace_cachep __read_mostly;
 24 struct kmem_cache *gfs2_inode_cachep __read_mostly;
 25 struct kmem_cache *gfs2_bufdata_cachep __read_mostly;
 26 struct kmem_cache *gfs2_rgrpd_cachep __read_mostly;
 27 struct kmem_cache *gfs2_quotad_cachep __read_mostly;
 28 struct kmem_cache *gfs2_qadata_cachep __read_mostly;
 
 | 
| D | util.h | 147 extern struct kmem_cache *gfs2_glock_cachep;148 extern struct kmem_cache *gfs2_glock_aspace_cachep;
 149 extern struct kmem_cache *gfs2_inode_cachep;
 150 extern struct kmem_cache *gfs2_bufdata_cachep;
 151 extern struct kmem_cache *gfs2_rgrpd_cachep;
 152 extern struct kmem_cache *gfs2_quotad_cachep;
 153 extern struct kmem_cache *gfs2_qadata_cachep;
 
 | 
| /Linux-v5.4/drivers/target/ | 
| D | target_core_alua.h | 79 extern struct kmem_cache *t10_alua_lu_gp_cache;80 extern struct kmem_cache *t10_alua_lu_gp_mem_cache;
 81 extern struct kmem_cache *t10_alua_tg_pt_gp_cache;
 82 extern struct kmem_cache *t10_alua_lba_map_cache;
 83 extern struct kmem_cache *t10_alua_lba_map_mem_cache;
 
 | 
| /Linux-v5.4/drivers/target/iscsi/ | 
| D | iscsi_target.h | 53 extern struct kmem_cache *lio_dr_cache;54 extern struct kmem_cache *lio_ooo_cache;
 55 extern struct kmem_cache *lio_qr_cache;
 56 extern struct kmem_cache *lio_r2t_cache;
 
 | 
| /Linux-v5.4/fs/ntfs/ | 
| D | ntfs.h | 38 extern struct kmem_cache *ntfs_name_cache;39 extern struct kmem_cache *ntfs_inode_cache;
 40 extern struct kmem_cache *ntfs_big_inode_cache;
 41 extern struct kmem_cache *ntfs_attr_ctx_cache;
 42 extern struct kmem_cache *ntfs_index_ctx_cache;
 
 | 
| /Linux-v5.4/tools/testing/radix-tree/linux/ | 
| D | slab.h | 20 void *kmem_cache_alloc(struct kmem_cache *cachep, int flags);21 void kmem_cache_free(struct kmem_cache *cachep, void *objp);
 23 struct kmem_cache *
 
 | 
| /Linux-v5.4/fs/ecryptfs/ | 
| D | ecryptfs_kernel.h | 548 extern struct kmem_cache *ecryptfs_auth_tok_list_item_cache;549 extern struct kmem_cache *ecryptfs_file_info_cache;
 550 extern struct kmem_cache *ecryptfs_dentry_info_cache;
 551 extern struct kmem_cache *ecryptfs_inode_info_cache;
 552 extern struct kmem_cache *ecryptfs_sb_info_cache;
 553 extern struct kmem_cache *ecryptfs_header_cache;
 554 extern struct kmem_cache *ecryptfs_xattr_cache;
 555 extern struct kmem_cache *ecryptfs_key_record_cache;
 556 extern struct kmem_cache *ecryptfs_key_sig_cache;
 557 extern struct kmem_cache *ecryptfs_global_auth_tok_cache;
 [all …]
 
 | 
| /Linux-v5.4/include/linux/ceph/ | 
| D | libceph.h | 269 extern struct kmem_cache *ceph_inode_cachep;270 extern struct kmem_cache *ceph_cap_cachep;
 271 extern struct kmem_cache *ceph_cap_flush_cachep;
 272 extern struct kmem_cache *ceph_dentry_cachep;
 273 extern struct kmem_cache *ceph_file_cachep;
 274 extern struct kmem_cache *ceph_dir_file_cachep;
 
 | 
| /Linux-v5.4/fs/notify/fanotify/ | 
| D | fanotify.h | 7 extern struct kmem_cache *fanotify_mark_cache;8 extern struct kmem_cache *fanotify_event_cachep;
 9 extern struct kmem_cache *fanotify_perm_event_cachep;
 
 |