Home
last modified time | relevance | path

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

12

/fs/cachefiles/
Ddaemon.c85 struct cachefiles_cache *cache; in cachefiles_daemon_open() local
131 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_release() local
160 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_read() local
217 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_write() local
293 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_poll() local
312 static int cachefiles_daemon_range_error(struct cachefiles_cache *cache, in cachefiles_daemon_range_error()
324 static int cachefiles_daemon_frun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_frun()
348 static int cachefiles_daemon_fcull(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_fcull()
372 static int cachefiles_daemon_fstop(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_fstop()
396 static int cachefiles_daemon_brun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_brun()
[all …]
Dinterface.c28 struct cachefiles_cache *cache; in cachefiles_alloc_object() local
123 struct cachefiles_cache *cache; in cachefiles_lookup_object() local
208 struct cachefiles_cache *cache; in cachefiles_update_object() local
264 struct cachefiles_cache *cache; in cachefiles_drop_object() local
326 struct fscache_cache *cache; in cachefiles_put_object() local
378 struct cachefiles_cache *cache; in cachefiles_sync_cache() local
408 struct cachefiles_cache *cache; in cachefiles_check_consistency() local
433 struct cachefiles_cache *cache; in cachefiles_attr_changed() local
502 struct cachefiles_cache *cache; in cachefiles_invalidate_object() local
546 static void cachefiles_dissociate_pages(struct fscache_cache *cache) in cachefiles_dissociate_pages()
Dnamei.c84 static void cachefiles_mark_object_buried(struct cachefiles_cache *cache, in cachefiles_mark_object_buried()
136 static int cachefiles_mark_object_active(struct cachefiles_cache *cache, in cachefiles_mark_object_active()
256 void cachefiles_mark_object_inactive(struct cachefiles_cache *cache, in cachefiles_mark_object_inactive()
287 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
754 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, in cachefiles_get_directory()
863 static struct dentry *cachefiles_check_active(struct cachefiles_cache *cache, in cachefiles_check_active()
950 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull()
1010 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
Dsecurity.c16 int cachefiles_get_security_ID(struct cachefiles_cache *cache) in cachefiles_get_security_ID()
49 static int cachefiles_check_cache_dir(struct cachefiles_cache *cache, in cachefiles_check_cache_dir()
75 int cachefiles_determine_cache_security(struct cachefiles_cache *cache, in cachefiles_determine_cache_security()
Dbind.c27 int cachefiles_daemon_bind(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_bind()
81 static int cachefiles_daemon_add_cache(struct cachefiles_cache *cache) in cachefiles_daemon_add_cache()
255 void cachefiles_daemon_unbind(struct cachefiles_cache *cache) in cachefiles_daemon_unbind()
Drdwr.c397 struct cachefiles_cache *cache; in cachefiles_read_or_alloc_page() local
688 struct cachefiles_cache *cache; in cachefiles_read_or_alloc_pages() local
802 struct cachefiles_cache *cache; in cachefiles_allocate_page() local
840 struct cachefiles_cache *cache; in cachefiles_allocate_pages() local
883 struct cachefiles_cache *cache; in cachefiles_write_page() local
Dinternal.h56 struct fscache_cache cache; /* FS-Cache record */ member
128 static inline void cachefiles_state_changed(struct cachefiles_cache *cache) in cachefiles_state_changed()
228 static inline void cachefiles_begin_secure(struct cachefiles_cache *cache, in cachefiles_begin_secure()
234 static inline void cachefiles_end_secure(struct cachefiles_cache *cache, in cachefiles_end_secure()
Dxattr.c307 int cachefiles_remove_object_xattr(struct cachefiles_cache *cache, in cachefiles_remove_object_xattr()
/fs/
Dmbcache.c50 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()
273 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count() local
280 static unsigned long mb_cache_shrink(struct mb_cache *cache, in mb_cache_shrink()
[all …]
/fs/btrfs/tests/
Dfree-space-tests.c20 static int test_extents(struct btrfs_block_group_cache *cache) in test_extents()
90 static int test_bitmaps(struct btrfs_block_group_cache *cache, in test_bitmaps()
159 static int test_bitmaps_and_extents(struct btrfs_block_group_cache *cache, in test_bitmaps_and_extents()
334 check_num_extents_and_bitmaps(const struct btrfs_block_group_cache *cache, in check_num_extents_and_bitmaps()
354 static int check_cache_empty(struct btrfs_block_group_cache *cache) in check_cache_empty()
396 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group_cache *cache, in test_steal_space_from_bitmap_to_extent()
832 struct btrfs_block_group_cache *cache; in btrfs_test_free_space_cache() local
Dfree-space-tree-tests.c21 struct btrfs_block_group_cache *cache, in __check_free_space_extents()
110 struct btrfs_block_group_cache *cache, in check_free_space_extents()
153 struct btrfs_block_group_cache *cache, in test_empty_block_group()
167 struct btrfs_block_group_cache *cache, in test_remove_all()
188 struct btrfs_block_group_cache *cache, in test_remove_beginning()
212 struct btrfs_block_group_cache *cache, in test_remove_end()
236 struct btrfs_block_group_cache *cache, in test_remove_middle()
261 struct btrfs_block_group_cache *cache, in test_merge_left()
299 struct btrfs_block_group_cache *cache, in test_merge_right()
338 struct btrfs_block_group_cache *cache, in test_merge_both()
[all …]
Dbtrfs-tests.c209 struct btrfs_block_group_cache *cache; in btrfs_alloc_dummy_block_group() local
236 void btrfs_free_dummy_block_group(struct btrfs_block_group_cache *cache) in btrfs_free_dummy_block_group()
/fs/fscache/
Dcache.c95 struct fscache_cache *cache; in fscache_select_cache_for_object() local
178 void fscache_init_cache(struct fscache_cache *cache, in fscache_init_cache()
213 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache()
313 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error()
325 static void fscache_withdraw_all_objects(struct fscache_cache *cache, in fscache_withdraw_all_objects()
361 void fscache_withdraw_cache(struct fscache_cache *cache) in fscache_withdraw_cache()
Dcookie.c397 struct fscache_cache *cache; in fscache_acquire_non_index_cookie() local
477 static int fscache_alloc_object(struct fscache_cache *cache, in fscache_alloc_object()
555 struct fscache_cache *cache = object->cache; in fscache_attach_object() local
Doperation.c496 struct fscache_cache *cache; in fscache_put_operation() local
565 struct fscache_cache *cache = in fscache_operation_gc() local
Dobject.c303 struct fscache_cache *cache) in fscache_object_init()
704 struct fscache_cache *cache = object->cache; in fscache_drop_object() local
/fs/btrfs/
Dblock-group.c123 void btrfs_get_block_group(struct btrfs_block_group_cache *cache) in btrfs_get_block_group()
128 void btrfs_put_block_group(struct btrfs_block_group_cache *cache) in btrfs_put_block_group()
156 struct btrfs_block_group_cache *cache; in btrfs_add_block_group_cache() local
194 struct btrfs_block_group_cache *cache, *ret = NULL; in block_group_cache_tree_search() local
251 struct btrfs_block_group_cache *cache) in btrfs_next_block_group()
360 struct btrfs_block_group_cache *cache) in btrfs_get_caching_control()
395 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group_cache *cache, in btrfs_wait_block_group_cache_progress()
410 int btrfs_wait_block_group_cache_done(struct btrfs_block_group_cache *cache) in btrfs_wait_block_group_cache_done()
680 int btrfs_cache_block_group(struct btrfs_block_group_cache *cache, in btrfs_cache_block_group()
1182 static int inc_block_group_ro(struct btrfs_block_group_cache *cache, int force) in inc_block_group_ro()
[all …]
Drelocation.c200 static void backref_cache_init(struct backref_cache *cache) in backref_cache_init()
211 static void backref_cache_cleanup(struct backref_cache *cache) in backref_cache_cleanup()
239 static struct backref_node *alloc_backref_node(struct backref_cache *cache) in alloc_backref_node()
254 static void free_backref_node(struct backref_cache *cache, in free_backref_node()
263 static struct backref_edge *alloc_backref_edge(struct backref_cache *cache) in alloc_backref_edge()
273 static void free_backref_edge(struct backref_cache *cache, in free_backref_edge()
418 static void remove_backref_node(struct backref_cache *cache, in remove_backref_node()
456 static void update_backref_node(struct backref_cache *cache, in update_backref_node()
471 struct backref_cache *cache) in update_backref_cache()
686 struct backref_cache *cache = &rc->backref_cache; in build_backref_tree() local
[all …]
Dextent-tree.c57 static int block_group_bits(struct btrfs_block_group_cache *cache, u64 bits) in block_group_bits()
73 void btrfs_free_excluded_extents(struct btrfs_block_group_cache *cache) in btrfs_free_excluded_extents()
2549 struct btrfs_block_group_cache *cache; in first_logical_byte() local
2569 static int pin_down_extent(struct btrfs_block_group_cache *cache, in pin_down_extent()
2599 struct btrfs_block_group_cache *cache; in btrfs_pin_extent() local
2616 struct btrfs_block_group_cache *cache; in btrfs_pin_extent_for_log_replay() local
2729 struct btrfs_block_group_cache *cache; in btrfs_prepare_extent_commit() local
2788 struct btrfs_block_group_cache *cache = NULL; in unpin_extent_range() local
3266 struct btrfs_block_group_cache *cache; in btrfs_free_tree_block() local
3353 btrfs_lock_block_group(struct btrfs_block_group_cache *cache, in btrfs_lock_block_group()
[all …]
/fs/squashfs/
Dcache.c53 struct squashfs_cache *cache, u64 block, int length) in squashfs_cache_get()
175 struct squashfs_cache *cache = entry->cache; in squashfs_cache_put() local
197 void squashfs_cache_delete(struct squashfs_cache *cache) in squashfs_cache_delete()
227 struct squashfs_cache *cache = kzalloc(sizeof(*cache), GFP_KERNEL); in squashfs_cache_init() local
/fs/fat/
Dcache.c41 struct fat_cache *cache = (struct fat_cache *)foo; in init_once() local
67 static inline void fat_cache_free(struct fat_cache *cache) in fat_cache_free()
74 struct fat_cache *cache) in fat_cache_update_lru()
136 struct fat_cache *cache, *tmp; in fat_cache_add() local
189 struct fat_cache *cache; in __fat_cache_inval_inode() local
/fs/nilfs2/
Dalloc.c263 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_desc_block() local
282 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_bitmap_block() local
298 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_delete_bitmap_block() local
316 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_entry_block() local
331 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_delete_entry_block() local
838 struct nilfs_palloc_cache *cache) in nilfs_palloc_setup_cache()
846 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_clear_cache() local
/fs/overlayfs/
Dreaddir.c55 struct ovl_dir_cache *cache; member
230 struct ovl_dir_cache *cache = ovl_dir_cache(inode); in ovl_dir_cache_free() local
240 struct ovl_dir_cache *cache = od->cache; in ovl_cache_put() local
337 struct ovl_dir_cache *cache = od->cache; in ovl_dir_reset() local
408 struct ovl_dir_cache *cache; in ovl_cache_get() local
594 struct ovl_dir_cache *cache; in ovl_cache_get_impure() local
637 struct ovl_dir_cache *cache; member
750 struct ovl_dir_cache *cache; in ovl_iterate() local
/fs/nfs/
Ddir.c2161 struct nfs_access_entry *cache; in nfs_access_free_list() local
2175 struct nfs_access_entry *cache; in nfs_do_access_cache_scan() local
2300 struct nfs_access_entry *cache; in nfs_access_get_cached() local
2346 struct nfs_access_entry *cache; in nfs_access_get_cached_rcu() local
2407 struct nfs_access_entry *cache = kmalloc(sizeof(*cache), GFP_KERNEL); in nfs_access_add_cache() local
2477 struct nfs_access_entry cache; in nfs_do_access() local
/fs/ext2/
Dxattr.c858 ext2_xattr_cache_insert(struct mb_cache *cache, struct buffer_head *bh) in ext2_xattr_cache_insert()
1056 void ext2_xattr_destroy_cache(struct mb_cache *cache) in ext2_xattr_destroy_cache()

12