Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dmbcache.h11 struct mb_cache;
27 struct mb_cache *mb_cache_create(int bucket_bits);
28 void mb_cache_destroy(struct mb_cache *cache);
30 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key,
33 static inline int mb_cache_entry_put(struct mb_cache *cache, in mb_cache_entry_put()
42 void mb_cache_entry_delete(struct mb_cache *cache, u32 key, u64 value);
43 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key,
45 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache,
47 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache,
49 void mb_cache_entry_touch(struct mb_cache *cache,
/Linux-v5.10/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()
128 static struct mb_cache_entry *__entry_find(struct mb_cache *cache, in __entry_find()
168 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache, in mb_cache_entry_find_first()
185 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next()
198 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key, in mb_cache_entry_get()
227 void mb_cache_entry_delete(struct mb_cache *cache, u32 key, u64 value) in mb_cache_entry_delete()
263 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch()
[all …]
/Linux-v5.10/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()
664 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()
1063 struct mb_cache *ext2_xattr_create_cache(void) in ext2_xattr_create_cache()
1068 void ext2_xattr_destroy_cache(struct mb_cache *cache) in ext2_xattr_destroy_cache()
Dext2.h65 struct mb_cache;
117 struct mb_cache *s_ea_block_cache;
/Linux-v5.10/fs/ext4/
Dxattr.h193 extern struct mb_cache *ext4_xattr_create_cache(void);
194 extern void ext4_xattr_destroy_cache(struct mb_cache *);
Dxattr.c77 static void ext4_xattr_block_cache_insert(struct mb_cache *,
471 struct mb_cache *ea_inode_cache = EA_INODE_CACHE(inode); in ext4_xattr_inode_get()
522 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_block_get()
975 struct mb_cache *ea_inode_cache = EA_INODE_CACHE(ea_inode); in ext4_xattr_inode_update_ref()
1225 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_release_block()
1452 struct mb_cache *ea_inode_cache = EA_INODE_CACHE(inode); in ext4_xattr_inode_cache_find()
1842 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_block_set()
2963 ext4_xattr_block_cache_insert(struct mb_cache *ea_block_cache, in ext4_xattr_block_cache_insert()
3038 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_block_cache_find()
3126 struct mb_cache *
[all …]
Dext4.h1595 struct mb_cache *s_ea_block_cache;
1596 struct mb_cache *s_ea_inode_cache;