Home
last modified time | relevance | path

Searched refs:mb_cache (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/include/linux/
H A Dmbcache.h11 struct mb_cache;
40 struct mb_cache *mb_cache_create(int bucket_bits);
41 void mb_cache_destroy(struct mb_cache *cache);
43 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key,
45 void __mb_cache_entry_free(struct mb_cache *cache,
48 static inline void mb_cache_entry_put(struct mb_cache *cache, in mb_cache_entry_put()
61 struct mb_cache_entry *mb_cache_entry_delete_or_get(struct mb_cache *cache,
63 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key,
65 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache,
67 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache,
[all …]
/linux-6.15/fs/
H A Dmbcache.c28 struct mb_cache { struct
47 static unsigned long mb_cache_shrink(struct mb_cache *cache, argument
286 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch()
296 struct mb_cache *cache = shrink->private_data; in mb_cache_count()
302 static unsigned long mb_cache_shrink(struct mb_cache *cache, in mb_cache_shrink()
335 struct mb_cache *cache = shrink->private_data; in mb_cache_scan()
344 struct mb_cache *cache = container_of(work, struct mb_cache, in mb_cache_shrink_worker()
355 struct mb_cache *mb_cache_create(int bucket_bits) in mb_cache_create()
357 struct mb_cache *cache; in mb_cache_create()
361 cache = kzalloc(sizeof(struct mb_cache), GFP_KERNEL); in mb_cache_create()
[all …]
/linux-6.15/fs/ext2/
H A Dxattr.h57 struct mb_cache;
72 extern struct mb_cache *ext2_xattr_create_cache(void);
73 extern void ext2_xattr_destroy_cache(struct mb_cache *cache);
98 static inline void ext2_xattr_destroy_cache(struct mb_cache *cache) in ext2_xattr_destroy_cache()
H A Dxattr.c95 static int ext2_xattr_cache_insert(struct mb_cache *, struct buffer_head *);
204 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext2_xattr_get()
296 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext2_xattr_list()
656 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext2_xattr_release_block()
712 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext2_xattr_set2()
872 ext2_xattr_cache_insert(struct mb_cache *cache, struct buffer_head *bh) in ext2_xattr_cache_insert()
942 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext2_xattr_cache_find()
1050 struct mb_cache *ext2_xattr_create_cache(void) in ext2_xattr_create_cache()
1055 void ext2_xattr_destroy_cache(struct mb_cache *cache) in ext2_xattr_destroy_cache()
H A Dext2.h67 struct mb_cache;
116 struct mb_cache *s_ea_block_cache;
/linux-6.15/fs/ext4/
H A Dxattr.h209 extern struct mb_cache *ext4_xattr_create_cache(void);
210 extern void ext4_xattr_destroy_cache(struct mb_cache *);
H A Dxattr.c77 static void ext4_xattr_block_cache_insert(struct mb_cache *,
528 struct mb_cache *ea_inode_cache = EA_INODE_CACHE(inode); in ext4_xattr_inode_get()
579 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_block_get()
1265 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_release_block()
1520 struct mb_cache *ea_inode_cache = EA_INODE_CACHE(inode); in ext4_xattr_inode_cache_find()
1897 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_block_set()
3025 ext4_xattr_block_cache_insert(struct mb_cache *ea_block_cache, in ext4_xattr_block_cache_insert()
3099 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_block_cache_find()
3209 struct mb_cache *
3215 void ext4_xattr_destroy_cache(struct mb_cache *cache) in ext4_xattr_destroy_cache()
H A Dext4.h1678 struct mb_cache *s_ea_block_cache;
1679 struct mb_cache *s_ea_inode_cache;