Searched refs:dir_path (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | inode_remote.c | 532 char *dir_path = NULL; in hmdfs_mkdir_remote_dentry() local 545 dir_path = hmdfs_get_dentry_relative_path(parent_dentry); in hmdfs_mkdir_remote_dentry() 546 if (!dir_path) { in hmdfs_mkdir_remote_dentry() 550 err = hmdfs_client_start_mkdir(conn, dir_path, d_name, mode, mkdir_ret); in hmdfs_mkdir_remote_dentry() 569 kfree(dir_path); in hmdfs_mkdir_remote_dentry() 600 char *dir_path = NULL; in hmdfs_create_remote_dentry() local 613 dir_path = hmdfs_get_dentry_relative_path(parent_dentry); in hmdfs_create_remote_dentry() 614 if (!dir_path) { in hmdfs_create_remote_dentry() 618 err = hmdfs_client_start_create(conn, dir_path, d_name, mode, in hmdfs_create_remote_dentry() 639 kfree(dir_path); in hmdfs_create_remote_dentry() [all …]
|
D | file_cloud.c | 55 const char *dir_path; in hmdfs_file_open_cloud() local 78 dir_path = hmdfs_get_dentry_relative_path(file->f_path.dentry); in hmdfs_file_open_cloud() 79 if(!dir_path) { in hmdfs_file_open_cloud() 85 lower_file = file_open_root(&root_path, dir_path, in hmdfs_file_open_cloud() 96 kfree(dir_path); in hmdfs_file_open_cloud()
|
D | file_local.c | 299 const char *dir_path, *full_path; in __hmdfs_ioc_set_share_path() local 326 dir_path = hmdfs_get_dentry_relative_path(file->f_path.dentry); in __hmdfs_ioc_set_share_path() 327 if (unlikely(!dir_path)) { in __hmdfs_ioc_set_share_path() 332 full_path = hmdfs_connect_path(dir_path, dentry->d_name.name); in __hmdfs_ioc_set_share_path() 356 kfree(dir_path); in __hmdfs_ioc_set_share_path()
|
D | main.c | 313 char *dir_path = NULL; in hmdfs_remote_statfs() local 318 dir_path = hmdfs_get_dentry_relative_path(dentry->d_parent); in hmdfs_remote_statfs() 319 if (!dir_path) { in hmdfs_remote_statfs() 324 name_path = hmdfs_connect_path(dir_path, dentry->d_name.name); in hmdfs_remote_statfs() 346 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 | 2310 void hmdfs_add_remote_cache_list(struct hmdfs_peer *con, const char *dir_path) in hmdfs_add_remote_cache_list() argument 2324 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 …]
|