Home
last modified time | relevance | path

Searched defs:cache (Results 1 – 25 of 46) sorted by relevance

12

/fs/cachefiles/
Ddaemon.c89 struct cachefiles_cache *cache; in cachefiles_daemon_open() local
135 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_release() local
164 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_read() local
221 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_write() local
297 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_poll() local
316 static int cachefiles_daemon_range_error(struct cachefiles_cache *cache, in cachefiles_daemon_range_error()
328 static int cachefiles_daemon_frun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_frun()
352 static int cachefiles_daemon_fcull(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_fcull()
376 static int cachefiles_daemon_fstop(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_fstop()
400 static int cachefiles_daemon_brun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_brun()
[all …]
Dinterface.c32 struct cachefiles_cache *cache; in cachefiles_alloc_object() local
121 struct cachefiles_cache *cache; in cachefiles_lookup_object() local
202 struct cachefiles_cache *cache; in cachefiles_update_object() local
254 struct cachefiles_cache *cache; in cachefiles_drop_object() local
315 struct fscache_cache *cache; in cachefiles_put_object() local
362 struct cachefiles_cache *cache; in cachefiles_sync_cache() local
392 struct cachefiles_cache *cache; in cachefiles_check_consistency() local
417 struct cachefiles_cache *cache; in cachefiles_attr_changed() local
486 struct cachefiles_cache *cache; in cachefiles_invalidate_object() local
531 static void cachefiles_dissociate_pages(struct fscache_cache *cache) in cachefiles_dissociate_pages()
Dnamei.c100 static void cachefiles_mark_object_buried(struct cachefiles_cache *cache, in cachefiles_mark_object_buried()
149 static int cachefiles_mark_object_active(struct cachefiles_cache *cache, in cachefiles_mark_object_active()
264 void cachefiles_mark_object_inactive(struct cachefiles_cache *cache, in cachefiles_mark_object_inactive()
290 static int cachefiles_bury_object(struct cachefiles_cache *cache, in cachefiles_bury_object()
435 int cachefiles_delete_object(struct cachefiles_cache *cache, in cachefiles_delete_object()
487 struct cachefiles_cache *cache; in cachefiles_walk_to_object() local
740 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, in cachefiles_get_directory()
844 static struct dentry *cachefiles_check_active(struct cachefiles_cache *cache, in cachefiles_check_active()
931 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull()
991 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
Dsecurity.c20 int cachefiles_get_security_ID(struct cachefiles_cache *cache) in cachefiles_get_security_ID()
53 static int cachefiles_check_cache_dir(struct cachefiles_cache *cache, in cachefiles_check_cache_dir()
79 int cachefiles_determine_cache_security(struct cachefiles_cache *cache, in cachefiles_determine_cache_security()
Dbind.c31 int cachefiles_daemon_bind(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_bind()
85 static int cachefiles_daemon_add_cache(struct cachefiles_cache *cache) in cachefiles_daemon_add_cache()
258 void cachefiles_daemon_unbind(struct cachefiles_cache *cache) in cachefiles_daemon_unbind()
Drdwr.c395 struct cachefiles_cache *cache; in cachefiles_read_or_alloc_page() local
681 struct cachefiles_cache *cache; in cachefiles_read_or_alloc_pages() local
795 struct cachefiles_cache *cache; in cachefiles_allocate_page() local
833 struct cachefiles_cache *cache; in cachefiles_allocate_pages() local
876 struct cachefiles_cache *cache; in cachefiles_write_page() local
959 struct cachefiles_cache *cache; in cachefiles_uncache_page() local
Dinternal.h59 struct fscache_cache cache; /* FS-Cache record */ member
129 static inline void cachefiles_state_changed(struct cachefiles_cache *cache) in cachefiles_state_changed()
229 static inline void cachefiles_begin_secure(struct cachefiles_cache *cache, in cachefiles_begin_secure()
235 static inline void cachefiles_end_secure(struct cachefiles_cache *cache, in cachefiles_end_secure()
Dxattr.c306 int cachefiles_remove_object_xattr(struct cachefiles_cache *cache, in cachefiles_remove_object_xattr()
/fs/
Dmbcache.c48 static inline struct hlist_bl_head *mb_cache_entry_head(struct mb_cache *cache, in mb_cache_entry_head()
72 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key, in mb_cache_entry_create()
126 static struct mb_cache_entry *__entry_find(struct mb_cache *cache, in __entry_find()
166 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache, in mb_cache_entry_find_first()
183 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next()
196 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key, in mb_cache_entry_get()
225 void mb_cache_entry_delete_block(struct mb_cache *cache, u32 key, in mb_cache_entry_delete_block()
260 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch()
270 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count() local
277 static unsigned long mb_cache_shrink(struct mb_cache *cache, in mb_cache_shrink()
[all …]
/fs/btrfs/tests/
Dfree-space-tests.c32 static int test_extents(struct btrfs_block_group_cache *cache) in test_extents()
102 static int test_bitmaps(struct btrfs_block_group_cache *cache, in test_bitmaps()
171 static int test_bitmaps_and_extents(struct btrfs_block_group_cache *cache, in test_bitmaps_and_extents()
346 check_num_extents_and_bitmaps(const struct btrfs_block_group_cache *cache, in check_num_extents_and_bitmaps()
364 static int check_cache_empty(struct btrfs_block_group_cache *cache) in check_cache_empty()
406 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group_cache *cache, in test_steal_space_from_bitmap_to_extent()
841 struct btrfs_block_group_cache *cache; in btrfs_test_free_space_cache() local
Dfree-space-tree-tests.c33 struct btrfs_block_group_cache *cache, in __check_free_space_extents()
122 struct btrfs_block_group_cache *cache, in check_free_space_extents()
165 struct btrfs_block_group_cache *cache, in test_empty_block_group()
179 struct btrfs_block_group_cache *cache, in test_remove_all()
200 struct btrfs_block_group_cache *cache, in test_remove_beginning()
224 struct btrfs_block_group_cache *cache, in test_remove_end()
248 struct btrfs_block_group_cache *cache, in test_remove_middle()
273 struct btrfs_block_group_cache *cache, in test_merge_left()
311 struct btrfs_block_group_cache *cache, in test_merge_right()
350 struct btrfs_block_group_cache *cache, in test_merge_both()
[all …]
Dbtrfs-tests.c194 struct btrfs_block_group_cache *cache; in btrfs_alloc_dummy_block_group() local
221 void btrfs_free_dummy_block_group(struct btrfs_block_group_cache *cache) in btrfs_free_dummy_block_group()
/fs/fscache/
Dcache.c99 struct fscache_cache *cache; in fscache_select_cache_for_object() local
182 void fscache_init_cache(struct fscache_cache *cache, in fscache_init_cache()
217 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache()
317 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error()
329 static void fscache_withdraw_all_objects(struct fscache_cache *cache, in fscache_withdraw_all_objects()
365 void fscache_withdraw_cache(struct fscache_cache *cache) in fscache_withdraw_cache()
Dcookie.c194 struct fscache_cache *cache; in fscache_acquire_non_index_cookie() local
278 static int fscache_alloc_object(struct fscache_cache *cache, in fscache_alloc_object()
355 struct fscache_cache *cache = object->cache; in fscache_attach_object() local
Doperation.c481 struct fscache_cache *cache; in fscache_put_operation() local
547 struct fscache_cache *cache = in fscache_operation_gc() local
Dobject.c298 struct fscache_cache *cache) in fscache_object_init()
698 struct fscache_cache *cache = object->cache; in fscache_drop_object() local
/fs/squashfs/
Dcache.c66 struct squashfs_cache *cache, u64 block, int length) in squashfs_cache_get()
188 struct squashfs_cache *cache = entry->cache; in squashfs_cache_put() local
210 void squashfs_cache_delete(struct squashfs_cache *cache) in squashfs_cache_delete()
237 struct squashfs_cache *cache = kzalloc(sizeof(*cache), GFP_KERNEL); in squashfs_cache_init() local
/fs/fat/
Dcache.c40 struct fat_cache *cache = (struct fat_cache *)foo; in init_once() local
66 static inline void fat_cache_free(struct fat_cache *cache) in fat_cache_free()
73 struct fat_cache *cache) in fat_cache_update_lru()
135 struct fat_cache *cache, *tmp; in fat_cache_add() local
188 struct fat_cache *cache; in __fat_cache_inval_inode() local
/fs/nilfs2/
Dalloc.c272 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_desc_block() local
291 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_bitmap_block() local
307 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_delete_bitmap_block() local
325 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_entry_block() local
340 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_delete_entry_block() local
847 struct nilfs_palloc_cache *cache) in nilfs_palloc_setup_cache()
855 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_clear_cache() local
/fs/btrfs/
Dextent-tree.c113 block_group_cache_done(struct btrfs_block_group_cache *cache) in block_group_cache_done()
120 static int block_group_bits(struct btrfs_block_group_cache *cache, u64 bits) in block_group_bits()
125 void btrfs_get_block_group(struct btrfs_block_group_cache *cache) in btrfs_get_block_group()
130 void btrfs_put_block_group(struct btrfs_block_group_cache *cache) in btrfs_put_block_group()
149 struct btrfs_block_group_cache *cache; in btrfs_add_block_group_cache() local
188 struct btrfs_block_group_cache *cache, *ret = NULL; in block_group_cache_tree_search() local
238 struct btrfs_block_group_cache *cache) in free_excluded_extents()
252 struct btrfs_block_group_cache *cache) in exclude_super_stripes()
309 get_caching_control(struct btrfs_block_group_cache *cache) in get_caching_control()
590 static int cache_block_group(struct btrfs_block_group_cache *cache, in cache_block_group()
[all …]
Drelocation.c208 static void backref_cache_init(struct backref_cache *cache) in backref_cache_init()
219 static void backref_cache_cleanup(struct backref_cache *cache) in backref_cache_cleanup()
247 static struct backref_node *alloc_backref_node(struct backref_cache *cache) in alloc_backref_node()
262 static void free_backref_node(struct backref_cache *cache, in free_backref_node()
271 static struct backref_edge *alloc_backref_edge(struct backref_cache *cache) in alloc_backref_edge()
281 static void free_backref_edge(struct backref_cache *cache, in free_backref_edge()
426 static void remove_backref_node(struct backref_cache *cache, in remove_backref_node()
464 static void update_backref_node(struct backref_cache *cache, in update_backref_node()
479 struct backref_cache *cache) in update_backref_cache()
686 struct backref_cache *cache = &rc->backref_cache; local
[all …]
/fs/overlayfs/
Dreaddir.c53 struct ovl_dir_cache *cache; member
177 struct ovl_dir_cache *cache = od->cache; in ovl_cache_put() local
262 struct ovl_dir_cache *cache = od->cache; in ovl_dir_reset() local
327 struct ovl_dir_cache *cache; in ovl_cache_get() local
369 struct ovl_dir_cache *cache; in ovl_iterate() local
/fs/nfs/
Ddir.c2132 struct nfs_access_entry *cache; in nfs_access_free_list() local
2146 struct nfs_access_entry *cache; in nfs_do_access_cache_scan() local
2270 struct nfs_access_entry *cache; in nfs_access_get_cached() local
2318 struct nfs_access_entry *cache; in nfs_access_get_cached_rcu() local
2378 struct nfs_access_entry *cache = kmalloc(sizeof(*cache), GFP_KERNEL); in nfs_access_add_cache() local
2425 struct nfs_access_entry cache; in nfs_do_access() local
/fs/ext2/
Dxattr.c830 ext2_xattr_cache_insert(struct mb_cache *cache, struct buffer_head *bh) in ext2_xattr_cache_insert()
1027 void ext2_xattr_destroy_cache(struct mb_cache *cache) in ext2_xattr_destroy_cache()
Dxattr.h97 static inline void ext2_xattr_destroy_cache(struct mb_cache *cache) in ext2_xattr_destroy_cache()

12