Home
last modified time | relevance | path

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

/fs/cifs/
Dsmb2inode.c676 const char *from_name, const char *to_name, in smb2_set_path_attr() argument
688 rc = smb2_compound_op(xid, tcon, cifs_sb, from_name, access, in smb2_set_path_attr()
698 const char *from_name, const char *to_name, in smb2_rename_path() argument
703 cifs_get_writable_path(tcon, from_name, FIND_WR_WITH_DELETE, &cfile); in smb2_rename_path()
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()
Dlink.c505 const char *from_name, *to_name; in cifs_hardlink() local
525 from_name = build_path_from_dentry(old_file, page1); in cifs_hardlink()
526 if (IS_ERR(from_name)) { in cifs_hardlink()
527 rc = PTR_ERR(from_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()
Dinode.c2077 const char *from_name, *to_name; local
2104 from_name = build_path_from_dentry(source_dentry, page1);
2105 if (IS_ERR(from_name)) {
2106 rc = PTR_ERR(from_name);
2116 cifs_close_deferred_file_under_dentry(tcon, from_name);
2120 rc = cifs_do_rename(xid, source_dentry, from_name, target_dentry,
2126 rc = cifs_do_rename(xid, source_dentry, from_name, target_dentry,
2154 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, from_name,
2187 rc = cifs_do_rename(xid, source_dentry, from_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
2604 from_name, PATH_MAX, in CIFSSMBRename()
2618 name_len = copy_path_name(pSMB->OldFileName, from_name); in CIFSSMBRename()
2960 const char *from_name, const char *to_name, in CIFSCreateHardLink() argument
2989 cifsConvertToUTF16((__le16 *) pSMB->OldFileName, from_name, in CIFSCreateHardLink()
3004 name_len = copy_path_name(pSMB->OldFileName, from_name); in CIFSCreateHardLink()
/fs/hostfs/
Dhostfs_kern.c627 char *from_name, *to_name; in hostfs_link() local
630 if ((from_name = dentry_name(from)) == NULL) in hostfs_link()
634 __putname(from_name); in hostfs_link()
637 err = link_file(to_name, from_name); in hostfs_link()
638 __putname(from_name); in hostfs_link()