Home
last modified time | relevance | path

Searched refs:relative_path (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_share.c45 kfree(item->relative_path.name); in remove_and_release_share_item()
63 if (qstr_eq(&item->relative_path, cur_relative_path)) in hmdfs_lookup_share_item()
78 int insert_share_item(struct hmdfs_share_table *st, struct qstr *relative_path, in insert_share_item() argument
98 strcpy(path_name, relative_path->name); in insert_share_item()
109 new_item->relative_path.name = path_name; in insert_share_item()
110 new_item->relative_path.len = relative_path->len; in insert_share_item()
170 struct qstr relative_path; in get_path_from_share_table() local
178 relative_path.name = path_name; in get_path_from_share_table()
179 relative_path.len = strlen(path_name); in get_path_from_share_table()
182 item = hmdfs_lookup_share_item(&sbi->share_table, &relative_path); in get_path_from_share_table()
Dhmdfs_dentryfile.c357 const char *relative_path) in hmdfs_get_dentry_absolute_path() argument
361 if (!rootdir || !relative_path) in hmdfs_get_dentry_absolute_path()
363 if (strlen(rootdir) + strlen(relative_path) >= PATH_MAX) in hmdfs_get_dentry_absolute_path()
371 strcat(buf, relative_path); in hmdfs_get_dentry_absolute_path()
932 char *relative_path = NULL; in update_inode_to_dentry() local
939 relative_path = hmdfs_get_dentry_relative_path(parent_dentry); in update_inode_to_dentry()
940 if (!relative_path) in update_inode_to_dentry()
943 cfn = find_cfn(sbi, HMDFS_SERVER_CID, relative_path, true); in update_inode_to_dentry()
968 kfree(relative_path); in update_inode_to_dentry()
1142 const char *relative_path, bool server) in cache_file_name_generate() argument
[all …]
Dhmdfs_share.h35 struct qstr relative_path; member
47 int insert_share_item(struct hmdfs_share_table *st, struct qstr *relative_path,
Dfile_local.c294 struct qstr relative_path; in __hmdfs_ioc_set_share_path() local
331 relative_path.name = full_path; in __hmdfs_ioc_set_share_path()
332 relative_path.len = strlen(full_path); in __hmdfs_ioc_set_share_path()
335 item = hmdfs_lookup_share_item(st, &relative_path); in __hmdfs_ioc_set_share_path()
337 err = insert_share_item(st, &relative_path, src.file, sc->cid); in __hmdfs_ioc_set_share_path()
Dinode_remote.c174 const char *relative_path) in hmdfs_lookup_by_con() argument
215 if (!relative_path) in hmdfs_lookup_by_con()
219 con, relative_path, dentry->d_name.name); in hmdfs_lookup_by_con()
422 char *relative_path = NULL; in hmdfs_lookup_remote_dentry() local
439 relative_path = hmdfs_get_dentry_relative_path(child_dentry->d_parent); in hmdfs_lookup_remote_dentry()
440 if (unlikely(!relative_path)) { in hmdfs_lookup_remote_dentry()
447 relative_path); in hmdfs_lookup_remote_dentry()
465 kfree(relative_path); in hmdfs_lookup_remote_dentry()
Dhmdfs_device_view.h180 const char *relative_path);
186 const char *relative_path);
Dhmdfs_dentryfile.h178 const char *relative_path, bool server);
227 char *relative_path; member
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dmirror_gre_topo_lib.sh36 source "$relative_path/mirror_topo_lib.sh"
Dlib.sh24 relative_path="${BASH_SOURCE%/*}"
25 if [[ "$relative_path" == "${BASH_SOURCE}" ]]; then
26 relative_path="."
29 if [[ -f $relative_path/forwarding.config ]]; then
30 source "$relative_path/forwarding.config"
Dmirror_gre_lib.sh3 source "$relative_path/mirror_lib.sh"
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dsocket_adapter.h37 const char *relative_path,
Ddevice_node.c1122 cfn->cid, cfn->relative_path); in cache_file_show()