/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | link.c | 480 const char *from_name, *to_name; local 505 to_name = build_path_from_dentry(direntry, page2); 506 if (IS_ERR(to_name)) { 507 rc = PTR_ERR(to_name); 513 rc = CIFSUnixCreateHardLink(xid, tcon, from_name, to_name, 526 from_name, to_name, cifs_sb);
|
H A D | smb2inode.c | 797 const char *from_name, const char *to_name, in smb2_set_path_attr() 805 smb2_to_name = cifs_convert_path_to_utf16(to_name, cifs_sb); in smb2_set_path_attr() 821 const char *from_name, const char *to_name, in smb2_rename_path() 830 return smb2_set_path_attr(xid, tcon, from_name, to_name, cifs_sb, in smb2_rename_path() 837 const char *from_name, const char *to_name, in smb2_create_hardlink() 842 return smb2_set_path_attr(xid, tcon, from_name, to_name, in smb2_create_hardlink() 796 smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb, __u32 create_options, __u32 access, int command, struct cifsFileInfo *cfile) smb2_set_path_attr() argument 818 smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, struct dentry *source_dentry, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb) smb2_rename_path() argument 834 smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon, struct dentry *source_dentry, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb) smb2_create_hardlink() argument
|
H A D | smb2proto.h | 86 const char *from_name, const char *to_name, 91 const char *from_name, const char *to_name,
|
H A D | inode.c | 2276 const char *from_name, *to_name; local 2311 to_name = build_path_from_dentry(target_dentry, page2); 2312 if (IS_ERR(to_name)) { 2313 rc = PTR_ERR(to_name); 2319 cifs_close_deferred_file_under_dentry(tcon, to_name); 2322 to_name); 2328 to_name); 2363 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, to_name, 2392 target_dentry, to_name);
|
H A D | cifsproto.h | 442 const char *from_name, const char *to_name, 451 const char *from_name, const char *to_name,
|
H A D | cifsglob.h | 405 const char *from_name, const char *to_name, 411 const char *from_name, const char *to_name,
|
H A D | cifssmb.c | 2154 const char *from_name, const char *to_name, in CIFSSMBRename() 2188 to_name, PATH_MAX, cifs_sb->local_nls, in CIFSSMBRename() 2194 name_len2 = copy_path_name(pSMB->OldFileName+name_len+1, to_name); in CIFSSMBRename() 2536 const char *from_name, const char *to_name, in CIFSCreateHardLink() 2575 to_name, PATH_MAX, cifs_sb->local_nls, in CIFSCreateHardLink() 2582 name_len2 = copy_path_name(pSMB->OldFileName+name_len+1, to_name); in CIFSCreateHardLink() 2152 CIFSSMBRename(const unsigned int xid, struct cifs_tcon *tcon, struct dentry *source_dentry, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb) CIFSSMBRename() argument 2533 CIFSCreateHardLink(const unsigned int xid, struct cifs_tcon *tcon, struct dentry *source_dentry, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb) CIFSCreateHardLink() argument
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | link.c | 518 char *to_name = NULL; in cifs_hardlink() local 533 to_name = build_path_from_dentry(direntry); in cifs_hardlink() 534 if ((from_name == NULL) || (to_name == NULL)) { in cifs_hardlink() 540 rc = CIFSUnixCreateHardLink(xid, tcon, from_name, to_name, in cifs_hardlink() 549 rc = server->ops->create_hardlink(xid, tcon, from_name, to_name, in cifs_hardlink() 595 kfree(to_name); in cifs_hardlink()
|
H A D | smb2inode.c | 693 const char *from_name, const char *to_name, in smb2_set_path_attr() 700 smb2_to_name = cifs_convert_path_to_utf16(to_name, cifs_sb); in smb2_set_path_attr() 715 const char *from_name, const char *to_name, in smb2_rename_path() 722 return smb2_set_path_attr(xid, tcon, from_name, to_name, in smb2_rename_path() 728 const char *from_name, const char *to_name, in smb2_create_hardlink() 731 return smb2_set_path_attr(xid, tcon, from_name, to_name, cifs_sb, in smb2_create_hardlink() 692 smb2_set_path_attr(const unsigned int xid, struct cifs_tcon *tcon, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb, __u32 access, int command, struct cifsFileInfo *cfile) smb2_set_path_attr() argument 714 smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb) smb2_rename_path() argument 727 smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb) smb2_create_hardlink() argument
|
H A D | smb2proto.h | 107 const char *from_name, const char *to_name, 110 const char *from_name, const char *to_name,
|
H A D | inode.c | 2068 char *to_name = NULL; local 2098 to_name = build_path_from_dentry(target_dentry); 2099 if (to_name == NULL) { 2105 to_name); 2134 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, to_name, 2161 target_dentry, to_name); 2173 kfree(to_name);
|
H A D | cifsproto.h | 408 const char *from_name, const char *to_name, 415 const char *from_name, const char *to_name,
|
H A D | cifssmb.c | 2690 const char *from_name, const char *to_name, in CIFSSMBRename() 2724 to_name, PATH_MAX, cifs_sb->local_nls, in CIFSSMBRename() 2730 name_len2 = copy_path_name(pSMB->OldFileName+name_len+1, to_name); in CIFSSMBRename() 3068 const char *from_name, const char *to_name, in CIFSCreateHardLink() 3107 to_name, PATH_MAX, cifs_sb->local_nls, in CIFSCreateHardLink() 3114 name_len2 = copy_path_name(pSMB->OldFileName+name_len+1, to_name); in CIFSCreateHardLink() 2689 CIFSSMBRename(const unsigned int xid, struct cifs_tcon *tcon, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb) CIFSSMBRename() argument 3067 CIFSCreateHardLink(const unsigned int xid, struct cifs_tcon *tcon, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb) CIFSCreateHardLink() argument
|
/kernel/linux/linux-5.10/fs/hostfs/ |
H A D | hostfs_kern.c | 624 char *from_name, *to_name; in hostfs_link() local 629 to_name = dentry_name(to); in hostfs_link() 630 if (to_name == NULL) { in hostfs_link() 634 err = link_file(to_name, from_name); in hostfs_link() 636 __putname(to_name); in hostfs_link()
|
/kernel/linux/linux-6.6/fs/hostfs/ |
H A D | hostfs_kern.c | 649 char *from_name, *to_name; in hostfs_link() local 654 to_name = dentry_name(to); in hostfs_link() 655 if (to_name == NULL) { in hostfs_link() 659 err = link_file(to_name, from_name); in hostfs_link() 661 __putname(to_name); in hostfs_link()
|
/kernel/linux/linux-5.10/drivers/acpi/nfit/ |
H A D | core.c | 660 static const char *to_name[] = { in spa_type_name() local 675 return to_name[type]; in spa_type_name()
|
/kernel/linux/linux-6.6/drivers/acpi/nfit/ |
H A D | core.c | 661 static const char *to_name[] = { in spa_type_name() local 676 return to_name[type]; in spa_type_name()
|