| /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 | 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 | smb2inode.c | 176 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() argument 231 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op() 314 ses->Suid, full_path); in smb2_compound_op() 350 ses->Suid, full_path); in smb2_compound_op() 357 trace_smb3_mkdir_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 392 trace_smb3_unlink_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 427 trace_smb3_set_eof_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 459 ses->Suid, full_path); in smb2_compound_op() 498 trace_smb3_rename_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() 525 trace_smb3_hardlink_enter(xid, tcon->tid, ses->Suid, full_path); in smb2_compound_op() [all …]
|
| H A D | inode.c | 433 static int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() argument 446 cifs_dbg(FYI, "Getting info on %s\n", full_path); in cifs_get_unix_fattr() 455 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, in cifs_get_unix_fattr() 474 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_unix_fattr() 482 cifs_sb, full_path, in cifs_get_unix_fattr() 490 const unsigned char *full_path, in cifs_get_inode_info_unix() argument 496 rc = cifs_get_unix_fattr(full_path, sb, &fattr, pinode, xid); in cifs_get_inode_info_unix() 506 static inline int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() argument 516 const unsigned char *full_path, in cifs_get_inode_info_unix() argument 1070 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 | 509 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() argument 518 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible() 523 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible() 532 const char *full_path, in cifs_query_path_info() argument 555 rc = CIFSSMBQPathInfo(xid, tcon, full_path, &fi, 0 /* not legacy */, in cifs_query_path_info() 562 if (rc && !(tcon->ses->capabilities & CAP_UNICODE) && strpbrk(full_path, "*?\"><")) in cifs_query_path_info() 575 rc = CIFSFindFirst(xid, tcon, full_path, cifs_sb, NULL, in cifs_query_path_info() 611 } else if (!full_path[0]) { in cifs_query_path_info() 627 rc = SMBQueryInformation(xid, tcon, full_path, &fi, cifs_sb->local_nls, in cifs_query_path_info() 661 rc = CIFSSMBQAllEAs(xid, tcon, full_path, SMB2_WSL_XATTR_MODE, in cifs_query_path_info() [all …]
|
| H A D | link.c | 551 const char *full_path; local 574 full_path = build_path_from_dentry(direntry, page); 575 if (IS_ERR(full_path)) { 576 rc = PTR_ERR(full_path); 580 cifs_dbg(FYI, "Full path: %s\n", full_path); 590 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path, 601 full_path, symname); 608 full_path, S_IFLNK, 618 full_path, symname); 628 rc = smb311_posix_get_inode_info(&newinode, full_path, [all …]
|
| H A D | smb2proto.h | 53 const char *full_path, bool directory, 58 const char *full_path, u32 *tag, struct kvec *rsp, 61 struct cifs_sb_info *cifs_sb, const char *full_path, 64 const char *full_path, __u64 size, 67 int smb2_set_file_info(struct inode *inode, const char *full_path, 71 const char *full_path, struct cifs_sb_info *cifs_sb); 100 bool relative, const char *full_path, 103 const struct kvec *iov, const char *full_path, 267 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 | 170 int cifs_posix_open(const char *full_path, struct inode **pinode, 184 int cifs_get_inode_info(struct inode **inode, const char *full_path, 188 int smb311_posix_get_inode_info(struct inode **inode, const char *full_path, 193 const unsigned char *full_path, 196 unsigned int xid, const char *full_path, __u32 dosattr); 197 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 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 | 478 int cifs_posix_open(const char *full_path, struct inode **pinode, in cifs_posix_open() argument 490 cifs_dbg(FYI, "posix open %s\n", full_path); in cifs_posix_open() 507 poplock, full_path, cifs_sb->local_nls, in cifs_posix_open() 541 static int cifs_nt_open(const char *full_path, struct inode *inode, struct cifs_sb_info *cifs_sb, in cifs_nt_open() argument 604 .path = full_path, in cifs_nt_open() 622 rc = cifs_get_inode_info_unix(&inode, full_path, inode->i_sb, in cifs_nt_open() 625 rc = cifs_get_inode_info(&inode, full_path, buf, inode->i_sb, in cifs_nt_open() 1023 const char *full_path; in cifs_open() local 1046 full_path = build_path_from_dentry(file_dentry(file), page); in cifs_open() 1047 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() 1017 const char *full_path, in cifs_inval_name_dfs_link_error() argument 1032 if (strlen(full_path) < 2 || !cifs_sb || in cifs_inval_name_dfs_link_error() 1048 len = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1) + strlen(full_path) + 1; in cifs_inval_name_dfs_link_error() 1053 scnprintf(path, len, "%s%s", tcon->tree_name, full_path); in cifs_inval_name_dfs_link_error()
|
| H A D | cifsacl.c | 1718 const char *full_path; in cifs_get_acl() local 1729 full_path = build_path_from_dentry(dentry, page); in cifs_get_acl() 1730 if (IS_ERR(full_path)) { in cifs_get_acl() 1731 acl = ERR_CAST(full_path); in cifs_get_acl() 1739 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_get_acl() 1747 rc = cifs_do_get_acl(xid, pTcon, full_path, &acl, in cifs_get_acl() 1781 const char *full_path; in cifs_set_acl() local 1792 full_path = build_path_from_dentry(dentry, page); in cifs_set_acl() 1793 if (IS_ERR(full_path)) { in cifs_set_acl() 1794 rc = PTR_ERR(full_path); in cifs_set_acl() [all …]
|
| H A D | cifsfs.c | 362 const char *full_path; in cifs_statfs() local 368 full_path = build_path_from_dentry(dentry, page); in cifs_statfs() 369 if (IS_ERR(full_path)) { in cifs_statfs() 370 rc = PTR_ERR(full_path); in cifs_statfs() 388 rc = server->ops->queryfs(xid, tcon, full_path, cifs_sb, buf); in cifs_statfs() 956 char *full_path = NULL; in cifs_get_root() local 963 full_path = cifs_build_path_to_root(ctx, cifs_sb, in cifs_get_root() 965 if (full_path == NULL) in cifs_get_root() 968 cifs_dbg(FYI, "Get root dentry for %s\n", full_path); in cifs_get_root() 972 s = full_path; in cifs_get_root() [all …]
|
| H 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, 1526 const char *full_path, struct cifsFileInfo *open_file,
|
| H A D | trace.h | 775 const char *full_path), 776 TP_ARGS(xid, tid, sesid, full_path), 781 __string(path, full_path) 799 const char *full_path), \ 800 TP_ARGS(xid, tid, sesid, full_path)) 1147 const char *full_path, 1150 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access), 1155 __string(path, full_path) 1177 const char *full_path, \ 1180 TP_ARGS(xid, tid, sesid, full_path, create_options, desired_access))
|
| H 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()
|
| /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
|