Home
last modified time | relevance | path

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

123

/fs/cachefiles/
Ddaemon.c92 struct cachefiles_cache *cache; in cachefiles_daemon_open() local
137 void cachefiles_flush_reqs(struct cachefiles_cache *cache) in cachefiles_flush_reqs()
171 void cachefiles_put_unbind_pincount(struct cachefiles_cache *cache) in cachefiles_put_unbind_pincount()
180 void cachefiles_get_unbind_pincount(struct cachefiles_cache *cache) in cachefiles_get_unbind_pincount()
190 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_release() local
211 static ssize_t cachefiles_do_daemon_read(struct cachefiles_cache *cache, in cachefiles_do_daemon_read()
262 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_read() local
284 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_write() local
360 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_poll() local
394 static int cachefiles_daemon_range_error(struct cachefiles_cache *cache, in cachefiles_daemon_range_error()
[all …]
Dcache.c17 int cachefiles_add_cache(struct cachefiles_cache *cache) in cachefiles_add_cache()
185 int cachefiles_has_space(struct cachefiles_cache *cache, in cachefiles_has_space()
288 static void cachefiles_withdraw_objects(struct cachefiles_cache *cache) in cachefiles_withdraw_objects()
318 static void cachefiles_withdraw_fscache_volumes(struct cachefiles_cache *cache) in cachefiles_withdraw_fscache_volumes()
350 static void cachefiles_withdraw_volumes(struct cachefiles_cache *cache) in cachefiles_withdraw_volumes()
385 static void cachefiles_sync_cache(struct cachefiles_cache *cache) in cachefiles_sync_cache()
409 void cachefiles_withdraw_cache(struct cachefiles_cache *cache) in cachefiles_withdraw_cache()
Dnamei.c69 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_unmark_inode_in_use() local
84 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, in cachefiles_get_directory()
228 static int cachefiles_unlink(struct cachefiles_cache *cache, in cachefiles_unlink()
264 int cachefiles_bury_object(struct cachefiles_cache *cache, in cachefiles_bury_object()
443 struct cachefiles_cache *cache = volume->cache; in cachefiles_create_tmpfile() local
547 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_open_file() local
670 bool cachefiles_commit_tmpfile(struct cachefiles_cache *cache, in cachefiles_commit_tmpfile()
747 static struct dentry *cachefiles_lookup_for_cull(struct cachefiles_cache *cache, in cachefiles_lookup_for_cull()
792 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull()
850 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
Dinterface.c84 struct fscache_cache *cache; in cachefiles_put_object() local
180 struct cachefiles_cache *cache = cookie->volume->cache->cache_priv; in cachefiles_lookup_cookie() local
235 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_shorten_object() local
282 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_resize_cookie() local
309 struct cachefiles_cache *cache) in cachefiles_commit_object()
328 struct cachefiles_cache *cache) in cachefiles_clean_up_object()
363 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_withdraw_cookie() local
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()
Dondemand.c21 struct cachefiles_cache *cache; in cachefiles_ondemand_fd_release() local
62 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_write_iter() local
120 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_fd_ioctl() local
158 int cachefiles_ondemand_copen(struct cachefiles_cache *cache, char *args) in cachefiles_ondemand_copen()
270 int cachefiles_ondemand_restore(struct cachefiles_cache *cache, char *args) in cachefiles_ondemand_restore()
297 struct cachefiles_cache *cache; in cachefiles_ondemand_get_fd() local
414 ssize_t cachefiles_ondemand_daemon_read(struct cachefiles_cache *cache, in cachefiles_ondemand_daemon_read()
491 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_ondemand_send_req() local
704 struct cachefiles_cache *cache; in cachefiles_ondemand_clean_object() local
Dio.c287 struct cachefiles_cache *cache; in __cachefiles_write() local
383 struct cachefiles_cache *cache; in cachefiles_do_prepare_read() local
522 struct cachefiles_cache *cache = object->volume->cache; in __cachefiles_prepare_write() local
605 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_prepare_write() local
648 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_issue_write() local
Dinternal.h40 struct cachefiles_cache *cache; member
89 struct fscache_cache *cache; /* Cache cookie */ member
136 static inline bool cachefiles_in_ondemand_mode(struct cachefiles_cache *cache) in cachefiles_in_ondemand_mode()
169 static inline void cachefiles_state_changed(struct cachefiles_cache *cache) in cachefiles_state_changed()
350 static inline ssize_t cachefiles_ondemand_daemon_read(struct cachefiles_cache *cache, in cachefiles_ondemand_daemon_read()
394 static inline void cachefiles_begin_secure(struct cachefiles_cache *cache, in cachefiles_begin_secure()
400 static inline void cachefiles_end_secure(struct cachefiles_cache *cache, in cachefiles_end_secure()
/fs/netfs/
Dfscache_cache.c26 struct fscache_cache *cache; in fscache_alloc_cache() local
44 static bool fscache_get_cache_maybe(struct fscache_cache *cache, in fscache_get_cache_maybe()
61 struct fscache_cache *candidate, *cache, *unnamed = NULL; in fscache_lookup_cache() local
151 struct fscache_cache *cache; in fscache_acquire_cache() local
179 void fscache_put_cache(struct fscache_cache *cache, in fscache_put_cache()
209 void fscache_relinquish_cache(struct fscache_cache *cache) in fscache_relinquish_cache()
234 int fscache_add_cache(struct fscache_cache *cache, in fscache_add_cache()
289 bool fscache_begin_cache_access(struct fscache_cache *cache, enum fscache_access_trace why) in fscache_begin_cache_access()
315 void fscache_end_cache_access(struct fscache_cache *cache, enum fscache_access_trace why) in fscache_end_cache_access()
337 void fscache_io_error(struct fscache_cache *cache) in fscache_io_error()
[all …]
Dinternal.h253 static inline enum fscache_cache_state fscache_cache_state(const struct fscache_cache *cache) in fscache_cache_state()
258 static inline bool fscache_cache_is_live(const struct fscache_cache *cache) in fscache_cache_is_live()
263 static inline void fscache_set_cache_state(struct fscache_cache *cache, in fscache_set_cache_state()
270 static inline bool fscache_set_cache_state_maybe(struct fscache_cache *cache, in fscache_set_cache_state_maybe()
Dobjects.c26 struct kmem_cache *cache = mempool->pool_data; in netfs_alloc_request() local
183 struct kmem_cache *cache = mempool->pool_data; in netfs_alloc_subrequest() local
/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()
254 struct mb_cache_entry *mb_cache_entry_delete_or_get(struct mb_cache *cache, in mb_cache_entry_delete_or_get()
286 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch()
296 struct mb_cache *cache = shrink->private_data; in mb_cache_count() local
[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()
833 static int test_bytes_index(struct btrfs_block_group *cache, u32 sectorsize) in test_bytes_index()
1008 struct btrfs_block_group *cache; in btrfs_test_free_space_cache() local
Dfree-space-tree-tests.c22 struct btrfs_block_group *cache, in __check_free_space_extents()
109 struct btrfs_block_group *cache, in check_free_space_extents()
152 struct btrfs_block_group *cache, in test_empty_block_group()
166 struct btrfs_block_group *cache, in test_remove_all()
187 struct btrfs_block_group *cache, in test_remove_beginning()
210 struct btrfs_block_group *cache, in test_remove_end()
233 struct btrfs_block_group *cache, in test_remove_middle()
257 struct btrfs_block_group *cache, in test_merge_left()
294 struct btrfs_block_group *cache, in test_merge_right()
332 struct btrfs_block_group *cache, in test_merge_both()
[all …]
Dbtrfs-tests.c214 struct btrfs_block_group *cache; in btrfs_alloc_dummy_block_group() local
240 void btrfs_free_dummy_block_group(struct btrfs_block_group *cache) in btrfs_free_dummy_block_group()
/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
309 nfs4_xattr_set_listcache(struct nfs4_xattr_cache *cache, in nfs4_xattr_set_listcache()
384 nfs4_xattr_discard_cache(struct nfs4_xattr_cache *cache) in nfs4_xattr_discard_cache()
429 struct nfs4_xattr_cache *cache, *oldcache, *newcache; in nfs4_xattr_get_cache() local
504 nfs4_xattr_hash_bucket(struct nfs4_xattr_cache *cache, const char *name) in nfs4_xattr_hash_bucket()
526 nfs4_xattr_hash_add(struct nfs4_xattr_cache *cache, in nfs4_xattr_hash_add()
564 nfs4_xattr_hash_remove(struct nfs4_xattr_cache *cache, const char *name) in nfs4_xattr_hash_remove()
[all …]
/fs/btrfs/
Dlru_cache.c15 void btrfs_lru_cache_init(struct btrfs_lru_cache *cache, unsigned int max_size) in btrfs_lru_cache_init()
45 struct btrfs_lru_cache_entry *btrfs_lru_cache_lookup(struct btrfs_lru_cache *cache, in btrfs_lru_cache_lookup()
70 void btrfs_lru_cache_remove(struct btrfs_lru_cache *cache, in btrfs_lru_cache_remove()
106 int btrfs_lru_cache_store(struct btrfs_lru_cache *cache, in btrfs_lru_cache_store()
156 void btrfs_lru_cache_clear(struct btrfs_lru_cache *cache) in btrfs_lru_cache_clear()
Dblock-group.c154 void btrfs_get_block_group(struct btrfs_block_group *cache) in btrfs_get_block_group()
159 void btrfs_put_block_group(struct btrfs_block_group *cache) in btrfs_put_block_group()
197 struct btrfs_block_group *cache; in btrfs_add_block_group_cache() local
235 struct btrfs_block_group *cache, *ret = NULL; in block_group_cache_tree_search() local
288 struct btrfs_block_group *cache) in btrfs_next_block_group()
418 struct btrfs_block_group *cache) in btrfs_get_caching_control()
453 void btrfs_wait_block_group_cache_progress(struct btrfs_block_group *cache, in btrfs_wait_block_group_cache_progress()
478 static int btrfs_caching_ctl_wait_done(struct btrfs_block_group *cache, in btrfs_caching_ctl_wait_done()
485 static int btrfs_wait_block_group_cache_done(struct btrfs_block_group *cache) in btrfs_wait_block_group_cache_done()
931 int btrfs_cache_block_group(struct btrfs_block_group *cache, bool wait) in btrfs_cache_block_group()
[all …]
Dlru_cache.h51 #define btrfs_lru_cache_for_each_entry_safe(cache, entry, tmp) \ argument
55 struct btrfs_lru_cache *cache) in btrfs_lru_cache_lru_entry()
Dfiemap.c76 struct fiemap_cache *cache) in flush_fiemap_cache()
108 struct fiemap_cache *cache, in emit_fiemap_extent()
291 struct fiemap_cache *cache) in emit_last_fiemap_cache()
438 struct fiemap_cache *cache, in fiemap_process_hole()
638 struct fiemap_cache cache = { 0 }; in extent_fiemap() local
/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
851 struct nilfs_palloc_cache *cache) in nilfs_palloc_setup_cache()
859 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_clear_cache() local
/fs/overlayfs/
Dreaddir.c57 struct ovl_dir_cache *cache; member
234 struct ovl_dir_cache *cache = ovl_dir_cache(inode); in ovl_dir_cache_free() local
244 struct ovl_dir_cache *cache = od->cache; in ovl_cache_put() local
329 struct ovl_dir_cache *cache = od->cache; in ovl_dir_reset() local
403 struct ovl_dir_cache *cache; in ovl_cache_get() local
617 struct ovl_dir_cache *cache; in ovl_cache_get_impure() local
660 struct ovl_dir_cache *cache; member
781 struct ovl_dir_cache *cache; in ovl_iterate() local

123