Home
last modified time | relevance | path

Searched refs:local_dst (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs_server.c132 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 Dsuper.c31 { 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 Dmain.c280 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 Dhmdfs.h130 char *local_dst; member
H A Dhmdfs_trace.h312 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 Dhmdfs_dentryfile.c2332 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 Dhmdfs_server.c132 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 Dsuper.c31 { 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 Dmain.c280 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 Dhmdfs.h130 char *local_dst; member
H A Dhmdfs_trace.h312 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 Dhmdfs_dentryfile.c2333 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()

Completed in 19 milliseconds