Home
last modified time | relevance | path

Searched refs:cache_item (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
Dfile_cloud.c273 struct clearcache_item *cache_item = NULL; in hmdfs_dir_open_cloud() local
276 cache_item = hmdfs_find_cache_item(CLOUD_DEVICE, in hmdfs_dir_open_cloud()
278 if (cache_item) { in hmdfs_dir_open_cloud()
279 file->private_data = cache_item->filp; in hmdfs_dir_open_cloud()
281 kref_put(&cache_item->ref, release_cache_item); in hmdfs_dir_open_cloud()
Dinode_cloud.c38 struct clearcache_item *cache_item = NULL; in lookup_cloud_dentry() local
43 cache_item = hmdfs_find_cache_item(dev_id, child_dentry->d_parent); in lookup_cloud_dentry()
44 if (!cache_item) in lookup_cloud_dentry()
51 hmdfs_init_dcache_lookup_ctx_cloud(&ctx, sbi, qstr, cache_item->filp); in lookup_cloud_dentry()
69 kref_put(&cache_item->ref, release_cache_item); in lookup_cloud_dentry()
Dfile_remote.c1022 struct clearcache_item *cache_item = NULL; in hmdfs_dir_open_remote() local
1030 cache_item = hmdfs_find_cache_item(info->conn->device_id, in hmdfs_dir_open_remote()
1032 if (cache_item) { in hmdfs_dir_open_remote()
1033 file->private_data = cache_item->filp; in hmdfs_dir_open_remote()
1035 kref_put(&cache_item->ref, release_cache_item); in hmdfs_dir_open_remote()
Dinode_remote.c28 struct clearcache_item *cache_item = NULL; in lookup_remote_dentry() local
32 cache_item = hmdfs_find_cache_item(dev_id, child_dentry->d_parent); in lookup_remote_dentry()
33 if (!cache_item) in lookup_remote_dentry()
40 hmdfs_init_dcache_lookup_ctx(&ctx, sbi, qstr, cache_item->filp); in lookup_remote_dentry()
58 kref_put(&cache_item->ref, release_cache_item); in lookup_remote_dentry()
/kernel/linux/linux-5.10/net/rds/
Dib_recv.c249 struct list_head *cache_item; in rds_ib_refill_one_inc() local
252 cache_item = rds_ib_recv_cache_get(&ic->i_cache_incs); in rds_ib_refill_one_inc()
253 if (cache_item) { in rds_ib_refill_one_inc()
254 ibinc = container_of(cache_item, struct rds_ib_incoming, ii_cache_entry); in rds_ib_refill_one_inc()
279 struct list_head *cache_item; in rds_ib_refill_one_frag() local
282 cache_item = rds_ib_recv_cache_get(&ic->i_cache_frags); in rds_ib_refill_one_frag()
283 if (cache_item) { in rds_ib_refill_one_frag()
284 frag = container_of(cache_item, struct rds_page_frag, f_cache_entry); in rds_ib_refill_one_frag()