/linux-master/lib/ |
H A D | radix-tree.h | 4 struct kmem_cache; 7 extern struct kmem_cache *radix_tree_node_cachep;
|
H A D | slub_kunit.c | 19 static struct kmem_cache *test_kmem_cache_create(const char *name, 22 struct kmem_cache *s = kmem_cache_create(name, size, 0, 30 struct kmem_cache *s = test_kmem_cache_create("TestSlub_RZ_alloc", 64, 48 struct kmem_cache *s = test_kmem_cache_create("TestSlub_next_ptr_free", 93 struct kmem_cache *s = test_kmem_cache_create("TestSlub_1th_word_free", 108 struct kmem_cache *s = test_kmem_cache_create("TestSlub_50th_word_free", 124 struct kmem_cache *s = test_kmem_cache_create("TestSlub_RZ_free", 64, 141 struct kmem_cache *s = test_kmem_cache_create("TestSlub_RZ_kmalloc", 32,
|
/linux-master/tools/include/linux/ |
H A D | slab.h | 32 void *kmem_cache_alloc_lru(struct kmem_cache *cachep, struct list_lru *, int flags); 33 static inline void *kmem_cache_alloc(struct kmem_cache *cachep, int flags) 37 void kmem_cache_free(struct kmem_cache *cachep, void *objp); 39 struct kmem_cache *kmem_cache_create(const char *name, unsigned int size, 43 void kmem_cache_free_bulk(struct kmem_cache *cachep, size_t size, void **list); 44 int kmem_cache_alloc_bulk(struct kmem_cache *cachep, gfp_t gfp, size_t size,
|
/linux-master/fs/xfs/ |
H A D | xfs_refcount_item.h | 28 struct kmem_cache; 71 extern struct kmem_cache *xfs_cui_cache; 72 extern struct kmem_cache *xfs_cud_cache;
|
H A D | xfs_rmap_item.h | 31 struct kmem_cache; 71 extern struct kmem_cache *xfs_rui_cache; 72 extern struct kmem_cache *xfs_rud_cache;
|
H A D | xfs_bmap_item.h | 28 struct kmem_cache; 68 extern struct kmem_cache *xfs_bui_cache; 69 extern struct kmem_cache *xfs_bud_cache;
|
H A D | xfs_attr_item.h | 51 extern struct kmem_cache *xfs_attri_cache; 52 extern struct kmem_cache *xfs_attrd_cache;
|
H A D | xfs_extfree_item.h | 12 struct kmem_cache; 88 extern struct kmem_cache *xfs_efi_cache; 89 extern struct kmem_cache *xfs_efd_cache;
|
H A D | xfs_icreate_item.h | 15 extern struct kmem_cache *xfs_icreate_cache; /* inode create item */
|
H A D | xfs_iunlink_item.h | 22 extern struct kmem_cache *xfs_iunlink_cache;
|
/linux-master/mm/ |
H A D | slab.h | 55 struct kmem_cache *slab_cache; 251 struct kmem_cache { struct 312 void sysfs_slab_unlink(struct kmem_cache *s); 313 void sysfs_slab_release(struct kmem_cache *s); 315 static inline void sysfs_slab_unlink(struct kmem_cache *s) { } 316 static inline void sysfs_slab_release(struct kmem_cache *s) { } 319 void *fixup_red_left(struct kmem_cache *s, void *p); 321 static inline void *nearest_obj(struct kmem_cache *cache, 334 static inline unsigned int __obj_to_index(const struct kmem_cache *cache, 341 static inline unsigned int obj_to_index(const struct kmem_cache *cach [all...] |
H A D | slub.c | 55 * 3. kmem_cache->cpu_slab->lock (Local lock) 228 static inline bool kmem_cache_debug(struct kmem_cache *s) 233 static inline bool slub_debug_orig_size(struct kmem_cache *s) 239 void *fixup_red_left(struct kmem_cache *s, void *p) 247 static inline bool kmem_cache_has_cpu_partial(struct kmem_cache *s) 335 static int sysfs_slab_add(struct kmem_cache *); 336 static int sysfs_slab_alias(struct kmem_cache *, const char *); 338 static inline int sysfs_slab_add(struct kmem_cache *s) { return 0; } 339 static inline int sysfs_slab_alias(struct kmem_cache *s, const char *p) 344 static void debugfs_slab_add(struct kmem_cache *); [all...] |
H A D | mm_slot.h | 24 static inline void *mm_slot_alloc(struct kmem_cache *cache) 31 static inline void mm_slot_free(struct kmem_cache *cache, void *objp)
|
/linux-master/include/linux/ |
H A D | kasan.h | 12 struct kmem_cache; 133 void __kasan_unpoison_new_object(struct kmem_cache *cache, void *object); 144 static __always_inline void kasan_unpoison_new_object(struct kmem_cache *cache, 151 void __kasan_poison_new_object(struct kmem_cache *cache, void *object); 161 static __always_inline void kasan_poison_new_object(struct kmem_cache *cache, 168 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache, 171 struct kmem_cache *cache, const void *object) 178 bool __kasan_slab_free(struct kmem_cache *s, void *object, 180 static __always_inline bool kasan_slab_free(struct kmem_cache *s, 195 void * __must_check __kasan_slab_alloc(struct kmem_cache * [all...] |
H A D | kfence.h | 94 void kfence_shutdown_cache(struct kmem_cache *s); 100 void *__kfence_alloc(struct kmem_cache *s, size_t size, gfp_t flags); 104 * @s: struct kmem_cache with object requirements 118 static __always_inline void *kfence_alloc(struct kmem_cache *s, size_t size, gfp_t flags) 142 * corresponding struct kmem_cache. 231 static inline void kfence_shutdown_cache(struct kmem_cache *s) { } 232 static inline void *kfence_alloc(struct kmem_cache *s, size_t size, gfp_t flags) { return NULL; }
|
H A D | taskstats_kern.h | 16 extern struct kmem_cache *taskstats_cache;
|
H A D | fault-inject.h | 92 struct kmem_cache; 105 int should_failslab(struct kmem_cache *s, gfp_t gfpflags); 107 extern bool __should_failslab(struct kmem_cache *s, gfp_t gfpflags); 109 static inline bool __should_failslab(struct kmem_cache *s, gfp_t gfpflags)
|
H A D | kmsan.h | 18 struct kmem_cache; 100 void kmsan_slab_alloc(struct kmem_cache *s, void *object, gfp_t flags); 109 void kmsan_slab_free(struct kmem_cache *s, void *object); 270 static inline void kmsan_slab_alloc(struct kmem_cache *s, void *object, 275 static inline void kmsan_slab_free(struct kmem_cache *s, void *object)
|
/linux-master/drivers/target/iscsi/ |
H A D | iscsi_target.h | 52 extern struct kmem_cache *lio_dr_cache; 53 extern struct kmem_cache *lio_ooo_cache; 54 extern struct kmem_cache *lio_qr_cache; 55 extern struct kmem_cache *lio_r2t_cache;
|
/linux-master/tools/testing/radix-tree/ |
H A D | linux.c | 19 struct kmem_cache { struct 31 void kmem_cache_set_non_kernel(struct kmem_cache *cachep, unsigned int val) 36 unsigned long kmem_cache_get_alloc(struct kmem_cache *cachep) 41 unsigned long kmem_cache_nr_allocated(struct kmem_cache *cachep) 46 unsigned long kmem_cache_nr_tallocated(struct kmem_cache *cachep) 51 void kmem_cache_zero_nr_tallocated(struct kmem_cache *cachep) 56 void *kmem_cache_alloc_lru(struct kmem_cache *cachep, struct list_lru *lru, 96 void __kmem_cache_free_locked(struct kmem_cache *cachep, void *objp) 110 void kmem_cache_free_locked(struct kmem_cache *cachep, void *objp) 119 void kmem_cache_free(struct kmem_cache *cache [all...] |
/linux-master/fs/dlm/ |
H A D | memory.c | 19 static struct kmem_cache *writequeue_cache; 20 static struct kmem_cache *mhandle_cache; 21 static struct kmem_cache *msg_cache; 22 static struct kmem_cache *lkb_cache; 23 static struct kmem_cache *rsb_cache; 24 static struct kmem_cache *cb_cache;
|
H A D | lowcomms.h | 52 struct kmem_cache *dlm_lowcomms_writequeue_cache_create(void); 53 struct kmem_cache *dlm_lowcomms_msg_cache_create(void);
|
/linux-master/include/net/ |
H A D | hotdata.h | 27 struct kmem_cache *skbuff_cache; 28 struct kmem_cache *skbuff_fclone_cache; 29 struct kmem_cache *skb_small_head_cache;
|
/linux-master/drivers/target/ |
H A 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-master/fs/jffs2/ |
H A 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;
|