Home
last modified time | relevance | path

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

12

/linux/fs/smb/client/
H A Dsmb2inode.c215 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() argument
270 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
337 ses->Suid, full_path); in smb2_compound_op()
356 ses->Suid, full_path); in smb2_compound_op()
363 trace_smb3_mkdir_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
381 trace_smb3_unlink_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
399 trace_smb3_set_eof_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
417 ses->Suid, full_path); in smb2_compound_op()
444 trace_smb3_rename_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
470 trace_smb3_hardlink_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
[all …]
H A 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 …]
H A Dinode.c448 static int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr()
461 cifs_dbg(FYI, "Getting info on %s\n", full_path); in cifs_get_unix_fattr()
470 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, in cifs_get_unix_fattr()
489 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_unix_fattr()
497 cifs_sb, full_path, in cifs_get_unix_fattr()
505 const unsigned char *full_path, in cifs_get_inode_info_unix()
511 rc = cifs_get_unix_fattr(full_path, sb, &fattr, pinode, xid); in cifs_get_inode_info_unix()
521 static inline int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr()
531 const unsigned char *full_path, in cifs_get_inode_info_unix()
1078 * full_path (EACCE
446 cifs_get_unix_fattr(const unsigned char * full_path,struct super_block * sb,struct cifs_fattr * fattr,struct inode ** pinode,const unsigned int xid) cifs_get_unix_fattr() argument
503 cifs_get_inode_info_unix(struct inode ** pinode,const unsigned char * full_path,struct super_block * sb,unsigned int xid) cifs_get_inode_info_unix() argument
519 cifs_get_unix_fattr(const unsigned char * full_path,struct super_block * sb,struct cifs_fattr * fattr,struct inode ** pinode,const unsigned int xid) cifs_get_unix_fattr() argument
529 cifs_get_inode_info_unix(struct inode ** pinode,const unsigned char * full_path,struct super_block * sb,unsigned int xid) cifs_get_inode_info_unix() argument
1090 cifs_backup_query_path_info(int xid,struct cifs_tcon * tcon,struct super_block * sb,const char * full_path,void ** resp_buf,FILE_ALL_INFO ** data) cifs_backup_query_path_info() argument
1127 cifs_set_fattr_ino(int xid,struct cifs_tcon * tcon,struct super_block * sb,struct inode ** inode,const char * full_path,struct cifs_open_info_data * data,struct cifs_fattr * fattr) cifs_set_fattr_ino() argument
1185 reparse_info_to_fattr(struct cifs_open_info_data * data,struct super_block * sb,const unsigned int xid,struct cifs_tcon * tcon,const char * full_path,struct cifs_fattr * fattr) reparse_info_to_fattr() argument
1287 cifs_get_fattr(struct cifs_open_info_data * data,struct super_block * sb,int xid,const struct cifs_fid * fid,struct cifs_fattr * fattr,struct inode ** inode,const char * full_path) cifs_get_fattr() argument
1450 cifs_get_inode_info(struct inode ** inode,const char * full_path,struct cifs_open_info_data * data,struct super_block * sb,int xid,const struct cifs_fid * fid) cifs_get_inode_info() argument
1475 smb311_posix_get_fattr(struct cifs_open_info_data * data,struct cifs_fattr * fattr,const char * full_path,struct super_block * sb,const unsigned int xid) smb311_posix_get_fattr() argument
1549 smb311_posix_get_inode_info(struct inode ** inode,const char * full_path,struct cifs_open_info_data * data,struct super_block * sb,const unsigned int xid) smb311_posix_get_inode_info() argument
1760 cifs_set_file_info(struct inode * inode,struct iattr * attrs,unsigned int xid,const char * full_path,__u32 dosattr) cifs_set_file_info() argument
1816 cifs_rename_pending_delete(const char * full_path,struct dentry * dentry,const unsigned int xid) cifs_rename_pending_delete() argument
1964 const char *full_path; __cifs_unlink() local
2127 cifs_mkdir_qinfo(struct inode * parent,struct dentry * dentry,umode_t mode,const char * full_path,struct cifs_sb_info * cifs_sb,struct cifs_tcon * tcon,const unsigned int xid) global() argument
2222 cifs_posix_mkdir(struct inode * inode,struct dentry * dentry,umode_t mode,const char * full_path,struct cifs_sb_info * cifs_sb,struct cifs_tcon * tcon,const unsigned int xid) global() argument
2293 const char *full_path; global() local
2378 const char *full_path; global() local
2873 const char *full_path; global() local
3098 cifs_file_set_size(const unsigned int xid,struct dentry * dentry,const char * full_path,struct cifsFileInfo * open_file,loff_t size) global() argument
3173 const char *full_path; global() local
3358 const char *full_path; global() local
[all...]
H A Dreparse.c20 const char *full_path, umode_t mode, dev_t dev,
25 const char *full_path, umode_t mode, dev_t dev,
30 const char *full_path, const char *symname);
34 const char *full_path,
40 const char *full_path, const char *symname) in create_reparse_symlink() argument
44 return create_native_symlink(xid, inode, dentry, tcon, full_path, symname); in create_reparse_symlink()
46 return mknod_nfs(xid, inode, dentry, tcon, full_path, S_IFLNK, 0, symname); in create_reparse_symlink()
48 return mknod_wsl(xid, inode, dentry, tcon, full_path, S_IFLNK, 0, symname); in create_reparse_symlink()
56 const char *full_path, const char *symname) in create_native_symlink() argument
219 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 Dlink.c543 const char *full_path; local
566 full_path = build_path_from_dentry(direntry, page);
567 if (IS_ERR(full_path)) {
568 rc = PTR_ERR(full_path);
572 cifs_dbg(FYI, "Full path: %s\n", full_path);
582 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path,
593 full_path, symname);
600 full_path, S_IFLNK,
610 full_path, symname);
620 rc = smb311_posix_get_inode_info(&newinode, full_path,
[all …]
H A Dsmb2proto.h58 const char *full_path, bool directory,
63 const char *full_path, u32 *tag, struct kvec *rsp,
66 struct cifs_sb_info *cifs_sb, const char *full_path,
69 const char *full_path, __u64 size,
72 int smb2_set_file_info(struct inode *inode, const char *full_path,
76 const char *full_path, struct cifs_sb_info *cifs_sb);
105 bool relative, const char *full_path,
108 const struct kvec *iov, const char *full_path,
275 int smb2_rename_pending_delete(const char *full_path, struct dentry *dentry,
H A Dcifsproto.h173 int cifs_posix_open(const char *full_path, struct inode **pinode,
187 int cifs_get_inode_info(struct inode **inode, const char *full_path,
191 int smb311_posix_get_inode_info(struct inode **inode, const char *full_path,
196 const unsigned char *full_path,
199 unsigned int xid, const char *full_path, __u32 dosattr);
200 int cifs_rename_pending_delete(const char *full_path, struct dentry *dentry,
393 struct cifs_sb_info *cifs_sb, const char *full_path,
397 const char *full_path, umode_t mode, dev_t dev,
401 const char *full_path, umode_t mode, dev_t dev);
419 const char *full_path, bool *islink);
[all …]
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,
H A Dreaddir.c358 const char *full_path) in _initiate_cifs_search() argument
398 cifs_dbg(FYI, "Full path: %s start at: %lld\n", full_path, file->f_pos); in _initiate_cifs_search()
422 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in _initiate_cifs_search()
439 const char *full_path) in initiate_cifs_search() argument
444 rc = _initiate_cifs_search(xid, file, full_path); in initiate_cifs_search()
697 struct file *file, const char *full_path, in find_cifs_entry() argument
756 rc = initiate_cifs_search(xid, file, full_path); in find_cifs_entry()
1079 const char *full_path; in cifs_readdir() local
1086 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_readdir()
1087 if (IS_ERR(full_path)) { in cifs_readdir()
[all …]
H A Dfile.c490 int cifs_posix_open(const char *full_path, struct inode **pinode, in cifs_posix_open() argument
502 cifs_dbg(FYI, "posix open %s\n", full_path); in cifs_posix_open()
519 poplock, full_path, cifs_sb->local_nls, in cifs_posix_open()
553 static int cifs_nt_open(const char *full_path, struct inode *inode, struct cifs_sb_info *cifs_sb, in cifs_nt_open() argument
609 .path = full_path, in cifs_nt_open()
627 rc = cifs_get_inode_info_unix(&inode, full_path, inode->i_sb, in cifs_nt_open()
630 rc = cifs_get_inode_info(&inode, full_path, buf, inode->i_sb, in cifs_nt_open()
1066 const char *full_path; in cifs_open()
1089 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_open()
1090 if (IS_ERR(full_path)) { in cifs_open()
1063 const char *full_path; cifs_open() local
1283 const char *full_path; cifs_reopen_file() local
2824 const char *full_path = build_path_from_dentry(cfile->dentry, page); cifs_get_writable_path() local
2856 const char *full_path = build_path_from_dentry(cfile->dentry, page); cifs_get_readable_path() local
[all...]
H A Dreparse.h139 const char *full_path, const char *symname);
141 struct cifs_tcon *tcon, const char *full_path, umode_t mode,
H A Dmisc.c660 const char *full_path; in cifs_mark_open_handles_for_deleted_file() local
673 full_path = build_path_from_dentry(cfile->dentry, page); in cifs_mark_open_handles_for_deleted_file()
674 if (!IS_ERR(full_path) && strcmp(full_path, path) == 0) in cifs_mark_open_handles_for_deleted_file()
1011 const char *full_path, in cifs_inval_name_dfs_link_error() argument
1026 if (strlen(full_path) < 2 || !cifs_sb || in cifs_inval_name_dfs_link_error()
1042 len = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1) + strlen(full_path) + 1; in cifs_inval_name_dfs_link_error()
1047 scnprintf(path, len, "%s%s", tcon->tree_name, full_path); in cifs_inval_name_dfs_link_error()
H A Dcifsacl.c1918 const char *full_path; in cifs_get_acl() local
1929 full_path = build_path_from_dentry(dentry, page); in cifs_get_acl()
1930 if (IS_ERR(full_path)) { in cifs_get_acl()
1931 acl = ERR_CAST(full_path); in cifs_get_acl()
1939 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_get_acl()
1947 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_get_acl()
1981 const char *full_path; in cifs_set_acl() local
1992 full_path = build_path_from_dentry(dentry, page); in cifs_set_acl()
1993 if (IS_ERR(full_path)) { in cifs_set_acl()
1994 rc = PTR_ERR(full_path); in cifs_set_acl()
[all …]
H A Dcifsglob.h402 const char *full_path,
411 const char *full_path,
416 struct cifs_sb_info *cifs_sb, const char *full_path, u64 *uniqueid,
437 const char *full_path,
471 const char *full_path,
615 const char *full_path,
633 const char *full_path,
1528 const char *full_path, struct cifsFileInfo *open_file,
H A Dtrace.h871 const char *full_path),
872 TP_ARGS(xid, tid, sesid, full_path),
877 __string(path, full_path)
895 const char *full_path), \
896 TP_ARGS(xid, tid, sesid, full_path))
1243 const char *full_path,
1246 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access),
1251 __string(path, full_path)
1273 const char *full_path, \
1276 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access))
H A Dsmb2ops.c960 struct cifs_sb_info *cifs_sb, const char *full_path) in smb2_is_path_accessible() argument
972 rc = open_cached_dir(xid, tcon, full_path, cifs_sb, true, &cfid); in smb2_is_path_accessible()
978 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
984 .path = full_path, in smb2_is_path_accessible()
1001 full_path, &islink); in smb2_is_path_accessible()
1024 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_get_srv_inum() argument
5595 const char *full_path, umode_t mode, dev_t dev, in __cifs_sfu_make_node()
5662 oparms = CIFS_OPARMS(cifs_sb, tcon, full_path, GENERIC_WRITE, in cifs_sfu_make_node()
5705 server->ops->unlink(xid, tcon, full_path, cifs_sb, NULL);
5714 const char *full_path, umode_
5531 __cifs_sfu_make_node(unsigned int xid,struct inode * inode,struct dentry * dentry,struct cifs_tcon * tcon,const char * full_path,umode_t mode,dev_t dev,const char * symname) __cifs_sfu_make_node() argument
5650 cifs_sfu_make_node(unsigned int xid,struct inode * inode,struct dentry * dentry,struct cifs_tcon * tcon,const char * full_path,umode_t mode,dev_t dev) cifs_sfu_make_node() argument
5677 smb2_make_node(unsigned int xid,struct inode * inode,struct dentry * dentry,struct cifs_tcon * tcon,const char * full_path,umode_t mode,dev_t dev) smb2_make_node() argument
[all...]
H A Dconnect.c3732 char *full_path, in cifs_are_all_path_components_accessible() argument
3741 s = full_path; in cifs_are_all_path_components_accessible()
3768 full_path); in cifs_are_all_path_components_accessible()
3787 char *full_path; in cifs_is_path_remote() local
3795 full_path = cifs_build_path_to_root(ctx, cifs_sb, tcon, in cifs_is_path_remote()
3797 if (full_path == NULL) in cifs_is_path_remote()
3800 cifs_dbg(FYI, "%s: full_path: %s\n", __func__, full_path); in cifs_is_path_remote()
3803 full_path); in cifs_is_path_remote()
3809 cifs_sb, full_path, tcon->Flags & SMB_SHARE_IS_IN_DFS); in cifs_is_path_remote()
3819 kfree(full_path); in cifs_is_path_remote()
H A Dcifssmb.c2985 const char *full_path, in cifs_query_reparse_point() argument
3001 cifs_tcon_dbg(FYI, "%s: path=%s\n", __func__, full_path); in cifs_query_reparse_point()
3016 .path = full_path, in cifs_query_reparse_point()
3117 const char *full_path, in cifs_create_reparse_inode() argument
3134 cifs_tcon_dbg(FYI, "%s: path=%s\n", __func__, full_path); in cifs_create_reparse_inode()
3149 oparms = CIFS_OPARMS(cifs_sb, tcon, full_path, in cifs_create_reparse_inode()
3168 full_path, in cifs_create_reparse_inode()
3220 rc = cifs_get_inode_info(&new, full_path, data, sb, xid, NULL); in cifs_create_reparse_inode()
3231 CIFSSMBDelFile(xid, tcon, full_path, cifs_sb, NULL); in cifs_create_reparse_inode()
/linux/drivers/acpi/acpica/
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/tools/bpf/bpftool/
H A Dcommon.c706 char full_path[64]; in read_sysfs_netdev_hex_int() local
708 snprintf(full_path, sizeof(full_path), "/sys/class/net/%s/device/%s", in read_sysfs_netdev_hex_int()
711 return read_sysfs_hex_int(full_path); in read_sysfs_netdev_hex_int()
/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.c2944 struct fs_path *full_path; member
2971 fs_path_free(ref->full_path); in recorded_ref_free()
2977 ref->full_path = path; in set_ref_path()
2978 ref->name = (char *)kbasename(ref->full_path->start); in set_ref_path()
2979 ref->name_len = ref->full_path->end - ref->name; in set_ref_path()
3999 fs_path_free(ref->full_path); in update_ref_path()
4055 fs_path_reset(ref->full_path); in refresh_ref_path()
4056 ret = get_cur_path(sctx, ref->dir, ref->dir_gen, ref->full_path); in refresh_ref_path()
4060 ret = fs_path_add(ref->full_path, name, ref->name_len); in refresh_ref_path()
4065 set_ref_path(ref, ref->full_path); in refresh_ref_path()
[all …]
/linux/tools/perf/util/
H A Dannotate.h51 full_path, member
/linux/tools/net/ynl/pyynl/
H A Dynl_gen_c.py3448 def find_kernel_root(full_path): argument
3451 sub_path = os.path.join(os.path.basename(full_path), sub_path)
3452 full_path = os.path.dirname(full_path)
3453 maintainers = os.path.join(full_path, "MAINTAINERS")
3455 return full_path, sub_path[:-1]

12