Home
last modified time | relevance | path

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

12

/linux/drivers/acpi/acpica/
H A 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 …]
H A 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/fs/smb/client/
H A Dxattr.c47 struct inode *inode, const char *full_path, in cifs_attrib_set() argument
62 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_attrib_set()
71 struct inode *inode, const char *full_path, in cifs_creation_time_set() argument
86 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_creation_time_set()
106 const char *full_path; in cifs_xattr_set() local
117 full_path = build_path_from_dentry(dentry, page); in cifs_xattr_set()
118 if (IS_ERR(full_path)) { in cifs_xattr_set()
119 rc = PTR_ERR(full_path); in cifs_xattr_set()
139 rc = cifs_attrib_set(xid, pTcon, inode, full_path, in cifs_xattr_set()
147 full_path, value, size); in cifs_xattr_set()
[all …]
H A Ddir.c45 char *full_path = NULL; in cifs_build_path_to_root() local
49 full_path = kzalloc(1, GFP_KERNEL); in cifs_build_path_to_root()
50 return full_path; in cifs_build_path_to_root()
58 full_path = kmalloc(dfsplen + pplen + 1, GFP_KERNEL); in cifs_build_path_to_root()
59 if (full_path == NULL) in cifs_build_path_to_root()
60 return full_path; in cifs_build_path_to_root()
63 memcpy(full_path, tcon->tree_name, dfsplen); in cifs_build_path_to_root()
64 full_path[dfsplen] = CIFS_DIR_SEP(cifs_sb); in cifs_build_path_to_root()
65 memcpy(full_path + dfsplen + 1, ctx->prepath, pplen); in cifs_build_path_to_root()
66 convert_delimiter(full_path, CIFS_DIR_SEP(cifs_sb)); in cifs_build_path_to_root()
[all …]
H A Dsmb2inode.c176 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() argument
231 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
314 ses->Suid, full_path); in smb2_compound_op()
350 ses->Suid, full_path); in smb2_compound_op()
357 trace_smb3_mkdir_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
392 trace_smb3_unlink_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
427 trace_smb3_set_eof_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
459 ses->Suid, full_path); in smb2_compound_op()
498 trace_smb3_rename_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
525 trace_smb3_hardlink_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
[all …]
H A Dinode.c432 static int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() argument
445 cifs_dbg(FYI, "Getting info on %s\n", full_path); in cifs_get_unix_fattr()
454 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, in cifs_get_unix_fattr()
473 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_unix_fattr()
481 cifs_sb, full_path, in cifs_get_unix_fattr()
489 const unsigned char *full_path, in cifs_get_inode_info_unix() argument
495 rc = cifs_get_unix_fattr(full_path, sb, &fattr, pinode, xid); in cifs_get_inode_info_unix()
505 static inline int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() argument
515 const unsigned char *full_path, in cifs_get_inode_info_unix() argument
1069 const char *full_path, in cifs_backup_query_path_info() argument
[all …]
H A Dreparse.c19 const char *full_path, umode_t mode, dev_t dev,
24 const char *full_path, umode_t mode, dev_t dev,
29 const char *full_path, const char *symname);
33 const char *full_path,
39 const char *full_path, const char *symname) in create_reparse_symlink() argument
43 return create_native_symlink(xid, inode, dentry, tcon, full_path, symname); in create_reparse_symlink()
45 return mknod_nfs(xid, inode, dentry, tcon, full_path, S_IFLNK, 0, symname); in create_reparse_symlink()
47 return mknod_wsl(xid, inode, dentry, tcon, full_path, S_IFLNK, 0, symname); in create_reparse_symlink()
55 const char *full_path, const char *symname) in create_native_symlink() argument
193 rc = detect_directory_symlink_target(cifs_sb, xid, full_path, symname, &directory); in create_native_symlink()
[all …]
H A Ddfs.c23 int dfs_parse_target_referral(const char *full_path, const struct dfs_info3_param *ref, in dfs_parse_target_referral() argument
30 if (!full_path || !*full_path || !ref || !ctx) in dfs_parse_target_referral()
36 if (strlen(full_path) - ref->path_consumed) { in dfs_parse_target_referral()
37 prepath = full_path + ref->path_consumed; in dfs_parse_target_referral()
58 static int get_session(struct cifs_mount_ctx *mnt_ctx, const char *full_path) in get_session() argument
63 ctx->leaf_fullpath = (char *)full_path; in get_session()
105 char *ref_path, *full_path; in setup_dfs_ref() local
111 full_path = smb3_fs_context_fullpath(ctx, CIFS_DIR_SEP(cifs_sb)); in setup_dfs_ref()
112 if (IS_ERR(full_path)) in setup_dfs_ref()
113 return PTR_ERR(full_path); in setup_dfs_ref()
[all …]
H A Dsmb1ops.c568 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() argument
577 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
582 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
591 const char *full_path, in cifs_query_path_info() argument
614 rc = CIFSSMBQPathInfo(xid, tcon, full_path, &fi, 0 /* not legacy */, in cifs_query_path_info()
621 if (rc && !(tcon->ses->capabilities & CAP_UNICODE) && strpbrk(full_path, "*?\"><")) in cifs_query_path_info()
634 rc = CIFSFindFirst(xid, tcon, full_path, cifs_sb, NULL, in cifs_query_path_info()
670 } else if (!full_path[0]) { in cifs_query_path_info()
686 rc = SMBQueryInformation(xid, tcon, full_path, &fi, cifs_sb->local_nls, in cifs_query_path_info()
720 rc = CIFSSMBQAllEAs(xid, tcon, full_path, SMB2_WSL_XATTR_MODE, in cifs_query_path_info()
[all …]
H A Dlink.c553 const char *full_path; local
574 full_path = build_path_from_dentry(direntry, page);
575 if (IS_ERR(full_path)) {
576 rc = PTR_ERR(full_path);
580 cifs_dbg(FYI, "Full path: %s\n", full_path);
589 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path,
600 full_path, symname);
607 full_path, S_IFLNK,
617 full_path, symname);
627 rc = smb311_posix_get_inode_info(&newinode, full_path,
[all …]
H A Dsmb2proto.h53 const char *full_path,
60 const char *full_path,
66 const char *full_path,
69 const char *full_path, __u64 size,
72 extern int smb2_set_file_info(struct inode *inode, const char *full_path,
76 const char *full_path,
81 extern void smb2_mkdir_setinfo(struct inode *inode, const char *full_path,
109 const char *full_path,
113 const char *full_path,
304 int smb2_rename_pending_delete(const char *full_path,
H A Dnamespace.c200 char *full_path; in cifs_do_automount() local
232 full_path = automount_fullpath(mntpt, page); in cifs_do_automount()
233 if (IS_ERR(full_path)) { in cifs_do_automount()
234 mnt = ERR_CAST(full_path); in cifs_do_automount()
251 rc = smb3_parse_devname(full_path, ctx); in cifs_do_automount()
H A Ddfs.h22 char *full_path; member
41 #define ref_walk_fpath(w) (ref_walk_cur(w)->full_path)
66 kfree(ref->full_path); in __ref_walk_free()
154 int dfs_parse_target_referral(const char *full_path, const struct dfs_info3_param *ref,
H A Dreaddir.c347 const char *full_path) in _initiate_cifs_search() argument
386 cifs_dbg(FYI, "Full path: %s start at: %lld\n", full_path, file->f_pos); in _initiate_cifs_search()
409 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in _initiate_cifs_search()
427 const char *full_path) in initiate_cifs_search() argument
432 rc = _initiate_cifs_search(xid, file, full_path); in initiate_cifs_search()
685 struct file *file, const char *full_path, in find_cifs_entry() argument
742 rc = initiate_cifs_search(xid, file, full_path); in find_cifs_entry()
1059 const char *full_path; in cifs_readdir() local
1066 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_readdir()
1067 if (IS_ERR(full_path)) { in cifs_readdir()
[all …]
H A Dcifsproto.h207 extern int cifs_posix_open(const char *full_path, struct inode **inode,
222 int cifs_get_inode_info(struct inode **inode, const char *full_path,
226 const char *full_path,
234 unsigned int xid, const char *full_path, __u32 dosattr);
235 extern int cifs_rename_pending_delete(const char *full_path,
488 const char *full_path,
495 const char *full_path,
678 const char *full_path,
682 const char *full_path, umode_t mode, dev_t dev,
686 const char *full_path, umode_t mode, dev_t dev);
[all …]
H A Dfile.c479 int cifs_posix_open(const char *full_path, struct inode **pinode, in cifs_posix_open() argument
491 cifs_dbg(FYI, "posix open %s\n", full_path); in cifs_posix_open()
508 poplock, full_path, cifs_sb->local_nls, in cifs_posix_open()
542 static int cifs_nt_open(const char *full_path, struct inode *inode, struct cifs_sb_info *cifs_sb, in cifs_nt_open() argument
605 .path = full_path, in cifs_nt_open()
623 rc = cifs_get_inode_info_unix(&inode, full_path, inode->i_sb, in cifs_nt_open()
626 rc = cifs_get_inode_info(&inode, full_path, buf, inode->i_sb, in cifs_nt_open()
1028 const char *full_path; in cifs_open() local
1051 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_open()
1052 if (IS_ERR(full_path)) { in cifs_open()
[all …]
H A Dcifsacl.c1727 const char *full_path; in cifs_get_acl() local
1738 full_path = build_path_from_dentry(dentry, page); in cifs_get_acl()
1739 if (IS_ERR(full_path)) { in cifs_get_acl()
1740 acl = ERR_CAST(full_path); in cifs_get_acl()
1748 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_get_acl()
1756 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_get_acl()
1790 const char *full_path; in cifs_set_acl() local
1801 full_path = build_path_from_dentry(dentry, page); in cifs_set_acl()
1802 if (IS_ERR(full_path)) { in cifs_set_acl()
1803 rc = PTR_ERR(full_path); in cifs_set_acl()
[all …]
H A Dmisc.c884 const char *full_path; in cifs_mark_open_handles_for_deleted_file() local
897 full_path = build_path_from_dentry(cfile->dentry, page); in cifs_mark_open_handles_for_deleted_file()
898 if (!IS_ERR(full_path) && strcmp(full_path, path) == 0) in cifs_mark_open_handles_for_deleted_file()
1262 const char *full_path, in cifs_inval_name_dfs_link_error() argument
1277 if (strlen(full_path) < 2 || !cifs_sb || in cifs_inval_name_dfs_link_error()
1293 len = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1) + strlen(full_path) + 1; in cifs_inval_name_dfs_link_error()
1298 scnprintf(path, len, "%s%s", tcon->tree_name, full_path); in cifs_inval_name_dfs_link_error()
H A Dcifsfs.c357 const char *full_path; in cifs_statfs() local
363 full_path = build_path_from_dentry(dentry, page); in cifs_statfs()
364 if (IS_ERR(full_path)) { in cifs_statfs()
365 rc = PTR_ERR(full_path); in cifs_statfs()
383 rc = server->ops->queryfs(xid, tcon, full_path, cifs_sb, buf); in cifs_statfs()
950 char *full_path = NULL; in cifs_get_root() local
957 full_path = cifs_build_path_to_root(ctx, cifs_sb, in cifs_get_root()
959 if (full_path == NULL) in cifs_get_root()
962 cifs_dbg(FYI, "Get root dentry for %s\n", full_path); in cifs_get_root()
966 s = full_path; in cifs_get_root()
[all …]
H A Dcifsglob.h404 const char *full_path,
413 const char *full_path,
418 struct cifs_sb_info *cifs_sb, const char *full_path, u64 *uniqueid,
439 const char *full_path,
473 const char *full_path,
615 const char *full_path,
633 const char *full_path,
1535 const char *full_path, struct cifsFileInfo *open_file,
H A Dtrace.h773 const char *full_path),
774 TP_ARGS(xid, tid, sesid, full_path),
779 __string(path, full_path)
797 const char *full_path), \
798 TP_ARGS(xid, tid, sesid, full_path))
1145 const char *full_path,
1148 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access),
1153 __string(path, full_path)
1175 const char *full_path, \
1178 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access))
H A Dsmb2file.c113 const char *full_path, char **path) in smb2_parse_symlink_response() argument
139 full_path, in smb2_parse_symlink_response()
H A Dsmb2ops.c943 struct cifs_sb_info *cifs_sb, const char *full_path) in smb2_is_path_accessible() argument
955 rc = open_cached_dir(xid, tcon, full_path, cifs_sb, true, &cfid); in smb2_is_path_accessible()
961 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
967 .path = full_path, in smb2_is_path_accessible()
984 full_path, &islink); in smb2_is_path_accessible()
1007 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_get_srv_inum() argument
5166 const char *full_path, umode_t mode, dev_t dev, in __cifs_sfu_make_node() argument
5236 oparms = CIFS_OPARMS(cifs_sb, tcon, full_path, GENERIC_WRITE, in __cifs_sfu_make_node()
5279 server->ops->unlink(xid, tcon, full_path, cifs_sb, NULL); in __cifs_sfu_make_node()
5288 const char *full_path, umode_t mode, dev_t dev) in cifs_sfu_make_node() argument
[all …]
/linux/tools/docs/
H A Dsphinx-pre-install226 full_path = os.path.join(path, prog)
227 if os.access(full_path, os.X_OK):
228 return full_path
/linux/fs/btrfs/
H A Dsend.c2965 struct fs_path *full_path; member
2992 fs_path_free(ref->full_path); in recorded_ref_free()
2998 ref->full_path = path; in set_ref_path()
2999 ref->name = (char *)kbasename(ref->full_path->start); in set_ref_path()
3000 ref->name_len = ref->full_path->end - ref->name; in set_ref_path()
4027 fs_path_free(ref->full_path); in update_ref_path()
4083 fs_path_reset(ref->full_path); in refresh_ref_path()
4084 ret = get_cur_path(sctx, ref->dir, ref->dir_gen, ref->full_path); in refresh_ref_path()
4088 ret = fs_path_add(ref->full_path, name, ref->name_len); in refresh_ref_path()
4093 set_ref_path(ref, ref->full_path); in refresh_ref_path()
[all …]

12