Searched refs:dir_path (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | inode_remote.c | 537 char *dir_path = NULL; in hmdfs_mkdir_remote_dentry() local 550 dir_path = hmdfs_get_dentry_relative_path(parent_dentry); in hmdfs_mkdir_remote_dentry() 551 if (!dir_path) { in hmdfs_mkdir_remote_dentry() 555 err = hmdfs_client_start_mkdir(conn, dir_path, d_name, mode, mkdir_ret); in hmdfs_mkdir_remote_dentry() 572 kfree(dir_path); in hmdfs_mkdir_remote_dentry() 606 char *dir_path = NULL; in hmdfs_create_remote_dentry() local 619 dir_path = hmdfs_get_dentry_relative_path(parent_dentry); in hmdfs_create_remote_dentry() 620 if (!dir_path) { in hmdfs_create_remote_dentry() 624 err = hmdfs_client_start_create(conn, dir_path, d_name, mode, in hmdfs_create_remote_dentry() 643 kfree(dir_path); in hmdfs_create_remote_dentry() [all …]
|
D | file_local.c | 293 const char *dir_path, *full_path; in __hmdfs_ioc_set_share_path() local 320 dir_path = hmdfs_get_dentry_relative_path(file->f_path.dentry); in __hmdfs_ioc_set_share_path() 321 if (unlikely(!dir_path)) { in __hmdfs_ioc_set_share_path() 326 full_path = hmdfs_connect_path(dir_path, dentry->d_name.name); in __hmdfs_ioc_set_share_path() 350 kfree(dir_path); in __hmdfs_ioc_set_share_path()
|
D | main.c | 311 char *dir_path = NULL; in hmdfs_remote_statfs() local 316 dir_path = hmdfs_get_dentry_relative_path(dentry->d_parent); in hmdfs_remote_statfs() 317 if (!dir_path) { in hmdfs_remote_statfs() 322 name_path = hmdfs_connect_path(dir_path, dentry->d_name.name); in hmdfs_remote_statfs() 345 kfree(dir_path); in hmdfs_remote_statfs()
|
D | hmdfs_dentryfile.h | 213 void hmdfs_add_remote_cache_list(struct hmdfs_peer *con, const char *dir_path);
|
D | hmdfs_dentryfile.c | 2180 void hmdfs_add_remote_cache_list(struct hmdfs_peer *con, const char *dir_path) in hmdfs_add_remote_cache_list() argument 2194 err = vfs_path_lookup(root_path.dentry, root_path.mnt, dir_path, 0, in hmdfs_add_remote_cache_list()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | parse-events.c | 164 static int tp_event_has_id(const char *dir_path, struct dirent *evt_dir) in tp_event_has_id() argument 169 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, evt_dir->d_name); in tp_event_has_id() 178 #define for_each_event(dir_path, evt_dir, evt_dirent) \ argument 183 (!tp_event_has_id(dir_path, evt_dirent))) 229 char *dir_path; in tracepoint_id_to_path() local 236 dir_path = get_events_file(sys_dirent->d_name); in tracepoint_id_to_path() 237 if (!dir_path) in tracepoint_id_to_path() 239 evt_dir = opendir(dir_path); in tracepoint_id_to_path() 243 for_each_event(dir_path, evt_dir, evt_dirent) { in tracepoint_id_to_path() 245 scnprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, in tracepoint_id_to_path() [all …]
|