| /kernel/linux/linux-5.10/fs/cifs/ |
| H A D | dir.c | 54 char *full_path = NULL; in cifs_build_path_to_root() local 58 full_path = kzalloc(1, GFP_KERNEL); in cifs_build_path_to_root() 59 return full_path; in cifs_build_path_to_root() 67 full_path = kmalloc(dfsplen + pplen + 1, GFP_KERNEL); in cifs_build_path_to_root() 68 if (full_path == NULL) in cifs_build_path_to_root() 69 return full_path; in cifs_build_path_to_root() 72 memcpy(full_path, tcon->treeName, dfsplen); in cifs_build_path_to_root() 73 full_path[dfsplen] = CIFS_DIR_SEP(cifs_sb); in cifs_build_path_to_root() 74 memcpy(full_path + dfsplen + 1, vol->prepath, pplen); in cifs_build_path_to_root() 75 convert_delimiter(full_path, CIFS_DIR_SE in cifs_build_path_to_root() 98 char *full_path; build_path_from_dentry_optional_prefix() local 235 char *full_path = NULL; cifs_do_create() local 621 char *full_path = NULL; cifs_mknod() local 662 char *full_path = NULL; cifs_lookup() local [all...] |
| H A D | xattr.c | 54 struct inode *inode, char *full_path, in cifs_attrib_set() 69 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_attrib_set() 78 struct inode *inode, char *full_path, in cifs_creation_time_set() 93 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_creation_time_set() 112 char *full_path; in cifs_xattr_set() local 121 full_path = build_path_from_dentry(dentry); in cifs_xattr_set() 122 if (full_path == NULL) { in cifs_xattr_set() 143 rc = cifs_attrib_set(xid, pTcon, inode, full_path, in cifs_xattr_set() 151 full_path, value, size); in cifs_xattr_set() 162 full_path, nam in cifs_xattr_set() 53 cifs_attrib_set(unsigned int xid, struct cifs_tcon *pTcon, struct inode *inode, char *full_path, const void *value, size_t size) cifs_attrib_set() argument 77 cifs_creation_time_set(unsigned int xid, struct cifs_tcon *pTcon, struct inode *inode, char *full_path, const void *value, size_t size) cifs_creation_time_set() argument 295 char *full_path; cifs_xattr_get() local 403 char *full_path; cifs_listxattr() local [all...] |
| H A D | inode.c | 371 const unsigned char *full_path, 381 cifs_dbg(FYI, "Getting info on %s\n", full_path); 389 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, 405 full_path); 805 * @full_path (EACCES) and have backup creds. 815 const char *full_path, 840 rc = CIFSFindFirst(xid, tcon, full_path, 855 const char *full_path, 877 cifs_sb, full_path, 895 if (fattr->cf_uniqueid == 0 && strlen(full_path) 370 cifs_get_inode_info_unix(struct inode **pinode, const unsigned char *full_path, struct super_block *sb, unsigned int xid) global() argument 812 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) global() argument 851 cifs_set_fattr_ino(int xid, struct cifs_tcon *tcon, struct super_block *sb, struct inode **inode, const char *full_path, FILE_ALL_INFO *data, struct cifs_fattr *fattr) global() argument 914 cifs_get_inode_info(struct inode **inode, const char *full_path, FILE_ALL_INFO *in_data, struct super_block *sb, int xid, const struct cifs_fid *fid) global() argument 1115 smb311_posix_get_inode_info(struct inode **inode, const char *full_path, struct super_block *sb, unsigned int xid) global() argument 1403 cifs_set_file_info(struct inode *inode, struct iattr *attrs, unsigned int xid, char *full_path, __u32 dosattr) global() argument 1459 cifs_rename_pending_delete(const char *full_path, struct dentry *dentry, const unsigned int xid) global() argument 1605 char *full_path = NULL; global() local 1717 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 1791 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 1861 char *full_path; global() local 1933 char *full_path = NULL; global() local 2299 char *full_path = NULL; global() local 2503 cifs_set_file_size(struct inode *inode, struct iattr *attrs, unsigned int xid, char *full_path) global() argument 2595 char *full_path = NULL; global() local 2746 char *full_path = NULL; global() local [all...] |
| H A D | smb2inode.c | 64 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() 105 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op() 168 full_path); in smb2_compound_op() 202 trace_smb3_posix_query_info_compound_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 205 trace_smb3_delete_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 212 trace_smb3_mkdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 230 trace_smb3_rmdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 265 trace_smb3_set_eof_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 299 full_path); in smb2_compound_op() 338 trace_smb3_rename_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 63 smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, __u32 desired_access, __u32 create_disposition, __u32 create_options, umode_t mode, void *ptr, int command, struct cifsFileInfo *cfile) smb2_compound_op() argument 523 smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, FILE_ALL_INFO *data, bool *adjust_tz, bool *reparse) smb2_query_path_info() argument 587 smb311_posix_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, struct smb311_posix_qinfo *data, bool *adjust_tz, bool *reparse) smb311_posix_query_path_info() argument 737 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) smb2_set_path_size() argument 749 smb2_set_file_info(struct inode *inode, const char *full_path, FILE_BASIC_INFO *buf, const unsigned int xid) smb2_set_file_info() argument [all...] |
| H A D | link.c | 607 char *full_path = NULL; in cifs_get_link() local 627 full_path = build_path_from_dentry(direntry); in cifs_get_link() 628 if (!full_path) { in cifs_get_link() 634 cifs_dbg(FYI, "Full path: %s inode = 0x%p\n", full_path, inode); in cifs_get_link() 642 rc = query_mf_symlink(xid, tcon, cifs_sb, full_path, in cifs_get_link() 652 rc = server->ops->query_symlink(xid, tcon, cifs_sb, full_path, in cifs_get_link() 656 kfree(full_path); in cifs_get_link() 675 char *full_path = NULL; in cifs_symlink() local 687 full_path = build_path_from_dentry(direntry); in cifs_symlink() 688 if (full_path in cifs_symlink() [all...] |
| H A D | cifs_dfs_ref.c | 303 char *full_path, *root_path; in cifs_dfs_do_automount() local 326 full_path = build_path_from_dentry_optional_prefix(mntpt, true); in cifs_dfs_do_automount() 327 if (full_path == NULL) in cifs_dfs_do_automount() 330 convert_delimiter(full_path, '\\'); in cifs_dfs_do_automount() 332 cifs_dbg(FYI, "%s: full_path: %s\n", __func__, full_path); in cifs_dfs_do_automount() 363 cifs_remap(cifs_sb), full_path + 1, in cifs_dfs_do_automount() 374 * OK - we were able to get and cache a referral for @full_path. in cifs_dfs_do_automount() 379 mnt = cifs_dfs_do_mount(mntpt, cifs_sb, full_path); in cifs_dfs_do_automount() 381 full_path in cifs_dfs_do_automount() [all...] |
| H A D | smb1ops.c | 516 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() 525 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible() 530 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible() 538 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_query_path_info() 546 rc = CIFSSMBQPathInfo(xid, tcon, full_path, data, 0 /* not legacy */, in cifs_query_path_info() 554 rc = SMBQueryInformation(xid, tcon, full_path, data, in cifs_query_path_info() 571 oparms.path = full_path; in cifs_query_path_info() 588 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_get_srv_inum() 602 return CIFSGetSrvInodeNumber(xid, tcon, full_path, uniqueid, in cifs_get_srv_inum() 677 cifs_mkdir_setinfo(struct inode *inode, const char *full_path, in cifs_mkdir_setinfo() argument 515 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path) cifs_is_path_accessible() argument 537 cifs_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, FILE_ALL_INFO *data, bool *adjustTZ, bool *symlink) cifs_query_path_info() argument 587 cifs_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, u64 *uniqueid, FILE_ALL_INFO *data) cifs_get_srv_inum() argument 754 smb_set_file_info(struct inode *inode, const char *full_path, FILE_BASIC_INFO *buf, const unsigned int xid) smb_set_file_info() argument 942 cifs_query_symlink(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, char **target_path, bool is_reparse_point) cifs_query_symlink() argument 1027 cifs_make_node(unsigned int xid, struct inode *inode, struct dentry *dentry, struct cifs_tcon *tcon, char *full_path, umode_t mode, dev_t dev) cifs_make_node() argument [all...] |
| /kernel/linux/linux-5.10/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() 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() 193 acpi_ns_build_normalized_path(struct acpi_namespace_node *node, char *full_path, u32 path_size, u8 no_trailing) acpi_ns_build_normalized_path() argument 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()
|
| /kernel/linux/linux-6.6/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() 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() 193 acpi_ns_build_normalized_path(struct acpi_namespace_node *node, char *full_path, u32 path_size, u8 no_trailing) acpi_ns_build_normalized_path() argument 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()
|
| /kernel/linux/linux-6.6/fs/smb/client/ |
| 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() 186 const char *full_path; global() local 591 const char *full_path; global() local 636 const char *full_path; global() local [all...] |
| H A D | xattr.c | 44 struct inode *inode, const char *full_path, in cifs_attrib_set() 59 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_attrib_set() 68 struct inode *inode, const char *full_path, in cifs_creation_time_set() 83 rc = pTcon->ses->server->ops->set_file_info(inode, full_path, in cifs_creation_time_set() 103 const char *full_path; in cifs_xattr_set() local 114 full_path = build_path_from_dentry(dentry, page); in cifs_xattr_set() 115 if (IS_ERR(full_path)) { in cifs_xattr_set() 116 rc = PTR_ERR(full_path); in cifs_xattr_set() 136 rc = cifs_attrib_set(xid, pTcon, inode, full_path, in cifs_xattr_set() 144 full_path, valu in cifs_xattr_set() 43 cifs_attrib_set(unsigned int xid, struct cifs_tcon *pTcon, struct inode *inode, const char *full_path, const void *value, size_t size) cifs_attrib_set() argument 67 cifs_creation_time_set(unsigned int xid, struct cifs_tcon *pTcon, struct inode *inode, const char *full_path, const void *value, size_t size) cifs_creation_time_set() argument 271 const char *full_path; cifs_xattr_get() local 370 const char *full_path; cifs_listxattr() local [all...] |
| H A D | smb2inode.c | 59 struct cifs_sb_info *cifs_sb, const char *full_path, in smb2_compound_op() 102 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op() 110 .path = full_path, in smb2_compound_op() 167 full_path); in smb2_compound_op() 201 trace_smb3_posix_query_info_compound_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 204 trace_smb3_delete_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 211 trace_smb3_mkdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 229 trace_smb3_rmdir_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 264 trace_smb3_set_eof_enter(xid, ses->Suid, tcon->tid, full_path); in smb2_compound_op() 298 full_path); in smb2_compound_op() 58 smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, __u32 desired_access, __u32 create_disposition, __u32 create_options, umode_t mode, void *ptr, int command, struct cifsFileInfo *cfile, __u8 **extbuf, size_t *extbuflen, struct kvec *out_iov, int *out_buftype) smb2_compound_op() argument 574 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 658 smb311_posix_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, struct cifs_sid *owner, struct cifs_sid *group) smb311_posix_query_path_info() argument 848 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) smb2_set_path_size() argument 862 smb2_set_file_info(struct inode *inode, const char *full_path, FILE_BASIC_INFO *buf, const unsigned int xid) smb2_set_file_info() argument [all...] |
| H A D | inode.c | 414 static int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() argument 427 cifs_dbg(FYI, "Getting info on %s\n", full_path); in cifs_get_unix_fattr() 436 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, in cifs_get_unix_fattr() 455 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_unix_fattr() 463 cifs_sb, full_path, in cifs_get_unix_fattr() 471 const unsigned char *full_path, in cifs_get_inode_info_unix() 477 rc = cifs_get_unix_fattr(full_path, sb, &fattr, pinode, xid); in cifs_get_inode_info_unix() 487 static inline int cifs_get_unix_fattr(const unsigned char *full_path, in cifs_get_unix_fattr() argument 497 const unsigned char *full_path, in cifs_get_inode_info_unix() 956 * full_path (EACCE 470 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 496 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 967 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 1006 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 1061 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 1113 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 1272 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 1296 smb311_posix_get_fattr(struct cifs_fattr *fattr, const char *full_path, struct super_block *sb, const unsigned int xid) smb311_posix_get_fattr() argument 1363 smb311_posix_get_inode_info(struct inode **inode, const char *full_path, struct super_block *sb, const unsigned int xid) smb311_posix_get_inode_info() argument 1563 cifs_set_file_info(struct inode *inode, struct iattr *attrs, unsigned int xid, const char *full_path, __u32 dosattr) cifs_set_file_info() argument 1620 cifs_rename_pending_delete(const char *full_path, struct dentry *dentry, const unsigned int xid) cifs_rename_pending_delete() argument 1768 const char *full_path; cifs_unlink() local 1888 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 1979 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 2051 const char *full_path; global() local 2129 const char *full_path; global() local 2562 const char *full_path; global() local 2772 cifs_set_file_size(struct inode *inode, struct iattr *attrs, unsigned int xid, const char *full_path) global() argument 2865 const char *full_path; global() local 3020 const char *full_path; global() local [all...] |
| H A D | dfs.c | 15 * @full_path: full path in UNC format. 21 int dfs_parse_target_referral(const char *full_path, const struct dfs_info3_param *ref, in dfs_parse_target_referral() argument 28 if (!full_path || !*full_path || !ref || !ctx) in dfs_parse_target_referral() 34 if (strlen(full_path) - ref->path_consumed) { in dfs_parse_target_referral() 35 prepath = full_path + ref->path_consumed; in dfs_parse_target_referral() 56 static int get_session(struct cifs_mount_ctx *mnt_ctx, const char *full_path) in get_session() argument 61 ctx->leaf_fullpath = (char *)full_path; in get_session() 117 char *ref_path, *full_path; in set_ref_paths() local 120 full_path in set_ref_paths() [all...] |
| H A D | link.c | 586 const char *full_path; local 606 full_path = build_path_from_dentry(direntry, page); 607 if (IS_ERR(full_path)) { 608 rc = PTR_ERR(full_path); 612 cifs_dbg(FYI, "Full path: %s\n", full_path); 617 rc = create_mf_symlink(xid, pTcon, cifs_sb, full_path, symname); 620 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path, symname, 630 rc = smb311_posix_get_inode_info(&newinode, full_path, inode->i_sb, xid); 632 rc = cifs_get_inode_info_unix(&newinode, full_path, 635 rc = cifs_get_inode_info(&newinode, full_path, NUL [all...] |
| H A D | smb1ops.c | 525 struct cifs_sb_info *cifs_sb, const char *full_path) in cifs_is_path_accessible() 534 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible() 539 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible() 548 const char *full_path, in cifs_query_path_info() 558 rc = CIFSSMBQPathInfo(xid, tcon, full_path, &fi, 0 /* not legacy */, cifs_sb->local_nls, in cifs_query_path_info() 566 rc = SMBQueryInformation(xid, tcon, full_path, &fi, cifs_sb->local_nls, in cifs_query_path_info() 588 .path = full_path, in cifs_query_path_info() 604 struct cifs_sb_info *cifs_sb, const char *full_path, in cifs_get_srv_inum() 618 return CIFSGetSrvInodeNumber(xid, tcon, full_path, uniqueid, in cifs_get_srv_inum() 704 cifs_mkdir_setinfo(struct inode *inode, const char *full_path, in cifs_mkdir_setinfo() argument 524 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path) cifs_is_path_accessible() argument 545 cifs_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) cifs_query_path_info() argument 603 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 790 smb_set_file_info(struct inode *inode, const char *full_path, FILE_BASIC_INFO *buf, const unsigned int xid) smb_set_file_info() argument 975 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 1038 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 | namespace.c | 197 char *full_path; in cifs_do_automount() local 212 full_path = automount_fullpath(mntpt, page); in cifs_do_automount() 213 if (IS_ERR(full_path)) { in cifs_do_automount() 214 mnt = ERR_CAST(full_path); in cifs_do_automount() 231 rc = smb3_parse_devname(full_path, ctx); in cifs_do_automount()
|
| H A D | dfs.h | 19 char *full_path; member 37 #define ref_walk_fpath(w) (ref_walk_cur(w)->full_path) 59 kfree(ref->full_path); in __ref_walk_free() 122 int dfs_parse_target_referral(const char *full_path, const struct dfs_info3_param *ref,
|
| /kernel/linux/linux-5.10/drivers/staging/blackbox/ |
| H A D | blackbox_storage.c | 77 char *full_path = NULL; in is_pstore_part_ready() local 90 full_path = vmalloc(PATH_MAX_LEN); in is_pstore_part_ready() 91 if (!full_path) in is_pstore_part_ready() 98 memset(full_path, 0, PATH_MAX_LEN); in is_pstore_part_ready() 99 snprintf(full_path, PATH_MAX_LEN - 1, "%s%s", PSTORE_MOUNT_POINT, cur_name); in is_pstore_part_ready() 104 if (strcmp(full_path, pstore_file) > 0) in is_pstore_part_ready() 105 strncpy(pstore_file, full_path, strlen(full_path)); in is_pstore_part_ready() 114 vfree(full_path); in is_pstore_part_ready()
|
| /kernel/linux/linux-6.6/drivers/staging/blackbox/ |
| H A D | blackbox_storage.c | 77 char *full_path = NULL; in is_pstore_part_ready() local 90 full_path = vmalloc(PATH_MAX_LEN); in is_pstore_part_ready() 91 if (!full_path) in is_pstore_part_ready() 98 memset(full_path, 0, PATH_MAX_LEN); in is_pstore_part_ready() 99 snprintf(full_path, PATH_MAX_LEN - 1, "%s%s", PSTORE_MOUNT_POINT, cur_name); in is_pstore_part_ready() 104 if (strcmp(full_path, pstore_file) > 0) in is_pstore_part_ready() 105 strncpy(pstore_file, full_path, strlen(full_path)); in is_pstore_part_ready() 114 vfree(full_path); in is_pstore_part_ready()
|
| /kernel/linux/linux-5.10/drivers/block/rnbd/ |
| H A D | rnbd-srv.c | 592 char *full_path; in rnbd_srv_get_full_path() local 596 full_path = kmalloc(PATH_MAX, GFP_KERNEL); in rnbd_srv_get_full_path() 597 if (!full_path) in rnbd_srv_get_full_path() 608 len = snprintf(full_path, PATH_MAX, "%.*s/%s/%s", len, in rnbd_srv_get_full_path() 611 len = snprintf(full_path, PATH_MAX, "%s/%s", in rnbd_srv_get_full_path() 617 kfree(full_path); in rnbd_srv_get_full_path() 622 a = strchr(full_path, '/'); in rnbd_srv_get_full_path() 636 return full_path; in rnbd_srv_get_full_path() 691 char *full_path; in process_msg_open() local 722 full_path in process_msg_open() [all...] |
| /kernel/linux/linux-6.6/drivers/block/rnbd/ |
| H A D | rnbd-srv.c | 586 char *full_path; in rnbd_srv_get_full_path() local 590 full_path = kmalloc(PATH_MAX, GFP_KERNEL); in rnbd_srv_get_full_path() 591 if (!full_path) in rnbd_srv_get_full_path() 602 len = snprintf(full_path, PATH_MAX, "%.*s/%s/%s", len, in rnbd_srv_get_full_path() 605 len = snprintf(full_path, PATH_MAX, "%s/%s", in rnbd_srv_get_full_path() 611 kfree(full_path); in rnbd_srv_get_full_path() 616 a = strchr(full_path, '/'); in rnbd_srv_get_full_path() 630 return full_path; in rnbd_srv_get_full_path() 682 char *full_path; in process_msg_open() local 710 full_path in process_msg_open() [all...] |
| /kernel/linux/common_modules/xpm/validator/ |
| H A D | exec_signature_info.c | 131 char *full_path = NULL; in find_partition_dev() local 141 if (full_path == NULL) { in find_partition_dev() 142 full_path = file_path(file, path, PATH_MAX-1); in find_partition_dev() 143 if (IS_ERR(full_path)) in find_partition_dev() 146 if (strncmp(dm_path->path, full_path, dm_path->len) != 0) in find_partition_dev() 419 char *full_path; in test_print_info() local 428 full_path = file_path(file, path, PATH_MAX - 1); in test_print_info() 429 if (IS_ERR(full_path)) in test_print_info() 434 full_path, type == FILE_SIGNATURE_DM_VERITY ? "dm" : "fs", in test_print_info()
|