Searched refs:to_name (Results 1 – 7 of 7) sorted by relevance
/fs/cifs/ |
D | smb2inode.c | 193 const char *from_name, const char *to_name, in smb2_set_path_attr() argument 199 smb2_to_name = cifs_convert_path_to_utf16(to_name, cifs_sb); in smb2_set_path_attr() 214 const char *from_name, const char *to_name, in smb2_rename_path() argument 217 return smb2_set_path_attr(xid, tcon, from_name, to_name, cifs_sb, in smb2_rename_path() 223 const char *from_name, const char *to_name, in smb2_create_hardlink() argument 226 return smb2_set_path_attr(xid, tcon, from_name, to_name, cifs_sb, in smb2_create_hardlink()
|
D | link.c | 395 char *to_name = NULL; in cifs_hardlink() local 410 to_name = build_path_from_dentry(direntry); in cifs_hardlink() 411 if ((from_name == NULL) || (to_name == NULL)) { in cifs_hardlink() 417 rc = CIFSUnixCreateHardLink(xid, tcon, from_name, to_name, in cifs_hardlink() 425 rc = server->ops->create_hardlink(xid, tcon, from_name, to_name, in cifs_hardlink() 473 kfree(to_name); in cifs_hardlink()
|
D | smb2proto.h | 81 const char *from_name, const char *to_name, 84 const char *from_name, const char *to_name,
|
D | inode.c | 1554 char *to_name = NULL; local 1581 to_name = build_path_from_dentry(target_dentry); 1582 if (to_name == NULL) { 1588 to_name); 1612 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, to_name, 1637 target_dentry, to_name); 1643 kfree(to_name);
|
D | cifsproto.h | 335 const char *from_name, const char *to_name, 342 const char *from_name, const char *to_name,
|
D | cifssmb.c | 2518 const char *from_name, const char *to_name, in CIFSSMBRename() argument 2552 to_name, PATH_MAX, cifs_sb->local_nls, in CIFSSMBRename() 2560 name_len2 = strnlen(to_name, PATH_MAX); in CIFSSMBRename() 2563 strncpy(&pSMB->OldFileName[name_len + 1], to_name, name_len2); in CIFSSMBRename() 2914 const char *from_name, const char *to_name, in CIFSCreateHardLink() argument 2953 to_name, PATH_MAX, cifs_sb->local_nls, in CIFSCreateHardLink() 2961 name_len2 = strnlen(to_name, PATH_MAX); in CIFSCreateHardLink() 2964 strncpy(&pSMB->OldFileName[name_len + 1], to_name, name_len2); in CIFSCreateHardLink()
|
/fs/hostfs/ |
D | hostfs_kern.c | 636 char *from_name, *to_name; in hostfs_link() local 641 to_name = dentry_name(to); in hostfs_link() 642 if (to_name == NULL) { in hostfs_link() 646 err = link_file(to_name, from_name); in hostfs_link() 648 __putname(to_name); in hostfs_link() 747 char *from_name, *to_name; in hostfs_rename() local 752 if ((to_name = dentry_name(to)) == NULL) { in hostfs_rename() 756 err = rename_file(from_name, to_name); in hostfs_rename() 758 __putname(to_name); in hostfs_rename()
|