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.c175 * full_path - Where the path name is returned
194 char *full_path, u32 path_size, u8 no_trailing) in acpi_ns_build_normalized_path() argument
215 * validate both full_path and path_size. in acpi_ns_build_normalized_path()
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_siz in acpi_ns_build_normalized_path()
342 char *full_path = NULL; acpi_ns_build_prefixed_pathname() local
[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, valu in cifs_xattr_set()
283 const char *full_path; cifs_xattr_get() local
397 const char *full_path; cifs_listxattr() local
[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_SE in cifs_build_path_to_root()
187 const char *full_path; global() local
631 const char *full_path; global() local
683 const char *full_path; global() local
[all...]
H A Dsmb2inode.c173 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() argument
226 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
309 ses->Suid, full_path); in smb2_compound_op()
345 ses->Suid, full_path); in smb2_compound_op()
348 trace_smb3_delete_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
355 trace_smb3_mkdir_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
373 trace_smb3_rmdir_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
408 trace_smb3_set_eof_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
440 ses->Suid, full_path); in smb2_compound_op()
479 trace_smb3_rename_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op()
875 parse_create_response(struct cifs_open_info_data * data,struct cifs_sb_info * cifs_sb,const char * full_path,const struct kvec * iov) parse_create_response() argument
938 smb2_query_path_info(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path,struct cifs_open_info_data * data) smb2_query_path_info() argument
1260 smb2_set_path_size(const unsigned int xid,struct cifs_tcon * tcon,const char * full_path,__u64 size,struct cifs_sb_info * cifs_sb,bool set_alloc,struct dentry * dentry) smb2_set_path_size() argument
1292 smb2_set_file_info(struct inode * inode,const char * full_path,FILE_BASIC_INFO * buf,const unsigned int xid) smb2_set_file_info() argument
1328 smb2_create_reparse_inode(struct cifs_open_info_data * data,struct super_block * sb,const unsigned int xid,struct cifs_tcon * tcon,const char * full_path,bool directory,struct kvec * reparse_iov,struct kvec * xattr_iov) smb2_create_reparse_inode() argument
1409 smb2_query_reparse_point(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path,u32 * tag,struct kvec * rsp,int * rsp_buftype) smb2_query_reparse_point() argument
[all...]
H A Dinode.c431 static int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() argument
444 cifs_dbg(FYI, "Getting info on %s\n", full_path); in cifs_get_unix_fattr()
453 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, in cifs_get_unix_fattr()
472 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_unix_fattr()
480 cifs_sb, full_path, in cifs_get_unix_fattr()
488 const unsigned char *full_path, in cifs_get_inode_info_unix() argument
494 rc = cifs_get_unix_fattr(full_path, sb, &fattr, pinode, xid); in cifs_get_inode_info_unix()
504 static inline int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() argument
514 const unsigned char *full_path, in cifs_get_inode_info_unix() argument
1054 * full_path (EACCE
1068 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
1105 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
1163 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
1264 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
1425 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
1450 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
1524 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
1734 cifs_set_file_info(struct inode * inode,struct iattr * attrs,unsigned int xid,const char * full_path,__u32 dosattr) cifs_set_file_info() argument
1790 cifs_rename_pending_delete(const char * full_path,struct dentry * dentry,const unsigned int xid) cifs_rename_pending_delete() argument
1938 const char *full_path; cifs_unlink() local
2064 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
2157 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
2228 const char *full_path; global() local
2306 const char *full_path; global() local
2732 const char *full_path; global() local
2928 cifs_set_file_size(struct inode * inode,struct iattr * attrs,unsigned int xid,const char * full_path,struct dentry * dentry) global() argument
3018 const char *full_path; global() local
3174 const char *full_path; global() local
[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, symnam in create_native_symlink()
248 detect_directory_symlink_target(struct cifs_sb_info * cifs_sb,const unsigned int xid,const char * full_path,const char * symname,bool * directory) detect_directory_symlink_target() argument
386 create_native_socket(const unsigned int xid,struct inode * inode,struct dentry * dentry,struct cifs_tcon * tcon,const char * full_path) create_native_socket() argument
456 mknod_nfs(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) mknod_nfs() argument
658 mknod_wsl(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) mknod_wsl() argument
707 mknod_reparse(unsigned int xid,struct inode * inode,struct dentry * dentry,struct cifs_tcon * tcon,const char * full_path,umode_t mode,dev_t dev) mknod_reparse() argument
788 smb2_parse_native_symlink(char ** target,const char * buf,unsigned int len,bool relative,const char * full_path,struct cifs_sb_info * cifs_sb) smb2_parse_native_symlink() argument
987 parse_reparse_native_symlink(struct reparse_symlink_data_buffer * sym,u32 plen,struct cifs_sb_info * cifs_sb,const char * full_path,struct cifs_open_info_data * data) parse_reparse_native_symlink() argument
1065 parse_reparse_point(struct reparse_data_buffer * buf,u32 plen,struct cifs_sb_info * cifs_sb,const char * full_path,struct cifs_open_info_data * data) parse_reparse_point() argument
[all...]
H A Ddfs.c17 * @full_path: full path in UNC format.
23 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 in setup_dfs_ref()
[all...]
H A Dsmb1ops.c522 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() argument
531 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
536 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
545 const char *full_path, in cifs_query_path_info() argument
568 rc = CIFSSMBQPathInfo(xid, tcon, full_path, &fi, 0 /* not legacy */, in cifs_query_path_info()
575 if (rc && !(tcon->ses->capabilities & CAP_UNICODE) && strpbrk(full_path, "*?\"><")) in cifs_query_path_info()
588 rc = CIFSFindFirst(xid, tcon, full_path, cifs_sb, NULL, in cifs_query_path_info()
624 } else if (!full_path[0]) { in cifs_query_path_info()
640 rc = SMBQueryInformation(xid, tcon, full_path, &fi, cifs_sb->local_nls, in cifs_query_path_info()
662 rc = CIFSSMBQAllEAs(xid, tcon, full_path, SMB2_WSL_XATTR_DE in cifs_query_path_info()
693 cifs_get_srv_inum(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path,u64 * uniqueid,struct cifs_open_info_data * unused) cifs_get_srv_inum() argument
806 cifs_mkdir_setinfo(struct inode * inode,const char * full_path,struct cifs_sb_info * cifs_sb,struct cifs_tcon * tcon,const unsigned int xid) cifs_mkdir_setinfo() argument
892 smb_set_file_info(struct inode * inode,const char * full_path,FILE_BASIC_INFO * buf,const unsigned int xid) smb_set_file_info() argument
1174 cifs_query_symlink(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path,char ** target_path) cifs_query_symlink() argument
1231 cifs_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_make_node() argument
[all...]
H A Dsmb2proto.h61 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...]
H A Dlink.c576 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);
650 rc = smb311_posix_get_inode_info(&newinode, full_path,
[all...]
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()
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()
[all...]
H A Dcifsproto.h217 extern int cifs_posix_open(const char *full_path, struct inode **inode,
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_
722 cifs_inval_name_dfs_link_error(const unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,const char * full_path,bool * islink) cifs_inval_name_dfs_link_error() argument
[all...]
H A Dfile.c470 int cifs_posix_open(const char *full_path, struct inode **pinode, in cifs_posix_open() argument
482 cifs_dbg(FYI, "posix open %s\n", full_path); in cifs_posix_open()
499 poplock, full_path, cifs_sb->local_nls, in cifs_posix_open()
533 static int cifs_nt_open(const char *full_path, struct inode *inode, struct cifs_sb_info *cifs_sb, in cifs_nt_open() argument
596 .path = full_path, in cifs_nt_open()
614 rc = cifs_get_inode_info_unix(&inode, full_path, inode->i_sb, in cifs_nt_open()
617 rc = cifs_get_inode_info(&inode, full_path, buf, inode->i_sb, in cifs_nt_open()
959 const char *full_path; in cifs_open() local
982 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_open()
983 if (IS_ERR(full_path)) { in cifs_open()
1170 const char *full_path; cifs_reopen_file() local
2605 const char *full_path = build_path_from_dentry(cfile->dentry, page); cifs_get_writable_path() local
2637 const char *full_path = build_path_from_dentry(cfile->dentry, page); cifs_get_readable_path() local
[all...]
H A Dmisc.c841 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
1256 * Fast path - skip check when @full_path doesn't have a prefix path to in cifs_inval_name_dfs_link_error()
1259 if (strlen(full_path) < in cifs_inval_name_dfs_link_error()
[all...]
H A Dreparse.h134 const char *full_path, const char *symname);
137 const char *full_path, umode_t mode, dev_t dev);
H A Dcifsacl.c1726 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()
1755 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()
[all...]
H A Dcifsfs.c316 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...]
H A Dtrace.h641 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_option
[all...]
H A Dcifsglob.h403 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,
H A Dsmb2file.c113 const char *full_path, char **path) in smb2_parse_symlink_response() argument
139 full_path, in smb2_parse_symlink_response()
/linux/drivers/block/rnbd/
H A Drnbd-srv.c589 char *full_path; in rnbd_srv_get_full_path() local
593 full_path = kmalloc(PATH_MAX, GFP_KERNEL); in rnbd_srv_get_full_path()
594 if (!full_path) in rnbd_srv_get_full_path()
605 len = snprintf(full_path, PATH_MAX, "%.*s/%s/%s", len, in rnbd_srv_get_full_path()
608 len = snprintf(full_path, PATH_MAX, "%s/%s", in rnbd_srv_get_full_path()
614 kfree(full_path); in rnbd_srv_get_full_path()
619 a = strchr(full_path, '/'); in rnbd_srv_get_full_path()
633 return full_path; in rnbd_srv_get_full_path()
685 char *full_path; in process_msg_open() local
713 full_path in process_msg_open()
[all...]
/linux/tools/bpf/bpftool/
H A Dcommon.c704 char full_path[64]; in read_sysfs_netdev_hex_int() local
706 snprintf(full_path, sizeof(full_path), "/sys/class/net/%s/device/%s", in read_sysfs_netdev_hex_int()
709 return read_sysfs_hex_int(full_path); in read_sysfs_netdev_hex_int()

12