Home
last modified time | relevance | path

Searched refs:cfn (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_dentryfile.c931 struct cache_file_node *cfn = NULL; in update_inode_to_dentry() local
943 cfn = find_cfn(sbi, HMDFS_SERVER_CID, relative_path, true); in update_inode_to_dentry()
944 if (!cfn) in update_inode_to_dentry()
948 cfn->filp); in update_inode_to_dentry()
961 write_dentry_page(cfn->filp, ctx.page, in update_inode_to_dentry()
963 hmdfs_unlock_file(cfn->filp, ipos, DENTRYGROUP_SIZE); in update_inode_to_dentry()
966 release_cfn(cfn); in update_inode_to_dentry()
1167 static void free_cfn(struct cache_file_node *cfn) in free_cfn() argument
1169 if (!IS_ERR_OR_NULL(cfn->filp)) in free_cfn()
1170 filp_close(cfn->filp, NULL); in free_cfn()
[all …]
Dhmdfs_dentryfile.h303 void release_cfn(struct cache_file_node *cfn);
305 void remove_cfn(struct cache_file_node *cfn);
Dhmdfs_server.c958 struct cache_file_node *cfn = NULL; in hmdfs_server_cache_revalidate() local
961 cfn = find_cfn(sbi, HMDFS_SERVER_CID, recvpath, true); in hmdfs_server_cache_revalidate()
962 if (!cfn) in hmdfs_server_cache_revalidate()
965 if (!hmdfs_server_cache_validate(cfn->filp, path->dentry->d_inode, in hmdfs_server_cache_revalidate()
967 remove_cfn(cfn); in hmdfs_server_cache_revalidate()
968 release_cfn(cfn); in hmdfs_server_cache_revalidate()
971 file = cfn->filp; in hmdfs_server_cache_revalidate()
972 get_file(cfn->filp); in hmdfs_server_cache_revalidate()
973 release_cfn(cfn); in hmdfs_server_cache_revalidate()
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Ddevice_node.c1115 struct cache_file_node *cfn = NULL; in cache_file_show() local
1119 list_for_each_entry(cfn, head, list) { in cache_file_show()
1122 cfn->cid, cfn->relative_path); in cache_file_show()