| /linux/drivers/acpi/acpica/ |
| H A D | nsnames.c | 175 * 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() 234 ACPI_PATH_PUT8(full_path, path_size, in acpi_ns_build_normalized_path() 246 ACPI_PATH_PUT8(full_path, path_size, c, length); in acpi_ns_build_normalized_path() 253 ACPI_PATH_PUT8(full_path, path_size, AML_ROOT_PREFIX, length); in acpi_ns_build_normalized_path() 258 left = full_path; in acpi_ns_build_normalized_path() 259 right = full_path + length - 1; in acpi_ns_build_normalized_path() 271 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 D | uterror.c | 174 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 D | xattr.c | 46 struct inode *inode, const char *full_path, in cifs_attrib_set() argument 61 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_attrib_set() 70 struct inode *inode, const char *full_path, in cifs_creation_time_set() argument 85 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_creation_time_set() 105 const char *full_path; in cifs_xattr_set() local 116 full_path = build_path_from_dentry(dentry, page); in cifs_xattr_set() 117 if (IS_ERR(full_path)) { in cifs_xattr_set() 118 rc = PTR_ERR(full_path); in cifs_xattr_set() 138 rc = cifs_attrib_set(xid, pTcon, inode, full_path, in cifs_xattr_set() 146 full_path, valu in cifs_xattr_set() 281 const char *full_path; cifs_xattr_get() local 395 const char *full_path; cifs_listxattr() local [all...] |
| H A D | smb2inode.c | 201 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() argument 256 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op() 323 ses->Suid, full_path); in smb2_compound_op() 342 ses->Suid, full_path); in smb2_compound_op() 349 trace_smb3_mkdir_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 367 trace_smb3_unlink_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 385 trace_smb3_set_eof_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 403 ses->Suid, full_path); in smb2_compound_op() 430 trace_smb3_rename_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 456 trace_smb3_hardlink_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() [all …]
|
| H A D | dir.c | 44 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_SE in cifs_build_path_to_root() 202 __cifs_do_create(struct inode * dir,struct dentry * direntry,const char * full_path,unsigned int xid,struct tcon_link * tlink,unsigned int oflags,umode_t mode,__u32 * oplock,struct cifs_fid * fid,struct cifs_open_info_data * buf,struct inode ** inode) global() argument 485 const char *full_path; global() local 699 const char *full_path; global() local 751 const char *full_path; global() local 1032 set_tmpfile_attr(const unsigned int xid,unsigned int oflags,struct inode * inode,const char * full_path,struct TCP_Server_Info * server) global() argument [all...] |
| H A D | inode.c | 444 static int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() 457 cifs_dbg(FYI, "Getting info on %s\n", full_path); in cifs_get_unix_fattr() 466 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, in cifs_get_unix_fattr() 485 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_inode_info_unix() 493 cifs_sb, full_path, in cifs_get_inode_info_unix() 501 const unsigned char *full_path, in cifs_get_unix_fattr() 507 rc = cifs_get_unix_fattr(full_path, sb, &fattr, pinode, xid); in cifs_get_unix_fattr() 517 static inline int cifs_get_unix_fattr(const unsigned char *full_path, 527 const unsigned char *full_path, in cifs_sfu_type() 1067 * full_path (EACCE in cifs_backup_query_path_info() 427 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 484 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 500 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 510 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 1064 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 1101 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 1159 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 1260 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 1423 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 1448 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 1522 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 1732 cifs_set_file_info(struct inode * inode,struct iattr * attrs,unsigned int xid,const char * full_path,__u32 dosattr) cifs_set_file_info() argument 1788 cifs_rename_pending_delete(const char * full_path,struct dentry * dentry,const unsigned int xid) cifs_rename_pending_delete() argument 1936 const char *full_path; __cifs_unlink() local 2096 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 2191 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 2262 const char *full_path; global() local 2340 const char *full_path; global() local 2828 const char *full_path; global() local 3027 cifs_file_set_size(const unsigned int xid,struct dentry * dentry,const char * full_path,struct cifsFileInfo * open_file,loff_t size) global() argument 3103 const char *full_path; global() local 3280 const char *full_path; global() local [all...] |
| H A D | reparse.c | 19 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 194 rc = detect_directory_symlink_target(cifs_sb, xid, full_path, symname, &directory); in create_native_symlink() [all …]
|
| H A D | dfs.c | 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 = 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 D | smb1ops.c | 506 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() argument 515 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible() 520 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible() 529 const char *full_path, in cifs_query_path_info() argument 552 rc = CIFSSMBQPathInfo(xid, tcon, full_path, &fi, 0 /* not legacy */, in cifs_query_path_info() 559 if (rc && !(tcon->ses->capabilities & CAP_UNICODE) && strpbrk(full_path, "*?\"><")) in cifs_query_path_info() 572 rc = CIFSFindFirst(xid, tcon, full_path, cifs_sb, NULL, in cifs_query_path_info() 608 } else if (!full_path[0]) { in cifs_query_path_info() 624 rc = SMBQueryInformation(xid, tcon, full_path, &fi, cifs_sb->local_nls, in cifs_query_path_info() 658 rc = CIFSSMBQAllEAs(xid, tcon, full_path, SMB2_WSL_XATTR_MOD in cifs_query_path_info() 735 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 848 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 942 smb_set_file_info(struct inode * inode,const char * full_path,FILE_BASIC_INFO * buf,const unsigned int xid) smb_set_file_info() argument 1228 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 1285 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 D | link.c | 552 const char *full_path; local 575 full_path = build_path_from_dentry(direntry, page); 576 if (IS_ERR(full_path)) { 577 rc = PTR_ERR(full_path); 581 cifs_dbg(FYI, "Full path: %s\n", full_path); 591 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path, 602 full_path, symname); 609 full_path, S_IFLNK, 619 full_path, symname); 629 rc = smb311_posix_get_inode_info(&newinode, full_path, [all …]
|
| H A D | smb2proto.h | 58 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, 272 int smb2_rename_pending_delete(const char *full_path, struct dentry *dentry,
|
| H 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()
|
| H A D | cifsproto.h | 173 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, boo 423 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 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,
|
| H A D | readdir.c | 347 const char *full_path) in _initiate_cifs_search() 387 cifs_dbg(FYI, "Full path: %s start at: %lld\n", full_path, file->f_pos); in _initiate_cifs_search() 411 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in _initiate_cifs_search() 428 const char *full_path) in initiate_cifs_search() 433 rc = _initiate_cifs_search(xid, file, full_path); in initiate_cifs_search() 686 struct file *file, const char *full_path, in find_cifs_entry() 743 rc = initiate_cifs_search(xid, file, full_path); in find_cifs_entry() 1061 const char *full_path; in cifs_readdir() 1068 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_readdir() 1069 if (IS_ERR(full_path)) { in cifs_readdir() 348 _initiate_cifs_search(const unsigned int xid,struct file * file,const char * full_path) _initiate_cifs_search() argument 429 initiate_cifs_search(const unsigned int xid,struct file * file,const char * full_path) initiate_cifs_search() argument 687 find_cifs_entry(const unsigned int xid,struct cifs_tcon * tcon,loff_t pos,struct file * file,const char * full_path,char ** current_entry,int * num_to_ret) find_cifs_entry() argument 1062 const char *full_path; cifs_readdir() local [all...] |
| H A D | file.c | 484 int cifs_posix_open(const char *full_path, struct inode **pinode, in cifs_posix_open() argument 496 cifs_dbg(FYI, "posix open %s\n", full_path); in cifs_posix_open() 513 poplock, full_path, cifs_sb->local_nls, in cifs_posix_open() 547 static int cifs_nt_open(const char *full_path, struct inode *inode, struct cifs_sb_info *cifs_sb, in cifs_nt_open() argument 603 .path = full_path, in cifs_nt_open() 621 rc = cifs_get_inode_info_unix(&inode, full_path, inode->i_sb, in cifs_nt_open() 624 rc = cifs_get_inode_info(&inode, full_path, buf, inode->i_sb, in cifs_nt_open() 1024 const char *full_path; in cifs_open() local 1047 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_open() 1048 if (IS_ERR(full_path)) { in cifs_open() 1244 const char *full_path; cifs_reopen_file() local 2737 const char *full_path = build_path_from_dentry(cfile->dentry, page); cifs_get_writable_path() local 2769 const char *full_path = build_path_from_dentry(cfile->dentry, page); cifs_get_readable_path() local [all...] |
| H A D | reparse.h | 135 const char *full_path, const char *symname); 137 struct cifs_tcon *tcon, const char *full_path, umode_t mode,
|
| H A D | misc.c | 640 const char *full_path; in cifs_mark_open_handles_for_deleted_file() local 653 full_path = build_path_from_dentry(cfile->dentry, page); in cifs_mark_open_handles_for_deleted_file() 654 if (!IS_ERR(full_path) && strcmp(full_path, path) == 0) in cifs_mark_open_handles_for_deleted_file() 960 const char *full_path, in cifs_inval_name_dfs_link_error() argument 975 if (strlen(full_path) < 2 || !cifs_sb || in cifs_inval_name_dfs_link_error() 991 len = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1) + strlen(full_path) + 1; in cifs_inval_name_dfs_link_error() 996 scnprintf(path, len, "%s%s", tcon->tree_name, full_path); in cifs_inval_name_dfs_link_error()
|
| H A D | cifsacl.c | 1864 const char *full_path; in cifs_set_acl() 1875 full_path = build_path_from_dentry(dentry, page); in cifs_set_acl() 1876 if (IS_ERR(full_path)) { in cifs_set_acl() 1877 acl = ERR_CAST(full_path); in cifs_set_acl() 1885 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_set_acl() 1893 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_set_acl() 1927 const char *full_path; 1938 full_path = build_path_from_dentry(dentry, page); 1939 if (IS_ERR(full_path)) { 1940 rc = PTR_ERR(full_path); 1802 const char *full_path; cifs_get_acl() local 1865 const char *full_path; cifs_set_acl() local [all...] |
| H A D | cifsfs.c | 332 const char *full_path; in cifs_statfs() 338 full_path = build_path_from_dentry(dentry, page); in cifs_statfs() 339 if (IS_ERR(full_path)) { in cifs_statfs() 340 rc = PTR_ERR(full_path); in cifs_statfs() 358 rc = server->ops->queryfs(xid, tcon, full_path, cifs_sb, buf); in cifs_statfs() 927 char *full_path = NULL; in cifs_get_root() 934 full_path = cifs_build_path_to_root(ctx, cifs_sb, in cifs_get_root() 936 if (full_path == NULL) in cifs_get_root() 939 cifs_dbg(FYI, "Get root dentry for %s\n", full_path); in cifs_get_root() 943 s = full_path; in cifs_get_root() 330 const char *full_path; cifs_statfs() local 925 char *full_path = NULL; cifs_get_root() local [all...] |
| H A D | cifsglob.h | 401 const char *full_path, 410 const char *full_path, 415 struct cifs_sb_info *cifs_sb, const char *full_path, u64 *uniqueid, 436 const char *full_path, 470 const char *full_path, 614 const char *full_path, 632 const char *full_path, 1526 const char *full_path, struct cifsFileInfo *open_file,
|
| H A D | trace.h | 868 const char *full_path), 869 TP_ARGS(xid, tid, sesid, full_path), 874 __string(path, full_path) 892 const char *full_path), \ 893 TP_ARGS(xid, tid, sesid, full_path)) 1240 const char *full_path, 1243 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access), 1248 __string(path, full_path) 1270 const char *full_path, \ 1273 TP_ARGS(xid, tid, sesid, full_path, create_option [all...] |
| H A D | smb2file.c | 118 const char *full_path, char **path) in smb2_parse_symlink_response() argument 146 full_path, in smb2_parse_symlink_response()
|
| /linux/drivers/block/rnbd/ |
| H A D | rnbd-srv.c | 604 char *full_path; in rnbd_srv_get_full_path() local 608 full_path = kmalloc(PATH_MAX, GFP_KERNEL); in rnbd_srv_get_full_path() 609 if (!full_path) in rnbd_srv_get_full_path() 620 len = snprintf(full_path, PATH_MAX, "%.*s/%s/%s", len, in rnbd_srv_get_full_path() 623 len = snprintf(full_path, PATH_MAX, "%s/%s", in rnbd_srv_get_full_path() 629 kfree(full_path); in rnbd_srv_get_full_path() 634 a = strchr(full_path, '/'); in rnbd_srv_get_full_path() 648 return full_path; in rnbd_srv_get_full_path() 701 char *full_path; in process_msg_open() local 729 full_path = rnbd_srv_get_full_path(srv_sess, open_msg->dev_name); in process_msg_open() [all …]
|
| /linux/tools/docs/ |
| H A D | sphinx-pre-install | 226 full_path = os.path.join(path, prog) 227 if os.access(full_path, os.X_OK): 228 return full_path
|