Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/
Dmbcache.h11 struct mb_cache;
35 struct mb_cache *mb_cache_create(int bucket_bits);
36 void mb_cache_destroy(struct mb_cache *cache);
38 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key,
40 void __mb_cache_entry_free(struct mb_cache *cache,
43 static inline void mb_cache_entry_put(struct mb_cache *cache, in mb_cache_entry_put()
56 struct mb_cache_entry *mb_cache_entry_delete_or_get(struct mb_cache *cache,
58 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key,
60 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache,
62 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache,
[all …]
/Linux-v6.1/fs/
Dmbcache.c28 struct mb_cache { struct
47 static unsigned long mb_cache_shrink(struct mb_cache *cache, argument
50 static inline struct hlist_bl_head *mb_cache_entry_head(struct mb_cache *cache, in mb_cache_entry_head()
74 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key, in mb_cache_entry_create()
126 void __mb_cache_entry_free(struct mb_cache *cache, struct mb_cache_entry *entry) in __mb_cache_entry_free()
151 static struct mb_cache_entry *__entry_find(struct mb_cache *cache, in __entry_find()
190 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache, in mb_cache_entry_find_first()
207 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next()
220 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key, in mb_cache_entry_get()
252 struct mb_cache_entry *mb_cache_entry_delete_or_get(struct mb_cache *cache, in mb_cache_entry_delete_or_get()
[all …]
/Linux-v6.1/fs/ext2/
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()
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()
658 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext2_xattr_release_block()
714 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext2_xattr_set2()
871 ext2_xattr_cache_insert(struct mb_cache *cache, struct buffer_head *bh) in ext2_xattr_cache_insert()
941 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext2_xattr_cache_find()
1049 struct mb_cache *ext2_xattr_create_cache(void) in ext2_xattr_create_cache()
1054 void ext2_xattr_destroy_cache(struct mb_cache *cache) in ext2_xattr_destroy_cache()
Dext2.h67 struct mb_cache;
119 struct mb_cache *s_ea_block_cache;
/Linux-v6.1/fs/ext4/
Dxattr.h207 extern struct mb_cache *ext4_xattr_create_cache(void);
208 extern void ext4_xattr_destroy_cache(struct mb_cache *);
Dxattr.c77 static void ext4_xattr_block_cache_insert(struct mb_cache *,
486 struct mb_cache *ea_inode_cache = EA_INODE_CACHE(inode); in ext4_xattr_inode_get()
537 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_block_get()
1229 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_release_block()
1468 struct mb_cache *ea_inode_cache = EA_INODE_CACHE(inode); in ext4_xattr_inode_cache_find()
1861 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_block_set()
2969 ext4_xattr_block_cache_insert(struct mb_cache *ea_block_cache, in ext4_xattr_block_cache_insert()
3044 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_block_cache_find()
3132 struct mb_cache *
3138 void ext4_xattr_destroy_cache(struct mb_cache *cache) in ext4_xattr_destroy_cache()
Dext4.h1686 struct mb_cache *s_ea_block_cache;
1687 struct mb_cache *s_ea_inode_cache;