Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cifs/
Dsmb2inode.c213 const char *from_name, const char *to_name, in smb2_set_path_attr() argument
219 smb2_to_name = cifs_convert_path_to_utf16(to_name, cifs_sb); in smb2_set_path_attr()
234 const char *from_name, const char *to_name, in smb2_rename_path() argument
237 return smb2_set_path_attr(xid, tcon, from_name, to_name, cifs_sb, in smb2_rename_path()
243 const char *from_name, const char *to_name, in smb2_create_hardlink() argument
246 return smb2_set_path_attr(xid, tcon, from_name, to_name, cifs_sb, in smb2_create_hardlink()
Dlink.c546 char *to_name = NULL; in cifs_hardlink() local
561 to_name = build_path_from_dentry(direntry); in cifs_hardlink()
562 if ((from_name == NULL) || (to_name == NULL)) { in cifs_hardlink()
568 rc = CIFSUnixCreateHardLink(xid, tcon, from_name, to_name, in cifs_hardlink()
577 rc = server->ops->create_hardlink(xid, tcon, from_name, to_name, in cifs_hardlink()
623 kfree(to_name); in cifs_hardlink()
Dsmb2proto.h80 const char *from_name, const char *to_name,
83 const char *from_name, const char *to_name,
Dinode.c1669 char *to_name = NULL; local
1699 to_name = build_path_from_dentry(target_dentry);
1700 if (to_name == NULL) {
1706 to_name);
1735 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, to_name,
1762 target_dentry, to_name);
1774 kfree(to_name);
Dcifsproto.h347 const char *from_name, const char *to_name,
354 const char *from_name, const char *to_name,
Dcifssmb.c2587 const char *from_name, const char *to_name, in CIFSSMBRename() argument
2621 to_name, PATH_MAX, cifs_sb->local_nls, in CIFSSMBRename()
2629 name_len2 = strnlen(to_name, PATH_MAX); in CIFSSMBRename()
2632 strncpy(&pSMB->OldFileName[name_len + 1], to_name, name_len2); in CIFSSMBRename()
2983 const char *from_name, const char *to_name, in CIFSCreateHardLink() argument
3022 to_name, PATH_MAX, cifs_sb->local_nls, in CIFSCreateHardLink()
3030 name_len2 = strnlen(to_name, PATH_MAX); in CIFSCreateHardLink()
3033 strncpy(&pSMB->OldFileName[name_len + 1], to_name, name_len2); in CIFSCreateHardLink()
/linux-4.4.14/fs/hostfs/
Dhostfs_kern.c645 char *from_name, *to_name; in hostfs_link() local
650 to_name = dentry_name(to); in hostfs_link()
651 if (to_name == NULL) { in hostfs_link()
655 err = link_file(to_name, from_name); in hostfs_link()
657 __putname(to_name); in hostfs_link()
/linux-4.4.14/drivers/acpi/
Dnfit.c204 static const char *to_name[] = { in spa_type_name() local
219 return to_name[type]; in spa_type_name()