Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_dentryfile.c363 const char *relative_path) in hmdfs_get_dentry_absolute_path() argument
367 if (!rootdir || !relative_path) in hmdfs_get_dentry_absolute_path()
369 if (strlen(rootdir) + strlen(relative_path) >= PATH_MAX) in hmdfs_get_dentry_absolute_path()
377 strcat(buf, relative_path); in hmdfs_get_dentry_absolute_path()
955 char *relative_path = NULL; in update_inode_to_dentry() local
962 relative_path = hmdfs_get_dentry_relative_path(parent_dentry); in update_inode_to_dentry()
963 if (!relative_path) in update_inode_to_dentry()
966 cfn = find_cfn(sbi, HMDFS_SERVER_CID, relative_path, true); in update_inode_to_dentry()
991 kfree(relative_path); in update_inode_to_dentry()
1165 const char *relative_path, bool server) in cache_file_name_generate() argument
[all …]
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_share.h31 struct qstr relative_path; member
43 int insert_share_item(struct hmdfs_share_table *st, struct qstr *relative_path,
Dfile_local.c300 struct qstr relative_path; in __hmdfs_ioc_set_share_path() local
337 relative_path.name = full_path; in __hmdfs_ioc_set_share_path()
338 relative_path.len = strlen(full_path); in __hmdfs_ioc_set_share_path()
341 item = hmdfs_lookup_share_item(st, &relative_path); in __hmdfs_ioc_set_share_path()
343 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
415 char *relative_path = NULL; in hmdfs_lookup_remote_dentry() local
432 relative_path = hmdfs_get_dentry_relative_path(child_dentry->d_parent); in hmdfs_lookup_remote_dentry()
433 if (unlikely(!relative_path)) { in hmdfs_lookup_remote_dentry()
440 relative_path); in hmdfs_lookup_remote_dentry()
460 kfree(relative_path); in hmdfs_lookup_remote_dentry()
Dhmdfs_device_view.h192 const char *relative_path);
198 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/
Ddevice_node.c1072 cfn->cid, cfn->relative_path); in cache_file_show()