| /fs/smb/client/ |
| A D | xattr.c | 106 const char *full_path; in cifs_xattr_set() local 118 if (IS_ERR(full_path)) { in cifs_xattr_set() 119 rc = PTR_ERR(full_path); in cifs_xattr_set() 147 full_path, value, size); in cifs_xattr_set() 208 size, inode, full_path, aclflags); in cifs_xattr_set() 283 const char *full_path; in cifs_xattr_get() local 295 if (IS_ERR(full_path)) { in cifs_xattr_get() 296 rc = PTR_ERR(full_path); in cifs_xattr_get() 397 const char *full_path; in cifs_listxattr() local 415 if (IS_ERR(full_path)) { in cifs_listxattr() [all …]
|
| A D | dir.c | 45 char *full_path = NULL; in cifs_build_path_to_root() local 50 return full_path; 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() 67 return full_path; in cifs_build_path_to_root() 187 const char *full_path; local 202 if (IS_ERR(full_path)) { 345 .path = full_path, 631 const char *full_path; local 650 if (IS_ERR(full_path)) { [all …]
|
| A D | smb2inode.c | 309 ses->Suid, full_path); in smb2_compound_op() 345 ses->Suid, full_path); in smb2_compound_op() 440 ses->Suid, full_path); in smb2_compound_op() 534 ses->Suid, full_path); in smb2_compound_op() 875 const char *full_path, in parse_create_response() argument 889 full_path, in parse_create_response() 938 const char *full_path, in smb2_query_path_info() argument 963 if (*full_path) { in smb2_query_path_info() 1097 full_path, &islink); in smb2_query_path_info() 1328 const char *full_path, in smb2_create_reparse_inode() argument [all …]
|
| A D | inode.c | 480 cifs_sb, full_path, in cifs_get_unix_fattr() 1334 full_path, in cifs_get_fattr() 1425 const char *full_path, in cifs_get_inode_info() argument 1825 .path = full_path, in cifs_rename_pending_delete() 1938 const char *full_path; in cifs_unlink() local 1981 if (IS_ERR(full_path)) { in cifs_unlink() 2240 const char *full_path; local 2318 const char *full_path; local 2762 const char *full_path; local 3048 const char *full_path; local [all …]
|
| A D | reparse.c | 33 const char *full_path, 248 const char *full_path, in detect_directory_symlink_target() argument 288 __func__, symname, full_path); in detect_directory_symlink_target() 298 full_path_len = strlen(full_path); in detect_directory_symlink_target() 347 __func__, symname, full_path); in detect_directory_symlink_target() 386 const char *full_path) in create_native_socket() argument 788 const char *full_path, in smb2_parse_native_symlink() argument 943 if (full_path[i] == sep) in smb2_parse_native_symlink() 987 const char *full_path, in parse_reparse_native_symlink() argument 1006 full_path, in parse_reparse_native_symlink() [all …]
|
| A D | dfs.c | 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() 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() 119 ref_path = dfs_get_path(cifs_sb, full_path); in setup_dfs_ref() 122 kfree(full_path); in setup_dfs_ref() [all …]
|
| A D | smb1ops.c | 522 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() argument 545 const char *full_path, in cifs_query_path_info() argument 624 } else if (!full_path[0]) { in cifs_query_path_info() 979 .path = full_path, in smb_set_file_info() 1011 rc = SMBSetInformation(xid, tcon, full_path, in smb_set_file_info() 1050 SMBSetInformation(xid, tcon, full_path, in smb_set_file_info() 1174 const char *full_path, in cifs_query_symlink() argument 1187 rc = cifs_unix_dfs_readlink(xid, tcon, full_path, in cifs_query_symlink() 1262 rc = cifs_get_inode_info_unix(&newinode, full_path, in cifs_make_node() 1275 full_path, mode, dev); in cifs_make_node() [all …]
|
| A D | smb2proto.h | 61 const char *full_path, 68 const char *full_path, 74 const char *full_path, 77 const char *full_path, __u64 size, 80 extern int smb2_set_file_info(struct inode *inode, const char *full_path, 84 const char *full_path, 89 extern void smb2_mkdir_setinfo(struct inode *inode, const char *full_path, 117 const char *full_path, 121 const char *full_path, 312 const char *full_path, [all …]
|
| A D | link.c | 576 const char *full_path; local 597 full_path = build_path_from_dentry(direntry, page); 598 if (IS_ERR(full_path)) { 599 rc = PTR_ERR(full_path); 603 cifs_dbg(FYI, "Full path: %s\n", full_path); 612 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path, 623 full_path, symname); 630 full_path, S_IFLNK, 640 full_path, symname); 653 rc = cifs_get_inode_info_unix(&newinode, full_path, [all …]
|
| A D | namespace.c | 200 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()
|
| A D | readdir.c | 347 const char *full_path) in _initiate_cifs_search() argument 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() 1045 const char *full_path; in cifs_readdir() local 1052 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_readdir() 1053 if (IS_ERR(full_path)) { in cifs_readdir() 1054 rc = PTR_ERR(full_path); in cifs_readdir() 1111 rc = initiate_cifs_search(xid, file, full_path); in cifs_readdir() [all …]
|
| A D | dfs.h | 22 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,
|
| A D | cifsproto.h | 232 int cifs_get_inode_info(struct inode **inode, const char *full_path, 236 const char *full_path, 244 unsigned int xid, const char *full_path, __u32 dosattr); 245 extern int cifs_rename_pending_delete(const char *full_path, 498 const char *full_path, 505 const char *full_path, 689 const char *full_path, 693 const char *full_path, umode_t mode, dev_t dev, 697 const char *full_path, umode_t mode, dev_t dev); 716 const char *full_path, [all …]
|
| A D | file.c | 596 .path = full_path, in cifs_nt_open() 959 const char *full_path; in cifs_open() local 983 if (IS_ERR(full_path)) { in cifs_open() 984 rc = PTR_ERR(full_path); in cifs_open() 1170 const char *full_path; in cifs_reopen_file() local 1198 if (IS_ERR(full_path)) { in cifs_reopen_file() 1202 return PTR_ERR(full_path); in cifs_reopen_file() 1262 .path = full_path, in cifs_reopen_file() 2606 if (IS_ERR(full_path)) { in cifs_get_writable_path() 2609 return PTR_ERR(full_path); in cifs_get_writable_path() [all …]
|
| A D | misc.c | 841 const char *full_path; in cifs_close_deferred_file_under_dentry() local 847 full_path = build_path_from_dentry(cfile->dentry, page); in cifs_close_deferred_file_under_dentry() 848 if (strstr(full_path, path)) { in cifs_close_deferred_file_under_dentry() 883 const char *full_path; in cifs_mark_open_handles_for_deleted_file() local 896 full_path = build_path_from_dentry(cfile->dentry, page); in cifs_mark_open_handles_for_deleted_file() 897 if (!IS_ERR(full_path) && strcmp(full_path, path) == 0) in cifs_mark_open_handles_for_deleted_file() 1244 const char *full_path, in cifs_inval_name_dfs_link_error() argument 1259 if (strlen(full_path) < 2 || !cifs_sb || in cifs_inval_name_dfs_link_error() 1275 len = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1) + strlen(full_path) + 1; in cifs_inval_name_dfs_link_error() 1280 scnprintf(path, len, "%s%s", tcon->tree_name, full_path); in cifs_inval_name_dfs_link_error()
|
| A D | reparse.h | 134 const char *full_path, const char *symname); 137 const char *full_path, umode_t mode, dev_t dev);
|
| A D | cifsacl.c | 1726 const char *full_path; in cifs_get_acl() local 1737 full_path = build_path_from_dentry(dentry, page); in cifs_get_acl() 1738 if (IS_ERR(full_path)) { in cifs_get_acl() 1739 acl = ERR_CAST(full_path); in cifs_get_acl() 1747 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_get_acl() 1789 const char *full_path; in cifs_set_acl() local 1800 full_path = build_path_from_dentry(dentry, page); in cifs_set_acl() 1801 if (IS_ERR(full_path)) { in cifs_set_acl() 1802 rc = PTR_ERR(full_path); in cifs_set_acl() 1824 rc = cifs_do_set_acl(xid, pTcon, full_path, acl, in cifs_set_acl() [all …]
|
| A D | cifsfs.c | 316 const char *full_path; in cifs_statfs() local 322 full_path = build_path_from_dentry(dentry, page); in cifs_statfs() 323 if (IS_ERR(full_path)) { in cifs_statfs() 324 rc = PTR_ERR(full_path); in cifs_statfs() 342 rc = server->ops->queryfs(xid, tcon, full_path, cifs_sb, buf); in cifs_statfs() 893 char *full_path = NULL; in cifs_get_root() local 900 full_path = cifs_build_path_to_root(ctx, cifs_sb, in cifs_get_root() 902 if (full_path == NULL) in cifs_get_root() 905 cifs_dbg(FYI, "Get root dentry for %s\n", full_path); in cifs_get_root() 909 s = full_path; in cifs_get_root() [all …]
|
| A D | trace.h | 641 const char *full_path), 642 TP_ARGS(xid, tid, sesid, full_path), 647 __string(path, full_path) 665 const char *full_path), \ 666 TP_ARGS(xid, tid, sesid, full_path)) 1016 const char *full_path, 1019 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access), 1024 __string(path, full_path) 1046 const char *full_path, \ 1049 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access))
|
| A D | cifsglob.h | 403 const char *full_path, 412 const char *full_path, 417 struct cifs_sb_info *cifs_sb, const char *full_path, u64 *uniqueid, 438 const char *full_path, 472 const char *full_path, 616 const char *full_path, 634 const char *full_path,
|
| A D | smb2file.c | 113 const char *full_path, char **path) in smb2_parse_symlink_response() argument 139 full_path, in smb2_parse_symlink_response()
|
| A D | smb2ops.c | 943 struct cifs_sb_info *cifs_sb, const char *full_path) in smb2_is_path_accessible() argument 970 .path = full_path, in smb2_is_path_accessible() 987 full_path, &islink); in smb2_is_path_accessible() 5109 const char *full_path, umode_t mode, dev_t dev, in __cifs_sfu_make_node() argument 5231 const char *full_path, umode_t mode, dev_t dev) in cifs_sfu_make_node() argument 5237 full_path, mode, dev, NULL); in cifs_sfu_make_node() 5245 rc = cifs_get_inode_info_unix(&new, full_path, in cifs_sfu_make_node() 5248 rc = cifs_get_inode_info(&new, full_path, NULL, in cifs_sfu_make_node() 5258 const char *full_path, umode_t mode, dev_t dev) in smb2_make_node() argument 5271 full_path, mode, dev); in smb2_make_node() [all …]
|
| A D | connect.c | 3821 char *full_path, in cifs_are_all_path_components_accessible() argument 3830 s = full_path; in cifs_are_all_path_components_accessible() 3857 full_path); in cifs_are_all_path_components_accessible() 3876 char *full_path; in cifs_is_path_remote() local 3884 full_path = cifs_build_path_to_root(ctx, cifs_sb, tcon, in cifs_is_path_remote() 3886 if (full_path == NULL) in cifs_is_path_remote() 3889 cifs_dbg(FYI, "%s: full_path: %s\n", __func__, full_path); in cifs_is_path_remote() 3892 full_path); in cifs_is_path_remote() 3898 cifs_sb, full_path, tcon->Flags & SMB_SHARE_IS_IN_DFS); in cifs_is_path_remote() 3907 kfree(full_path); in cifs_is_path_remote()
|
| A D | cifssmb.c | 2734 const char *full_path, in cifs_query_reparse_point() argument 2749 cifs_tcon_dbg(FYI, "%s: path=%s\n", __func__, full_path); in cifs_query_reparse_point() 2764 .path = full_path, in cifs_query_reparse_point() 2858 const char *full_path, in cifs_create_reparse_inode() argument 2875 cifs_tcon_dbg(FYI, "%s: path=%s\n", __func__, full_path); in cifs_create_reparse_inode() 2890 oparms = CIFS_OPARMS(cifs_sb, tcon, full_path, in cifs_create_reparse_inode() 2909 full_path, in cifs_create_reparse_inode() 2966 rc = cifs_get_inode_info(&new, full_path, data, sb, xid, NULL); in cifs_create_reparse_inode() 2977 CIFSSMBDelFile(xid, tcon, full_path, cifs_sb, NULL); in cifs_create_reparse_inode()
|
| /fs/btrfs/ |
| A D | send.c | 3006 struct fs_path *full_path; member 3033 fs_path_free(ref->full_path); in recorded_ref_free() 3039 ref->full_path = path; in set_ref_path() 4079 fs_path_free(ref->full_path); in update_ref_path() 4135 fs_path_reset(ref->full_path); in refresh_ref_path() 4145 set_ref_path(ref, ref->full_path); in refresh_ref_path() 4312 cur->full_path); in process_recorded_refs() 4375 ret = send_unlink(sctx, cur->full_path); in process_recorded_refs() 4464 cur->full_path); in process_recorded_refs() 4480 ret = send_link(sctx, cur->full_path, in process_recorded_refs() [all …]
|