| /linux/drivers/acpi/acpica/ |
| H A D | nsnames.c | 194 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 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, value, size); in cifs_xattr_set() [all …]
|
| H A D | smb2inode.c | 197 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() argument 252 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op() 319 ses->Suid, full_path); in smb2_compound_op() 338 ses->Suid, full_path); in smb2_compound_op() 345 trace_smb3_mkdir_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 363 trace_smb3_unlink_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 381 trace_smb3_set_eof_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 399 ses->Suid, full_path); in smb2_compound_op() 426 trace_smb3_rename_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 452 trace_smb3_hardlink_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 775 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 838 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 1241 clear_tmpfile_attr(const unsigned int xid,struct cifs_tcon * tcon,struct inode * inode,const char * full_path) clear_tmpfile_attr() argument 1280 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 1314 smb2_set_file_info(struct inode * inode,const char * full_path,FILE_BASIC_INFO * buf,const unsigned int xid) smb2_set_file_info() argument 1353 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 1434 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 1481 smb2_rename_pending_delete(const char * full_path,struct dentry * dentry,const unsigned int xid) smb2_rename_pending_delete() argument [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_SEP(cifs_sb)); in cifs_build_path_to_root() [all …]
|
| H A D | inode.c | 427 static int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() argument 440 cifs_dbg(FYI, "Getting info on %s\n", full_path); in cifs_get_unix_fattr() 449 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, in cifs_get_unix_fattr() 468 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_unix_fattr() 476 cifs_sb, full_path, in cifs_get_unix_fattr() 484 const unsigned char *full_path, in cifs_get_inode_info_unix() argument 490 rc = cifs_get_unix_fattr(full_path, sb, &fattr, pinode, xid); in cifs_get_inode_info_unix() 500 static inline int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() argument 510 const unsigned char *full_path, in cifs_get_inode_info_unix() argument 1064 const char *full_path, in cifs_backup_query_path_info() argument [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_MODE, in cifs_query_path_info() [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, 271 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 | 172 int cifs_posix_open(const char *full_path, struct inode **pinode, 186 int cifs_get_inode_info(struct inode **inode, const char *full_path, 190 int smb311_posix_get_inode_info(struct inode **inode, const char *full_path, 195 const unsigned char *full_path, 198 unsigned int xid, const char *full_path, __u32 dosattr); 199 int cifs_rename_pending_delete(const char *full_path, struct dentry *dentry, 392 struct cifs_sb_info *cifs_sb, const char *full_path, 396 const char *full_path, umode_t mode, dev_t dev, 400 const char *full_path, umode_t mode, dev_t dev); 418 const char *full_path, boo 424 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() argument 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() argument 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() argument 743 rc = initiate_cifs_search(xid, file, full_path); in find_cifs_entry() 1061 const char *full_path; in cifs_readdir() local 1068 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_readdir() 1069 if (IS_ERR(full_path)) { in cifs_readdir() [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() [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 | 1773 const char *full_path; in cifs_get_acl() local 1784 full_path = build_path_from_dentry(dentry, page); in cifs_get_acl() 1785 if (IS_ERR(full_path)) { in cifs_get_acl() 1786 acl = ERR_CAST(full_path); in cifs_get_acl() 1794 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_get_acl() 1802 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_get_acl() 1836 const char *full_path; in cifs_set_acl() local 1847 full_path = build_path_from_dentry(dentry, page); in cifs_set_acl() 1848 if (IS_ERR(full_path)) { in cifs_set_acl() 1849 rc = PTR_ERR(full_path); in cifs_set_acl() [all …]
|
| H A D | cifsfs.c | 328 const char *full_path; in cifs_statfs() local 334 full_path = build_path_from_dentry(dentry, page); in cifs_statfs() 335 if (IS_ERR(full_path)) { in cifs_statfs() 336 rc = PTR_ERR(full_path); in cifs_statfs() 354 rc = server->ops->queryfs(xid, tcon, full_path, cifs_sb, buf); in cifs_statfs() 922 char *full_path = NULL; in cifs_get_root() local 929 full_path = cifs_build_path_to_root(ctx, cifs_sb, in cifs_get_root() 931 if (full_path == NULL) in cifs_get_root() 934 cifs_dbg(FYI, "Get root dentry for %s\n", full_path); in cifs_get_root() 938 s = full_path; in cifs_get_root() [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, 1524 const char *full_path, struct cifsFileInfo *open_file,
|
| H A D | trace.h | 866 const char *full_path), 867 TP_ARGS(xid, tid, sesid, full_path), 872 __string(path, full_path) 890 const char *full_path), \ 891 TP_ARGS(xid, tid, sesid, full_path)) 1238 const char *full_path, 1241 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access), 1246 __string(path, full_path) 1268 const char *full_path, \ 1271 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access))
|
| H A D | smb2file.c | 115 const char *full_path, char **path) in smb2_parse_symlink_response() argument 143 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
|