Home
last modified time | relevance | path

Searched refs:full_path (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v6.6/drivers/acpi/acpica/
Dnsnames.c194 char *full_path, u32 path_size, u8 no_trailing) in acpi_ns_build_normalized_path() argument
217 if (!full_path) { in acpi_ns_build_normalized_path()
228 ACPI_PATH_PUT8(full_path, path_size, in acpi_ns_build_normalized_path()
240 ACPI_PATH_PUT8(full_path, path_size, c, length); in acpi_ns_build_normalized_path()
247 ACPI_PATH_PUT8(full_path, path_size, AML_ROOT_PREFIX, length); in acpi_ns_build_normalized_path()
252 left = full_path; in acpi_ns_build_normalized_path()
253 right = full_path + length - 1; in acpi_ns_build_normalized_path()
265 ACPI_PATH_PUT8(full_path, path_size, '\0', length); in acpi_ns_build_normalized_path()
342 char *full_path = NULL; in acpi_ns_build_prefixed_pathname() local
366 full_path = in acpi_ns_build_prefixed_pathname()
[all …]
Duterror.c174 char *full_path; in acpi_ut_prefixed_namespace_error() local
204 full_path = in acpi_ut_prefixed_namespace_error()
208 full_path ? full_path : "Could not get pathname", in acpi_ut_prefixed_namespace_error()
211 if (full_path) { in acpi_ut_prefixed_namespace_error()
212 ACPI_FREE(full_path); in acpi_ut_prefixed_namespace_error()
/Linux-v6.6/fs/smb/client/
Dxattr.c44 struct inode *inode, const char *full_path, in cifs_attrib_set() argument
59 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_attrib_set()
68 struct inode *inode, const char *full_path, in cifs_creation_time_set() argument
83 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_creation_time_set()
103 const char *full_path; in cifs_xattr_set() local
114 full_path = build_path_from_dentry(dentry, page); in cifs_xattr_set()
115 if (IS_ERR(full_path)) { in cifs_xattr_set()
116 rc = PTR_ERR(full_path); in cifs_xattr_set()
136 rc = cifs_attrib_set(xid, pTcon, inode, full_path, in cifs_xattr_set()
144 full_path, value, size); in cifs_xattr_set()
[all …]
Ddir.c44 char *full_path = NULL; in cifs_build_path_to_root() local
48 full_path = kzalloc(1, GFP_KERNEL); in cifs_build_path_to_root()
49 return full_path; in cifs_build_path_to_root()
57 full_path = kmalloc(dfsplen + pplen + 1, GFP_KERNEL); in cifs_build_path_to_root()
58 if (full_path == NULL) in cifs_build_path_to_root()
59 return full_path; in cifs_build_path_to_root()
62 memcpy(full_path, tcon->tree_name, dfsplen); in cifs_build_path_to_root()
63 full_path[dfsplen] = CIFS_DIR_SEP(cifs_sb); in cifs_build_path_to_root()
64 memcpy(full_path + dfsplen + 1, ctx->prepath, pplen); in cifs_build_path_to_root()
65 convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); in cifs_build_path_to_root()
[all …]
Dinode.c410 static int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() argument
423 cifs_dbg(FYI, "Getting info on %s\n", full_path); in cifs_get_unix_fattr()
432 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, in cifs_get_unix_fattr()
451 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_unix_fattr()
459 cifs_sb, full_path, in cifs_get_unix_fattr()
468 const unsigned char *full_path, in cifs_get_inode_info_unix() argument
474 rc = cifs_get_unix_fattr(full_path, sb, &fattr, pinode, xid); in cifs_get_inode_info_unix()
484 static inline int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() argument
494 const unsigned char *full_path, in cifs_get_inode_info_unix() argument
920 const char *full_path, in cifs_backup_query_path_info() argument
[all …]
Dsmb2inode.c47 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() argument
90 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
98 .path = full_path, in smb2_compound_op()
155 full_path); in smb2_compound_op()
189 trace_smb3_posix_query_info_compound_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
192 trace_smb3_delete_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
199 trace_smb3_mkdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
217 trace_smb3_rmdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
252 trace_smb3_set_eof_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op()
286 full_path); in smb2_compound_op()
[all …]
Ddfs.c21 int dfs_parse_target_referral(const char *full_path, const struct dfs_info3_param *ref, in dfs_parse_target_referral() argument
28 if (!full_path || !*full_path || !ref || !ctx) in dfs_parse_target_referral()
34 if (strlen(full_path) - ref->path_consumed) { in dfs_parse_target_referral()
35 prepath = full_path + ref->path_consumed; in dfs_parse_target_referral()
56 static int get_session(struct cifs_mount_ctx *mnt_ctx, const char *full_path) in get_session() argument
61 ctx->leaf_fullpath = (char *)full_path; in get_session()
117 char *ref_path, *full_path; in set_ref_paths() local
120 full_path = smb3_fs_context_fullpath(ctx, CIFS_DIR_SEP(cifs_sb)); in set_ref_paths()
121 if (IS_ERR(full_path)) in set_ref_paths()
122 return PTR_ERR(full_path); in set_ref_paths()
[all …]
Dsmb1ops.c525 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() argument
534 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
539 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
548 const char *full_path, in cifs_query_path_info() argument
558 rc = CIFSSMBQPathInfo(xid, tcon, full_path, &fi, 0 /* not legacy */, cifs_sb->local_nls, in cifs_query_path_info()
566 rc = SMBQueryInformation(xid, tcon, full_path, &fi, cifs_sb->local_nls, in cifs_query_path_info()
588 .path = full_path, in cifs_query_path_info()
604 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_get_srv_inum() argument
618 return CIFSGetSrvInodeNumber(xid, tcon, full_path, uniqueid, in cifs_get_srv_inum()
704 cifs_mkdir_setinfo(struct inode *inode, const char *full_path, in cifs_mkdir_setinfo() argument
[all …]
Dnamespace.c170 char *full_path; in cifs_do_automount() local
185 full_path = automount_fullpath(mntpt, page); in cifs_do_automount()
186 if (IS_ERR(full_path)) { in cifs_do_automount()
187 mnt = ERR_CAST(full_path); in cifs_do_automount()
203 rc = smb3_parse_devname(full_path, ctx); in cifs_do_automount()
Ddfs.h19 char *full_path; member
37 #define ref_walk_fpath(w) (ref_walk_cur(w)->full_path)
59 kfree(ref->full_path); in __ref_walk_free()
122 int dfs_parse_target_referral(const char *full_path, const struct dfs_info3_param *ref,
Dlink.c586 const char *full_path; local
606 full_path = build_path_from_dentry(direntry, page);
607 if (IS_ERR(full_path)) {
608 rc = PTR_ERR(full_path);
612 cifs_dbg(FYI, "Full path: %s\n", full_path);
617 rc = create_mf_symlink(xid, pTcon, cifs_sb, full_path, symname);
620 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path, symname,
630 rc = smb311_posix_get_inode_info(&newinode, full_path, inode->i_sb, xid);
632 rc = cifs_get_inode_info_unix(&newinode, full_path,
635 rc = cifs_get_inode_info(&newinode, full_path, NULL,
Dreaddir.c364 const char *full_path) in _initiate_cifs_search() argument
403 cifs_dbg(FYI, "Full path: %s start at: %lld\n", full_path, file->f_pos); in _initiate_cifs_search()
426 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in _initiate_cifs_search()
447 const char *full_path) in initiate_cifs_search() argument
452 rc = _initiate_cifs_search(xid, file, full_path); in initiate_cifs_search()
705 struct file *file, const char *full_path, in find_cifs_entry() argument
759 rc = initiate_cifs_search(xid, file, full_path); in find_cifs_entry()
1061 const char *full_path; in cifs_readdir() local
1068 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_readdir()
1069 if (IS_ERR(full_path)) { in cifs_readdir()
[all …]
Dsmb2proto.h62 const char *full_path,
65 const char *full_path, __u64 size,
67 extern int smb2_set_file_info(struct inode *inode, const char *full_path,
71 const char *full_path,
76 extern void smb2_mkdir_setinfo(struct inode *inode, const char *full_path,
283 const char *full_path,
Dtrace.h339 const char *full_path),
340 TP_ARGS(xid, tid, sesid, full_path),
345 __string(path, full_path)
351 __assign_str(path, full_path);
363 const char *full_path), \
364 TP_ARGS(xid, tid, sesid, full_path))
704 const char *full_path,
707 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access),
712 __string(path, full_path)
720 __assign_str(path, full_path);
[all …]
Dcifsacl.c1690 const char *full_path; in cifs_get_acl() local
1701 full_path = build_path_from_dentry(dentry, page); in cifs_get_acl()
1702 if (IS_ERR(full_path)) { in cifs_get_acl()
1703 acl = ERR_CAST(full_path); in cifs_get_acl()
1711 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_get_acl()
1719 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_get_acl()
1753 const char *full_path; in cifs_set_acl() local
1764 full_path = build_path_from_dentry(dentry, page); in cifs_set_acl()
1765 if (IS_ERR(full_path)) { in cifs_set_acl()
1766 rc = PTR_ERR(full_path); in cifs_set_acl()
[all …]
Dfile.c275 int cifs_posix_open(const char *full_path, struct inode **pinode, in cifs_posix_open() argument
287 cifs_dbg(FYI, "posix open %s\n", full_path); in cifs_posix_open()
304 poplock, full_path, cifs_sb->local_nls, in cifs_posix_open()
338 static int cifs_nt_open(const char *full_path, struct inode *inode, struct cifs_sb_info *cifs_sb, in cifs_nt_open() argument
395 .path = full_path, in cifs_nt_open()
405 rc = cifs_get_inode_info_unix(&inode, full_path, inode->i_sb, in cifs_nt_open()
408 rc = cifs_get_inode_info(&inode, full_path, buf, inode->i_sb, in cifs_nt_open()
699 const char *full_path; in cifs_open() local
722 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_open()
723 if (IS_ERR(full_path)) { in cifs_open()
[all …]
Dmisc.c818 const char *full_path; in cifs_close_deferred_file_under_dentry() local
824 full_path = build_path_from_dentry(cfile->dentry, page); in cifs_close_deferred_file_under_dentry()
825 if (strstr(full_path, path)) { in cifs_close_deferred_file_under_dentry()
1248 const char *full_path, in cifs_inval_name_dfs_link_error() argument
1262 if (strlen(full_path) < 2 || !cifs_sb || in cifs_inval_name_dfs_link_error()
1278 len = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1) + strlen(full_path) + 1; in cifs_inval_name_dfs_link_error()
1283 scnprintf(path, len, "%s%s", tcon->tree_name, full_path); in cifs_inval_name_dfs_link_error()
Dcifsproto.h193 extern int cifs_posix_open(const char *full_path, struct inode **inode,
207 int cifs_get_inode_info(struct inode **inode, const char *full_path,
219 unsigned int xid, const char *full_path, __u32 dosattr);
220 extern int cifs_rename_pending_delete(const char *full_path,
676 const char *full_path,
682 const char *full_path, in cifs_inval_name_dfs_link_error() argument
Dcifsglob.h334 const char *full_path,
343 const char *full_path,
348 struct cifs_sb_info *cifs_sb, const char *full_path, u64 *uniqueid,
368 const char *full_path,
397 const char *full_path,
542 const char *full_path,
Dcifsfs.c838 char *full_path = NULL; in cifs_get_root() local
845 full_path = cifs_build_path_to_root(ctx, cifs_sb, in cifs_get_root()
847 if (full_path == NULL) in cifs_get_root()
850 cifs_dbg(FYI, "Get root dentry for %s\n", full_path); in cifs_get_root()
854 s = full_path; in cifs_get_root()
880 kfree(full_path); in cifs_get_root()
Dconnect.c3443 char *full_path, in cifs_are_all_path_components_accessible() argument
3452 s = full_path; in cifs_are_all_path_components_accessible()
3479 full_path); in cifs_are_all_path_components_accessible()
3498 char *full_path; in cifs_is_path_remote() local
3506 full_path = cifs_build_path_to_root(ctx, cifs_sb, tcon, in cifs_is_path_remote()
3508 if (full_path == NULL) in cifs_is_path_remote()
3511 cifs_dbg(FYI, "%s: full_path: %s\n", __func__, full_path); in cifs_is_path_remote()
3514 full_path); in cifs_is_path_remote()
3520 cifs_sb, full_path, tcon->Flags & SMB_SHARE_IS_IN_DFS); in cifs_is_path_remote()
3529 kfree(full_path); in cifs_is_path_remote()
Dsmb2ops.c866 struct cifs_sb_info *cifs_sb, const char *full_path) in smb2_is_path_accessible() argument
878 rc = open_cached_dir(xid, tcon, full_path, cifs_sb, true, &cfid); in smb2_is_path_accessible()
887 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
893 .path = full_path, in smb2_is_path_accessible()
910 full_path, &islink); in smb2_is_path_accessible()
933 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_get_srv_inum() argument
2957 const char *full_path, in smb2_query_symlink() argument
2965 cifs_dbg(FYI, "%s: path: %s\n", __func__, full_path); in smb2_query_symlink()
2975 const char *full_path, in smb2_query_reparse_point() argument
2994 cifs_dbg(FYI, "%s: path: %s\n", __func__, full_path); in smb2_query_reparse_point()
[all …]
/Linux-v6.6/drivers/block/rnbd/
Drnbd-srv.c586 char *full_path; in rnbd_srv_get_full_path() local
589 full_path = kmalloc(PATH_MAX, GFP_KERNEL); in rnbd_srv_get_full_path()
590 if (!full_path) in rnbd_srv_get_full_path()
601 len = snprintf(full_path, PATH_MAX, "%.*s/%s/%s", len, in rnbd_srv_get_full_path()
606 kfree(full_path); in rnbd_srv_get_full_path()
610 snprintf(full_path, PATH_MAX, "%s/%s", in rnbd_srv_get_full_path()
615 a = strchr(full_path, '/'); in rnbd_srv_get_full_path()
629 return full_path; in rnbd_srv_get_full_path()
681 char *full_path; in process_msg_open() local
709 full_path = rnbd_srv_get_full_path(srv_sess, open_msg->dev_name); in process_msg_open()
[all …]
/Linux-v6.6/tools/bpf/bpftool/
Dcommon.c628 char full_path[64]; in read_sysfs_netdev_hex_int() local
630 snprintf(full_path, sizeof(full_path), "/sys/class/net/%s/device/%s", in read_sysfs_netdev_hex_int()
633 return read_sysfs_hex_int(full_path); in read_sysfs_netdev_hex_int()
/Linux-v6.6/fs/btrfs/
Dsend.c3017 struct fs_path *full_path; member
3044 fs_path_free(ref->full_path); in recorded_ref_free()
3050 ref->full_path = path; in set_ref_path()
3051 ref->name = (char *)kbasename(ref->full_path->start); in set_ref_path()
3052 ref->name_len = ref->full_path->end - ref->name; in set_ref_path()
4086 fs_path_free(ref->full_path); in update_ref_path()
4142 fs_path_reset(ref->full_path); in refresh_ref_path()
4143 ret = get_cur_path(sctx, ref->dir, ref->dir_gen, ref->full_path); in refresh_ref_path()
4147 ret = fs_path_add(ref->full_path, name, ref->name_len); in refresh_ref_path()
4152 set_ref_path(ref, ref->full_path); in refresh_ref_path()
[all …]

12