Home
last modified time | relevance | path

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

123

/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()
257 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
801 struct cachefiles_cache *cache; in cachefiles_allocate_page() local
839 struct cachefiles_cache *cache; in cachefiles_allocate_pages() local
882 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()
127 void __mb_cache_entry_free(struct mb_cache *cache, struct mb_cache_entry *entry) in __mb_cache_entry_free()
152 static struct mb_cache_entry *__entry_find(struct mb_cache *cache, in __entry_find()
192 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache, in mb_cache_entry_find_first()
209 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next()
222 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key, in mb_cache_entry_get()
250 void mb_cache_entry_delete(struct mb_cache *cache, u32 key, u64 value) in mb_cache_entry_delete()
291 struct mb_cache_entry *mb_cache_entry_delete_or_get(struct mb_cache *cache, in mb_cache_entry_delete_or_get()
323 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch()
[all …]
/fs/nfs/
Dnfs42xattr.c64 struct nfs4_xattr_cache *cache; member
106 nfs4_xattr_hash_init(struct nfs4_xattr_cache *cache) in nfs4_xattr_hash_init()
270 struct nfs4_xattr_cache *cache; in nfs4_xattr_free_cache_cb() local
290 struct nfs4_xattr_cache *cache; in nfs4_xattr_alloc_cache() local
310 nfs4_xattr_set_listcache(struct nfs4_xattr_cache *cache, in nfs4_xattr_set_listcache()
385 nfs4_xattr_discard_cache(struct nfs4_xattr_cache *cache) in nfs4_xattr_discard_cache()
430 struct nfs4_xattr_cache *cache, *oldcache, *newcache; in nfs4_xattr_get_cache() local
505 nfs4_xattr_hash_bucket(struct nfs4_xattr_cache *cache, const char *name) in nfs4_xattr_hash_bucket()
527 nfs4_xattr_hash_add(struct nfs4_xattr_cache *cache, in nfs4_xattr_hash_add()
565 nfs4_xattr_hash_remove(struct nfs4_xattr_cache *cache, const char *name) in nfs4_xattr_hash_remove()
[all …]
/fs/btrfs/tests/
Dfree-space-tests.c20 static int test_extents(struct btrfs_block_group *cache) in test_extents()
90 static int test_bitmaps(struct btrfs_block_group *cache, u32 sectorsize) in test_bitmaps()
158 static int test_bitmaps_and_extents(struct btrfs_block_group *cache, in test_bitmaps_and_extents()
333 check_num_extents_and_bitmaps(const struct btrfs_block_group *cache, in check_num_extents_and_bitmaps()
353 static int check_cache_empty(struct btrfs_block_group *cache) in check_cache_empty()
395 test_steal_space_from_bitmap_to_extent(struct btrfs_block_group *cache, in test_steal_space_from_bitmap_to_extent()
831 struct btrfs_block_group *cache; in btrfs_test_free_space_cache() local
Dfree-space-tree-tests.c21 struct btrfs_block_group *cache, in __check_free_space_extents()
108 struct btrfs_block_group *cache, in check_free_space_extents()
151 struct btrfs_block_group *cache, in test_empty_block_group()
165 struct btrfs_block_group *cache, in test_remove_all()
186 struct btrfs_block_group *cache, in test_remove_beginning()
209 struct btrfs_block_group *cache, in test_remove_end()
232 struct btrfs_block_group *cache, in test_remove_middle()
256 struct btrfs_block_group *cache, in test_merge_left()
293 struct btrfs_block_group *cache, in test_merge_right()
331 struct btrfs_block_group *cache, in test_merge_both()
[all …]
Dbtrfs-tests.c207 struct btrfs_block_group *cache; in btrfs_alloc_dummy_block_group() local
233 void btrfs_free_dummy_block_group(struct btrfs_block_group *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.c385 struct fscache_cache *cache; in fscache_acquire_non_index_cookie() local
465 static int fscache_alloc_object(struct fscache_cache *cache, in fscache_alloc_object()
543 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) in btrfs_get_block_group()
128 void btrfs_put_block_group(struct btrfs_block_group *cache) in btrfs_put_block_group()
165 struct btrfs_block_group *cache; in btrfs_add_block_group_cache() local
204 struct btrfs_block_group *cache, *ret = NULL; in block_group_cache_tree_search() local
260 struct btrfs_block_group *cache) in btrfs_next_block_group()
368 struct btrfs_block_group *cache) in btrfs_get_caching_control()
403 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache, in btrfs_wait_block_group_cache_progress()
418 int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache) in btrfs_wait_block_group_cache_done()
693 int btrfs_cache_block_group(struct btrfs_block_group *cache, int load_cache_only) in btrfs_cache_block_group()
1230 static int inc_block_group_ro(struct btrfs_block_group *cache, int force) in inc_block_group_ro()
[all …]
Dbackref.c2544 struct btrfs_backref_cache *cache, int is_reloc)
2561 struct btrfs_backref_cache *cache, u64 bytenr, int level)
2582 struct btrfs_backref_cache *cache)
2599 void btrfs_backref_cleanup_node(struct btrfs_backref_cache *cache,
2633 void btrfs_backref_release_cache(struct btrfs_backref_cache *cache)
2675 static int handle_direct_tree_backref(struct btrfs_backref_cache *cache,
2747 static int handle_indirect_tree_backref(struct btrfs_backref_cache *cache,
2913 int btrfs_backref_add_tree_node(struct btrfs_backref_cache *cache,
3039 int btrfs_backref_finish_upper_links(struct btrfs_backref_cache *cache,
3140 void btrfs_backref_error_cleanup(struct btrfs_backref_cache *cache,
Dextent-tree.c59 static int block_group_bits(struct btrfs_block_group *cache, u64 bits) in block_group_bits()
73 void btrfs_free_excluded_extents(struct btrfs_block_group *cache) in btrfs_free_excluded_extents()
2523 struct btrfs_block_group *cache; in first_logical_byte() local
2544 struct btrfs_block_group *cache, in pin_down_extent()
2570 struct btrfs_block_group *cache; in btrfs_pin_extent() local
2587 struct btrfs_block_group *cache; in btrfs_pin_extent_for_log_replay() local
2731 struct btrfs_block_group *cache = NULL; in unpin_extent_range() local
3340 struct btrfs_block_group *cache; in btrfs_free_tree_block() local
3416 btrfs_lock_block_group(struct btrfs_block_group *cache, in btrfs_lock_block_group()
3423 static inline void btrfs_grab_block_group(struct btrfs_block_group *cache, in btrfs_grab_block_group()
[all …]
/fs/exfat/
Dcache.c40 struct exfat_cache *cache = (struct exfat_cache *)c; in exfat_cache_init_once() local
68 static inline void exfat_cache_free(struct exfat_cache *cache) in exfat_cache_free()
75 struct exfat_cache *cache) in exfat_cache_update_lru()
141 struct exfat_cache *cache, *tmp; in exfat_cache_add() local
196 struct exfat_cache *cache; in __exfat_cache_inval_inode() local
/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.c264 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_desc_block() local
283 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_bitmap_block() local
299 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_delete_bitmap_block() local
317 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_entry_block() local
332 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_delete_entry_block() local
839 struct nilfs_palloc_cache *cache) in nilfs_palloc_setup_cache()
847 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
325 struct ovl_dir_cache *cache = od->cache; in ovl_dir_reset() local
396 struct ovl_dir_cache *cache; in ovl_cache_get() local
598 struct ovl_dir_cache *cache; in ovl_cache_get_impure() local
641 struct ovl_dir_cache *cache; member
760 struct ovl_dir_cache *cache; in ovl_iterate() local

123