Home
last modified time | relevance | path

Searched refs:root_path (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs_server.c162 struct path root_path; in hmdfs_open_path() local
167 err = kern_path(root_name, 0, &root_path); in hmdfs_open_path()
172 file = file_open_root(&root_path, path, in hmdfs_open_path()
174 path_put(&root_path); in hmdfs_open_path()
247 struct path root_path; in hmdfs_get_inode_by_name() local
251 ret = kern_path(con->sbi->local_dst, 0, &root_path); in hmdfs_get_inode_by_name()
257 ret = vfs_path_lookup(root_path.dentry, root_path.mnt, filename, 0, in hmdfs_get_inode_by_name()
260 path_put(&root_path); in hmdfs_get_inode_by_name()
270 path_put(&root_path); in hmdfs_get_inode_by_name()
295 struct path root_path; check_sec_level() local
1045 struct path root_path; server_lookup() local
1256 struct path root_path; hmdfs_server_rmdir() local
1286 struct path root_path; hmdfs_server_unlink() local
1652 struct path root_path, dst_path; hmdfs_server_setattr() local
1744 struct path root_path, dst_path; hmdfs_server_getattr() local
1841 struct path root_path, path; hmdfs_server_statfs() local
1916 struct path root_path; hmdfs_server_getxattr() local
1983 struct path root_path; hmdfs_server_setxattr() local
2033 struct path root_path; hmdfs_server_listxattr() local
2090 struct path root_path, path; hmdfs_server_get_drop_push() local
[all...]
H A Dfile_cloud.c38 struct path root_path; in hmdfs_file_open_cloud() local
52 err = kern_path(sbi->cloud_dir, 0, &root_path); in hmdfs_file_open_cloud()
66 lower_file = file_open_root(&root_path, dir_path, in hmdfs_file_open_cloud()
68 path_put(&root_path); in hmdfs_file_open_cloud()
H A Dinode_root.c248 struct path root_path; in hmdfs_root_lookup() local
266 ret = ERR_PTR(kern_path(sbi->local_src, 0, &root_path)); in hmdfs_root_lookup()
269 root_inode = fill_device_inode(sb, d_inode(root_path.dentry)); in hmdfs_root_lookup()
271 path_put(&root_path); in hmdfs_root_lookup()
H A Dhmdfs_dentryfile.c504 struct path root_path, path; in hmdfs_get_or_create_dents() local
509 err = kern_path(sbi->local_src, 0, &root_path); in hmdfs_get_or_create_dents()
519 err = vfs_path_lookup(root_path.dentry, root_path.mnt, relative, 0, in hmdfs_get_or_create_dents()
536 path_put(&root_path); in hmdfs_get_or_create_dents()
2329 struct path path, root_path; in hmdfs_add_remote_cache_list() local
2332 err = kern_path(con->sbi->local_dst, 0, &root_path); in hmdfs_add_remote_cache_list()
2338 err = vfs_path_lookup(root_path.dentry, root_path.mnt, dir_path, 0, in hmdfs_add_remote_cache_list()
2374 path_put(&root_path); in hmdfs_add_remote_cache_list()
2572 hmdfs_root_unlink(uint64_t device_id, struct path *root_path, const char *unlink_dir, const char *unlink_name) hmdfs_root_unlink() argument
2724 hmdfs_root_rmdir(uint64_t device_id, struct path *root_path, const char *rmdir_dir, const char *rmdir_name) hmdfs_root_rmdir() argument
[all...]
H A Dhmdfs_dentryfile.h262 int hmdfs_root_unlink(uint64_t device_id, struct path *root_path,
271 int hmdfs_root_rmdir(uint64_t device_id, struct path *root_path,
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dhmdfs_server.c162 struct path root_path; in hmdfs_open_path() local
167 err = kern_path(root_name, 0, &root_path); in hmdfs_open_path()
172 file = file_open_root(&root_path, path, in hmdfs_open_path()
174 path_put(&root_path); in hmdfs_open_path()
247 struct path root_path; in hmdfs_get_inode_by_name() local
251 ret = kern_path(con->sbi->local_dst, 0, &root_path); in hmdfs_get_inode_by_name()
257 ret = vfs_path_lookup(root_path.dentry, root_path.mnt, filename, 0, in hmdfs_get_inode_by_name()
260 path_put(&root_path); in hmdfs_get_inode_by_name()
270 path_put(&root_path); in hmdfs_get_inode_by_name()
295 struct path root_path; check_sec_level() local
1045 struct path root_path; server_lookup() local
1256 struct path root_path; hmdfs_server_rmdir() local
1286 struct path root_path; hmdfs_server_unlink() local
1652 struct path root_path, dst_path; hmdfs_server_setattr() local
1744 struct path root_path, dst_path; hmdfs_server_getattr() local
1841 struct path root_path, path; hmdfs_server_statfs() local
1916 struct path root_path; hmdfs_server_getxattr() local
1983 struct path root_path; hmdfs_server_setxattr() local
2033 struct path root_path; hmdfs_server_listxattr() local
2090 struct path root_path, path; hmdfs_server_get_drop_push() local
[all...]
H A Dfile_cloud.c38 struct path root_path; in hmdfs_file_open_cloud() local
52 err = kern_path(sbi->cloud_dir, 0, &root_path); in hmdfs_file_open_cloud()
66 lower_file = file_open_root(&root_path, dir_path, in hmdfs_file_open_cloud()
68 path_put(&root_path); in hmdfs_file_open_cloud()
H A Dinode_root.c248 struct path root_path; in hmdfs_root_lookup() local
266 ret = ERR_PTR(kern_path(sbi->local_src, 0, &root_path)); in hmdfs_root_lookup()
269 root_inode = fill_device_inode(sb, d_inode(root_path.dentry)); in hmdfs_root_lookup()
271 path_put(&root_path); in hmdfs_root_lookup()
H A Dhmdfs_dentryfile.c505 struct path root_path, path; in hmdfs_get_or_create_dents() local
510 err = kern_path(sbi->local_src, 0, &root_path); in hmdfs_get_or_create_dents()
520 err = vfs_path_lookup(root_path.dentry, root_path.mnt, relative, 0, in hmdfs_get_or_create_dents()
537 path_put(&root_path); in hmdfs_get_or_create_dents()
2330 struct path path, root_path; in hmdfs_add_remote_cache_list() local
2333 err = kern_path(con->sbi->local_dst, 0, &root_path); in hmdfs_add_remote_cache_list()
2339 err = vfs_path_lookup(root_path.dentry, root_path.mnt, dir_path, 0, in hmdfs_add_remote_cache_list()
2375 path_put(&root_path); in hmdfs_add_remote_cache_list()
2580 hmdfs_root_unlink(uint64_t device_id, struct path *root_path, const char *unlink_dir, const char *unlink_name) hmdfs_root_unlink() argument
2732 hmdfs_root_rmdir(uint64_t device_id, struct path *root_path, const char *rmdir_dir, const char *rmdir_name) hmdfs_root_rmdir() argument
[all...]
H A Dhmdfs_dentryfile.h262 int hmdfs_root_unlink(uint64_t device_id, struct path *root_path,
271 int hmdfs_root_rmdir(uint64_t device_id, struct path *root_path,
/kernel/linux/common_modules/xpm/validator/
H A Dexec_signature_info.c66 static struct path root_path; variable
91 static dev_t get_root_partition_dev(struct path *root_path) in get_root_partition_dev() argument
98 if (root_path != NULL) in get_root_partition_dev()
99 mount_path = root_path; in get_root_partition_dev()
106 if (s_dev == DM_VERITY_INVALID_DEV || root_path == NULL) in get_root_partition_dev()
112 static dev_t get_dm_verity_partition_dev(const char *dir, struct path *root_path) in get_dm_verity_partition_dev() argument
118 ret = vfs_path_lookup(root_path->dentry, root_path->mnt, dir, LOOKUP_DIRECTORY, &path); in get_dm_verity_partition_dev()
149 dm_path->s_dev = get_dm_verity_partition_dev(dm_path->path, &root_path); in find_partition_dev()
180 path_put(&root_path); in dm_verity_check_for_path()
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Dcifs_dfs_ref.c303 char *full_path, *root_path; in cifs_dfs_do_automount() local
345 root_path = kstrdup(tcon->treeName, GFP_KERNEL); in cifs_dfs_do_automount()
346 if (!root_path) { in cifs_dfs_do_automount()
350 cifs_dbg(FYI, "%s: root path: %s\n", __func__, root_path); in cifs_dfs_do_automount()
360 root_path + 1, NULL, NULL); in cifs_dfs_do_automount()
384 kfree(root_path); in cifs_dfs_do_automount()
H A Dioctl.c46 __le16 *utf16_path = NULL, root_path; in cifs_ioctl_query_info() local
56 root_path = 0; in cifs_ioctl_query_info()
57 utf16_path = &root_path; in cifs_ioctl_query_info()
74 if (utf16_path != &root_path) in cifs_ioctl_query_info()
/kernel/linux/linux-5.10/fs/vboxsf/
H A Dsuper.c122 struct shfl_string *folder_name, root_path; in vboxsf_fill_super() local
188 root_path.length = 1; in vboxsf_fill_super()
189 root_path.size = 2; in vboxsf_fill_super()
190 root_path.string.utf8[0] = '/'; in vboxsf_fill_super()
191 root_path.string.utf8[1] = 0; in vboxsf_fill_super()
192 err = vboxsf_stat(sbi, &root_path, &sbi->root_info); in vboxsf_fill_super()
/kernel/linux/linux-6.6/fs/vboxsf/
H A Dsuper.c122 struct shfl_string *folder_name, root_path; in vboxsf_fill_super() local
188 root_path.length = 1; in vboxsf_fill_super()
189 root_path.size = 2; in vboxsf_fill_super()
190 root_path.string.utf8[0] = '/'; in vboxsf_fill_super()
191 root_path.string.utf8[1] = 0; in vboxsf_fill_super()
192 err = vboxsf_stat(sbi, &root_path, &sbi->root_info); in vboxsf_fill_super()
/kernel/linux/linux-5.10/drivers/firmware/tegra/
H A Dbpmp-debugfs.c78 const char *root_path; in get_filename() local
82 root_path = dentry_path(bpmp->debugfs_mirror, root_path_buf, in get_filename()
84 if (IS_ERR(root_path)) in get_filename()
87 root_len = strlen(root_path); in get_filename()
94 strncmp(filename, root_path, root_len)) in get_filename()
/kernel/linux/linux-6.6/fs/smb/client/
H A Dioctl.c35 __le16 *utf16_path = NULL, root_path; in cifs_ioctl_query_info() local
47 root_path = 0; in cifs_ioctl_query_info()
48 utf16_path = &root_path; in cifs_ioctl_query_info()
65 if (utf16_path != &root_path) in cifs_ioctl_query_info()
/kernel/linux/linux-6.6/drivers/firmware/tegra/
H A Dbpmp-debugfs.c73 const char *root_path, *filename = NULL; in get_filename() local
82 root_path = dentry_path(bpmp->debugfs_mirror, root_path_buf, in get_filename()
84 if (IS_ERR(root_path)) in get_filename()
87 root_len = strlen(root_path); in get_filename()
95 if (strlen(filename) < root_len || strncmp(filename, root_path, root_len)) { in get_filename()
/kernel/linux/linux-5.10/fs/hostfs/
H A Dhostfs_kern.c250 const char *root_path = root->d_sb->s_fs_info; in hostfs_show_options() local
253 if (strlen(root_path) > offset) in hostfs_show_options()
254 seq_show_option(seq, root_path + offset, NULL); in hostfs_show_options()
/kernel/linux/linux-6.6/fs/hostfs/
H A Dhostfs_kern.c248 const char *root_path = root->d_sb->s_fs_info; in hostfs_show_options() local
251 if (strlen(root_path) > offset) in hostfs_show_options()
252 seq_show_option(seq, root_path + offset, NULL); in hostfs_show_options()
/kernel/linux/linux-5.10/fs/nfs/
H A Dnfs4xdr.c3628 goto root_path; in decode_pathname()
3646 root_path: in decode_pathname()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnfs4xdr.c3696 goto root_path; in decode_pathname()
3714 root_path: in decode_pathname()
/kernel/linux/linux-5.10/scripts/
H A Dcheckpatch.pl915 my $root_path = abs_path($root);
916 my $status = `cd "$root_path"; echo "$license" | python scripts/spdxcheck.py -`;
/kernel/linux/linux-6.6/scripts/
H A Dcheckpatch.pl1152 my $root_path = abs_path($root);
1153 my $status = `cd "$root_path"; echo "$license" | scripts/spdxcheck.py -`;

Completed in 73 milliseconds