Home
last modified time | relevance | path

Searched refs:to_name (Results 1 – 7 of 7) sorted by relevance

/fs/cifs/
Dlink.c505 const char *from_name, *to_name; in cifs_hardlink() local
530 to_name = build_path_from_dentry(direntry, page2); in cifs_hardlink()
531 if (IS_ERR(to_name)) { in cifs_hardlink()
532 rc = PTR_ERR(to_name); in cifs_hardlink()
537 rc = CIFSUnixCreateHardLink(xid, tcon, from_name, to_name, in cifs_hardlink()
546 rc = server->ops->create_hardlink(xid, tcon, from_name, to_name, in cifs_hardlink()
Dsmb2inode.c676 const char *from_name, const char *to_name, in smb2_set_path_attr() argument
683 smb2_to_name = cifs_convert_path_to_utf16(to_name, cifs_sb); in smb2_set_path_attr()
698 const char *from_name, const char *to_name, in smb2_rename_path() argument
705 return smb2_set_path_attr(xid, tcon, from_name, to_name, in smb2_rename_path()
711 const char *from_name, const char *to_name, in smb2_create_hardlink() argument
714 return smb2_set_path_attr(xid, tcon, from_name, to_name, cifs_sb, in smb2_create_hardlink()
Dinode.c2077 const char *from_name, *to_name; local
2110 to_name = build_path_from_dentry(target_dentry, page2);
2111 if (IS_ERR(to_name)) {
2112 rc = PTR_ERR(to_name);
2118 cifs_close_deferred_file_under_dentry(tcon, to_name);
2121 to_name);
2127 to_name);
2161 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, to_name,
2188 target_dentry, to_name);
Dsmb2proto.h96 const char *from_name, const char *to_name,
99 const char *from_name, const char *to_name,
Dcifsproto.h415 const char *from_name, const char *to_name,
422 const char *from_name, const char *to_name,
Dcifssmb.c2579 const char *from_name, const char *to_name, in CIFSSMBRename() argument
2613 to_name, PATH_MAX, cifs_sb->local_nls, in CIFSSMBRename()
2619 name_len2 = copy_path_name(pSMB->OldFileName+name_len+1, to_name); in CIFSSMBRename()
2960 const char *from_name, const char *to_name, in CIFSCreateHardLink() argument
2999 to_name, PATH_MAX, cifs_sb->local_nls, in CIFSCreateHardLink()
3006 name_len2 = copy_path_name(pSMB->OldFileName+name_len+1, to_name); in CIFSCreateHardLink()
/fs/hostfs/
Dhostfs_kern.c627 char *from_name, *to_name; in hostfs_link() local
632 to_name = dentry_name(to); in hostfs_link()
633 if (to_name == NULL) { in hostfs_link()
637 err = link_file(to_name, from_name); in hostfs_link()
639 __putname(to_name); in hostfs_link()