Home
last modified time | relevance | path

Searched refs:cached (Results 1 – 22 of 22) sorted by relevance

/fs/lockd/
Dmon.c322 struct nsm_handle *cached, *new = NULL; in nsm_get_handle() local
338 cached = nsm_lookup_hostname(&ln->nsm_handles, in nsm_get_handle()
341 cached = nsm_lookup_addr(&ln->nsm_handles, sap); in nsm_get_handle()
343 if (cached != NULL) { in nsm_get_handle()
344 refcount_inc(&cached->sm_count); in nsm_get_handle()
348 "cnt %d\n", cached->sm_name, in nsm_get_handle()
349 cached->sm_addrbuf, in nsm_get_handle()
350 refcount_read(&cached->sm_count)); in nsm_get_handle()
351 return cached; in nsm_get_handle()
382 struct nsm_handle *cached; in nsm_reboot_lookup() local
[all …]
/fs/btrfs/
Dextent-io-tree.h108 struct extent_state **cached);
131 struct extent_state **cached);
134 struct extent_state **cached, gfp_t mask,
143 u64 end, struct extent_state **cached) in unlock_extent_cached() argument
145 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, 1, 0, cached, in unlock_extent_cached()
150 u64 start, u64 end, struct extent_state **cached) in unlock_extent_cached_atomic() argument
152 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, 1, 0, cached, in unlock_extent_cached_atomic()
198 u64 end, struct extent_state **cached) in clear_extent_dirty() argument
202 EXTENT_DO_ACCOUNTING, 0, 0, cached); in clear_extent_dirty()
Dblock-group.h106 int cached; member
320 return cache->cached == BTRFS_CACHE_FINISHED || in btrfs_block_group_done()
321 cache->cached == BTRFS_CACHE_ERROR; in btrfs_block_group_done()
Dextent_io.c711 struct extent_state *cached; in __clear_extent_bit() local
743 cached = *cached_state; in __clear_extent_bit()
750 if (cached && extent_state_in_tree(cached) && in __clear_extent_bit()
751 cached->start <= start && cached->end > start) { in __clear_extent_bit()
753 refcount_dec(&cached->refs); in __clear_extent_bit()
754 state = cached; in __clear_extent_bit()
758 free_extent_state(cached); in __clear_extent_bit()
1435 struct extent_state **cached) in clear_extent_bit() argument
1438 cached, GFP_NOFS, NULL); in clear_extent_bit()
2204 u32 bits, int filled, struct extent_state *cached) in test_range_bit() argument
[all …]
Dordered-data.c458 struct btrfs_ordered_extent **cached, in btrfs_dec_test_ordered_pending() argument
468 if (cached && *cached) { in btrfs_dec_test_ordered_pending()
469 entry = *cached; in btrfs_dec_test_ordered_pending()
499 if (finished && cached && entry) { in btrfs_dec_test_ordered_pending()
500 *cached = entry; in btrfs_dec_test_ordered_pending()
Dblock-group.c432 return cache->cached == BTRFS_CACHE_ERROR ? -EIO : 0; in btrfs_caching_ctl_wait_done()
442 return (cache->cached == BTRFS_CACHE_ERROR) ? -EIO : 0; in btrfs_wait_block_group_cache_done()
675 block_group->cached = BTRFS_CACHE_STARTED; in caching_thread()
695 block_group->cached = ret ? BTRFS_CACHE_ERROR : BTRFS_CACHE_FINISHED; in caching_thread()
747 if (cache->cached != BTRFS_CACHE_NO) { in btrfs_cache_block_group()
758 cache->cached = BTRFS_CACHE_STARTED; in btrfs_cache_block_group()
979 if (block_group->cached == BTRFS_CACHE_STARTED) in btrfs_remove_block_group()
2071 cache->cached = BTRFS_CACHE_FINISHED; in read_one_block_group()
2075 cache->cached = BTRFS_CACHE_FINISHED; in read_one_block_group()
2135 bg->cached = BTRFS_CACHE_FINISHED; in fill_dummy_bgs()
[all …]
Dordered-data.h179 struct btrfs_ordered_extent **cached,
Dextent-tree.c3521 int cached; member
3628 } else if (!ffe_ctl->cached && ffe_ctl->loop > LOOP_CACHING_NOWAIT && in find_free_extent_clustered()
3668 if (ffe_ctl->cached) { in find_free_extent_unclustered()
3698 if (!offset && !ffe_ctl->retry_unclustered && !ffe_ctl->cached && in find_free_extent_unclustered()
4249 block_group->cached != BTRFS_CACHE_NO) { in find_free_extent()
4322 ffe_ctl.cached = btrfs_block_group_done(block_group); in find_free_extent()
4323 if (unlikely(!ffe_ctl.cached)) { in find_free_extent()
4343 if (unlikely(block_group->cached == BTRFS_CACHE_ERROR)) { in find_free_extent()
Dfile.c465 struct extent_state **cached, bool noreserve) in btrfs_dirty_pages() argument
496 0, 0, cached); in btrfs_dirty_pages()
499 extra_bits, cached); in btrfs_dirty_pages()
Dioctl.c1106 struct extent_state *cached = NULL; in defrag_lookup_extent() local
1110 lock_extent_bits(io_tree, start, end, &cached); in defrag_lookup_extent()
1112 unlock_extent_cached(io_tree, start, end, &cached); in defrag_lookup_extent()
Dzoned.c1332 cache->cached = BTRFS_CACHE_FINISHED; in btrfs_calc_zone_unusable()
Dctree.h3327 struct extent_state **cached, bool noreserve);
/fs/proc/
Dmeminfo.c36 long cached; in meminfo_proc_show() local
46 cached = global_node_page_state(NR_FILE_PAGES) - in meminfo_proc_show()
48 if (cached < 0) in meminfo_proc_show()
49 cached = 0; in meminfo_proc_show()
62 show_val_kb(m, "Cached: ", cached); in meminfo_proc_show()
/fs/fuse/
Dreaddir.c51 if (fi->rdc.cached || pos != fi->rdc.pos) { in fuse_add_dirent_to_cache()
108 fi->rdc.cached = true; in fuse_readdir_cache_end()
438 fi->rdc.cached = false; in fuse_rdc_reset()
478 if (!fi->rdc.cached) { in fuse_readdir_cached()
Dfuse_i.h191 bool cached; member
Ddir.c2196 fi->rdc.cached = false; in fuse_init_dir()
/fs/afs/
DKconfig30 Say Y here if you want AFS data to be cached locally on disk through
/fs/squashfs/
DKconfig214 int "Number of fragments cached" if SQUASHFS_EMBEDDED
224 Note there must be at least one cached fragment. Anything
/fs/nfsd/
Dtrace.h813 __field(u32, cached)
819 __entry->cached = (__force u32)key->c_key.k_csum;
823 __entry->boot_time, __entry->xid, __entry->cached,
/fs/nfs/
DKconfig175 Say Y here if you want NFS data to be cached locally on disc through
Dnfs4proc.c5825 int cached; member
5857 if (acl->cached == 0) in nfs4_read_cached_acl()
5879 acl->cached = 1; in nfs4_write_cached_acl()
5885 acl->cached = 0; in nfs4_write_cached_acl()
/fs/cifs/
DKconfig194 to be cached locally on disk through the general filesystem cache