Home
last modified time | relevance | path

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

/openbmc/linux/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 …]
/openbmc/linux/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 = container_of(shrink, struct mb_cache, in mb_cache_count()
303 static unsigned long mb_cache_shrink(struct mb_cache *cache, in mb_cache_shrink()
336 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_scan()
346 struct mb_cache *cache = container_of(work, struct mb_cache, in mb_cache_shrink_worker()
357 struct mb_cache *mb_cache_create(int bucket_bits) in mb_cache_create()
359 struct mb_cache *cache; in mb_cache_create()
363 cache = kzalloc(sizeof(struct mb_cache), GFP_KERNEL); in mb_cache_create()
[all …]
/openbmc/linux/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;
/openbmc/linux/fs/ext4/
H A Dxattr.h207 extern struct mb_cache *ext4_xattr_create_cache(void);
208 extern void ext4_xattr_destroy_cache(struct mb_cache *);
H A Dxattr.c77 static void ext4_xattr_block_cache_insert(struct mb_cache *,
531 struct mb_cache *ea_inode_cache = EA_INODE_CACHE(inode); in ext4_xattr_inode_get()
582 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_block_get()
1273 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_release_block()
1522 struct mb_cache *ea_inode_cache = EA_INODE_CACHE(inode); in ext4_xattr_inode_cache_find()
1929 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_block_set()
3041 ext4_xattr_block_cache_insert(struct mb_cache *ea_block_cache, in ext4_xattr_block_cache_insert()
3116 struct mb_cache *ea_block_cache = EA_BLOCK_CACHE(inode); in ext4_xattr_block_cache_find()
3228 struct mb_cache *
3234 void ext4_xattr_destroy_cache(struct mb_cache *cache) in ext4_xattr_destroy_cache()
H A Dext4.h1660 struct mb_cache *s_ea_block_cache;
1661 struct mb_cache *s_ea_inode_cache;