/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | hmdfs_server.c | 132 const char *root_name = sbi->local_dst; in hmdfs_open_link() 165 const char *root_name = sbi->local_dst; in hmdfs_open_path() 251 ret = kern_path(con->sbi->local_dst, 0, &root_path); in hmdfs_get_inode_by_name() 311 err = kern_path(node->sbi->local_dst, LOOKUP_DIRECTORY, &root_path); in check_sec_level() 634 err = kern_path(con->sbi->local_dst, LOOKUP_DIRECTORY, &path_root); in hmdfs_lookup_create() 636 hmdfs_err("no path for %s, err %d", con->sbi->local_dst, err); in hmdfs_lookup_create() 643 hmdfs_info("no dir in %s, err %d", con->sbi->local_dst, err); in hmdfs_lookup_create() 1048 err = kern_path(peer->sbi->local_dst, 0, &root_path); in server_lookup() 1175 dent = hmdfs_root_mkdir(con->device_id, con->sbi->local_dst, in hmdfs_server_mkdir() 1225 dent = hmdfs_root_create(con->device_id, con->sbi->local_dst, in hmdfs_server_create() [all...] |
H A D | super.c | 31 { OPT_LOCAL_DST, "local_dst=%s" }, 125 err = hmdfs_match_strdup(&args[0], &sbi->local_dst); in hmdfs_parse_options() 173 if (sbi->local_dst == NULL) in hmdfs_parse_options()
|
H A D | main.c | 280 hmdfs_info("local_dst is %s, local_src is %s", sbi->local_dst, in hmdfs_put_super() 295 kfree(sbi->local_dst); in hmdfs_put_super() 807 sbi->real_dst = kstrdup(sbi->local_dst, GFP_KERNEL); in hmdfs_update_dst() 812 kfree(sbi->local_dst); in hmdfs_update_dst() 813 sbi->local_dst = NULL; in hmdfs_update_dst() 820 sbi->local_dst = kmalloc(len, GFP_KERNEL); in hmdfs_update_dst() 821 if (!sbi->local_dst) { in hmdfs_update_dst() 825 snprintf(sbi->local_dst, strlen(sbi->real_dst) + strlen(path_local) + 1, in hmdfs_update_dst() 904 ctrl_hash = path_hash(sbi->local_dst, strle in hmdfs_fill_super() [all...] |
H A D | hmdfs.h | 130 char *local_dst; member
|
H A D | hmdfs_trace.h | 312 strlcpy(__entry->dst, sbi->local_dst, 128); 354 strlcpy(__entry->dst, sbi->local_dst, 128); 796 strlcpy(__entry->dst_path, con->sbi->local_dst,
|
H A D | hmdfs_dentryfile.c | 2332 err = kern_path(con->sbi->local_dst, 0, &root_path); in hmdfs_add_remote_cache_list() 2779 err = kern_path(sbi->local_dst, 0, &path_dst); in hmdfs_root_rename() 2788 hmdfs_info("lookup oldpath from local_dst failed, err %d", err); in hmdfs_root_rename() 2795 hmdfs_info("lookup newpath from local_dst failed, err %d", err); in hmdfs_root_rename() 2801 hmdfs_info("get write access failed for local_dst, err %d", in hmdfs_root_rename()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_server.c | 132 const char *root_name = sbi->local_dst; in hmdfs_open_link() 165 const char *root_name = sbi->local_dst; in hmdfs_open_path() 251 ret = kern_path(con->sbi->local_dst, 0, &root_path); in hmdfs_get_inode_by_name() 311 err = kern_path(node->sbi->local_dst, LOOKUP_DIRECTORY, &root_path); in check_sec_level() 634 err = kern_path(con->sbi->local_dst, LOOKUP_DIRECTORY, &path_root); in hmdfs_lookup_create() 636 hmdfs_err("no path for %s, err %d", con->sbi->local_dst, err); in hmdfs_lookup_create() 643 hmdfs_info("no dir in %s, err %d", con->sbi->local_dst, err); in hmdfs_lookup_create() 1048 err = kern_path(peer->sbi->local_dst, 0, &root_path); in server_lookup() 1175 dent = hmdfs_root_mkdir(con->device_id, con->sbi->local_dst, in hmdfs_server_mkdir() 1225 dent = hmdfs_root_create(con->device_id, con->sbi->local_dst, in hmdfs_server_create() [all...] |
H A D | super.c | 31 { OPT_LOCAL_DST, "local_dst=%s" }, 125 err = hmdfs_match_strdup(&args[0], &sbi->local_dst); in hmdfs_parse_options() 173 if (sbi->local_dst == NULL) in hmdfs_parse_options()
|
H A D | main.c | 280 hmdfs_info("local_dst is %s, local_src is %s", sbi->local_dst, in hmdfs_put_super() 295 kfree(sbi->local_dst); in hmdfs_put_super() 807 sbi->real_dst = kstrdup(sbi->local_dst, GFP_KERNEL); in hmdfs_update_dst() 812 kfree(sbi->local_dst); in hmdfs_update_dst() 813 sbi->local_dst = NULL; in hmdfs_update_dst() 820 sbi->local_dst = kmalloc(len, GFP_KERNEL); in hmdfs_update_dst() 821 if (!sbi->local_dst) { in hmdfs_update_dst() 825 snprintf(sbi->local_dst, strlen(sbi->real_dst) + strlen(path_local) + 1, in hmdfs_update_dst() 905 ctrl_hash = path_hash(sbi->local_dst, strle in hmdfs_fill_super() [all...] |
H A D | hmdfs.h | 130 char *local_dst; member
|
H A D | hmdfs_trace.h | 312 strlcpy(__entry->dst, sbi->local_dst, 128); 354 strlcpy(__entry->dst, sbi->local_dst, 128); 796 strlcpy(__entry->dst_path, con->sbi->local_dst,
|
H A D | hmdfs_dentryfile.c | 2333 err = kern_path(con->sbi->local_dst, 0, &root_path); in hmdfs_add_remote_cache_list() 2788 err = kern_path(sbi->local_dst, 0, &path_dst); in hmdfs_root_rename() 2797 hmdfs_info("lookup oldpath from local_dst failed, err %d", err); in hmdfs_root_rename() 2804 hmdfs_info("lookup newpath from local_dst failed, err %d", err); in hmdfs_root_rename() 2810 hmdfs_info("get write access failed for local_dst, err %d", in hmdfs_root_rename()
|