Home
last modified time | relevance | path

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

/linux-4.19.296/fs/lockd/
Dmon.c321 struct nsm_handle *cached, *new = NULL; in nsm_get_handle() local
337 cached = nsm_lookup_hostname(&ln->nsm_handles, in nsm_get_handle()
340 cached = nsm_lookup_addr(&ln->nsm_handles, sap); in nsm_get_handle()
342 if (cached != NULL) { in nsm_get_handle()
343 refcount_inc(&cached->sm_count); in nsm_get_handle()
347 "cnt %d\n", cached->sm_name, in nsm_get_handle()
348 cached->sm_addrbuf, in nsm_get_handle()
349 refcount_read(&cached->sm_count)); in nsm_get_handle()
350 return cached; in nsm_get_handle()
381 struct nsm_handle *cached; in nsm_reboot_lookup() local
[all …]
/linux-4.19.296/fs/proc/
Dmeminfo.c38 long cached; in meminfo_proc_show() local
47 cached = global_node_page_state(NR_FILE_PAGES) - in meminfo_proc_show()
49 if (cached < 0) in meminfo_proc_show()
50 cached = 0; in meminfo_proc_show()
61 show_val_kb(m, "Cached: ", cached); in meminfo_proc_show()
/linux-4.19.296/fs/btrfs/
Dextent_io.h263 struct extent_state **cached);
288 struct extent_state **cached);
291 struct extent_state **cached, gfp_t mask,
300 u64 end, struct extent_state **cached) in unlock_extent_cached() argument
302 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, 1, 0, cached, in unlock_extent_cached()
307 u64 start, u64 end, struct extent_state **cached) in unlock_extent_cached_atomic() argument
309 return __clear_extent_bit(tree, start, end, EXTENT_LOCKED, 1, 0, cached, in unlock_extent_cached_atomic()
351 u64 end, struct extent_state **cached) in clear_extent_dirty() argument
355 EXTENT_DO_ACCOUNTING, 0, 0, cached); in clear_extent_dirty()
Dordered-data.c298 struct btrfs_ordered_extent **cached, in btrfs_dec_test_first_ordered_pending() argument
351 if (!ret && cached && entry) { in btrfs_dec_test_first_ordered_pending()
352 *cached = entry; in btrfs_dec_test_first_ordered_pending()
369 struct btrfs_ordered_extent **cached, in btrfs_dec_test_ordered_pending() argument
380 if (cached && *cached) { in btrfs_dec_test_ordered_pending()
381 entry = *cached; in btrfs_dec_test_ordered_pending()
415 if (!ret && cached && entry) { in btrfs_dec_test_ordered_pending()
416 *cached = entry; in btrfs_dec_test_ordered_pending()
Dordered-data.h154 struct btrfs_ordered_extent **cached,
157 struct btrfs_ordered_extent **cached,
Dextent_io.c637 struct extent_state *cached; in __clear_extent_bit() local
669 cached = *cached_state; in __clear_extent_bit()
676 if (cached && extent_state_in_tree(cached) && in __clear_extent_bit()
677 cached->start <= start && cached->end > start) { in __clear_extent_bit()
679 refcount_dec(&cached->refs); in __clear_extent_bit()
680 state = cached; in __clear_extent_bit()
684 free_extent_state(cached); in __clear_extent_bit()
1347 struct extent_state **cached) in clear_extent_bit() argument
1350 cached, GFP_NOFS, NULL); in clear_extent_bit()
1923 unsigned bits, int filled, struct extent_state *cached) in test_range_bit() argument
[all …]
Dextent-tree.c89 return cache->cached == BTRFS_CACHE_FINISHED || in block_group_cache_done()
90 cache->cached == BTRFS_CACHE_ERROR; in block_group_cache_done()
537 block_group->cached = ret ? BTRFS_CACHE_ERROR : BTRFS_CACHE_FINISHED; in caching_thread()
601 while (cache->cached == BTRFS_CACHE_FAST) { in cache_block_group()
616 if (cache->cached != BTRFS_CACHE_NO) { in cache_block_group()
623 cache->cached = BTRFS_CACHE_FAST; in cache_block_group()
633 cache->cached = BTRFS_CACHE_FINISHED; in cache_block_group()
639 cache->cached = BTRFS_CACHE_NO; in cache_block_group()
641 cache->cached = BTRFS_CACHE_STARTED; in cache_block_group()
677 cache->cached = BTRFS_CACHE_NO; in cache_block_group()
[all …]
Dfile.c516 struct extent_state **cached) in btrfs_dirty_pages() argument
540 EXTENT_DO_ACCOUNTING | EXTENT_DEFRAG, 0, 0, cached); in btrfs_dirty_pages()
554 num_bytes, cached); in btrfs_dirty_pages()
561 extra_bits, cached, 0); in btrfs_dirty_pages()
Dioctl.c1137 struct extent_state *cached = NULL; in defrag_lookup_extent() local
1141 lock_extent_bits(io_tree, start, end, &cached); in defrag_lookup_extent()
1143 unlock_extent_cached(io_tree, start, end, &cached); in defrag_lookup_extent()
Dctree.h609 int cached; member
3270 struct extent_state **cached);
Dinode.c2613 struct extent_state *cached = NULL; in relink_extent_backref() local
2664 &cached); in relink_extent_backref()
2792 &cached); in relink_extent_backref()
/linux-4.19.296/lib/zstd/
Dfse_compress.c382 U32 cached = ZSTD_read32(ip); in FSE_count_parallel_wksp() local
385 U32 c = cached; in FSE_count_parallel_wksp()
386 cached = ZSTD_read32(ip); in FSE_count_parallel_wksp()
392 c = cached; in FSE_count_parallel_wksp()
393 cached = ZSTD_read32(ip); in FSE_count_parallel_wksp()
399 c = cached; in FSE_count_parallel_wksp()
400 cached = ZSTD_read32(ip); in FSE_count_parallel_wksp()
406 c = cached; in FSE_count_parallel_wksp()
407 cached = ZSTD_read32(ip); in FSE_count_parallel_wksp()
/linux-4.19.296/fs/afs/
DKconfig28 Say Y here if you want AFS data to be cached locally on disk through
/linux-4.19.296/include/linux/mtd/
Dmap.h212 void *cached; member
446 if (map->cached) in inline_map_copy_from()
447 memcpy(to, (char *)map->cached + from, len); in inline_map_copy_from()
/linux-4.19.296/fs/squashfs/
DKconfig213 int "Number of fragments cached" if SQUASHFS_EMBEDDED
223 Note there must be at least one cached fragment. Anything
/linux-4.19.296/include/media/
Dv4l2-ctrls.h289 struct v4l2_ctrl_ref *cached; member
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-ctrls.c1934 hdl->cached = NULL; in v4l2_ctrl_handler_free()
1982 if (hdl->cached && hdl->cached->ctrl->id == id) in find_ref()
1983 return hdl->cached; in find_ref()
1991 hdl->cached = ref; /* cache it! */ in find_ref()
/linux-4.19.296/fs/nfs/
DKconfig175 Say Y here if you want NFS data to be cached locally on disc through
Dnfs4proc.c5357 int cached; member
5389 if (acl->cached == 0) in nfs4_read_cached_acl()
5411 acl->cached = 1; in nfs4_write_cached_acl()
5417 acl->cached = 0; in nfs4_write_cached_acl()
/linux-4.19.296/fs/cifs/
DKconfig215 to be cached locally on disk through the general filesystem cache