Home
last modified time | relevance | path

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

/Linux-v4.19/fs/cifs/
Dsmb2inode.c229 const char *from_name, const char *to_name, in smb2_set_path_attr() argument
235 smb2_to_name = cifs_convert_path_to_utf16(to_name, cifs_sb); in smb2_set_path_attr()
250 const char *from_name, const char *to_name, in smb2_rename_path() argument
253 return smb2_set_path_attr(xid, tcon, from_name, to_name, cifs_sb, in smb2_rename_path()
259 const char *from_name, const char *to_name, in smb2_create_hardlink() argument
262 return smb2_set_path_attr(xid, tcon, from_name, to_name, cifs_sb, in smb2_create_hardlink()
Dlink.c524 char *to_name = NULL; in cifs_hardlink() local
539 to_name = build_path_from_dentry(direntry); in cifs_hardlink()
540 if ((from_name == NULL) || (to_name == NULL)) { in cifs_hardlink()
546 rc = CIFSUnixCreateHardLink(xid, tcon, from_name, to_name, in cifs_hardlink()
555 rc = server->ops->create_hardlink(xid, tcon, from_name, to_name, in cifs_hardlink()
601 kfree(to_name); in cifs_hardlink()
Dsmb2proto.h97 const char *from_name, const char *to_name,
100 const char *from_name, const char *to_name,
Dinode.c1755 char *to_name = NULL; local
1785 to_name = build_path_from_dentry(target_dentry);
1786 if (to_name == NULL) {
1792 to_name);
1821 tmprc = CIFSSMBUnixQPathInfo(xid, tcon, to_name,
1848 target_dentry, to_name);
1860 kfree(to_name);
Dcifsproto.h379 const char *from_name, const char *to_name,
386 const char *from_name, const char *to_name,
Dcifssmb.c2656 const char *from_name, const char *to_name, in CIFSSMBRename() argument
2690 to_name, PATH_MAX, cifs_sb->local_nls, in CIFSSMBRename()
2698 name_len2 = strnlen(to_name, PATH_MAX); in CIFSSMBRename()
2701 strncpy(&pSMB->OldFileName[name_len + 1], to_name, name_len2); in CIFSSMBRename()
3052 const char *from_name, const char *to_name, in CIFSCreateHardLink() argument
3091 to_name, PATH_MAX, cifs_sb->local_nls, in CIFSCreateHardLink()
3099 name_len2 = strnlen(to_name, PATH_MAX); in CIFSCreateHardLink()
3102 strncpy(&pSMB->OldFileName[name_len + 1], to_name, name_len2); in CIFSCreateHardLink()
/Linux-v4.19/fs/hostfs/
Dhostfs_kern.c633 char *from_name, *to_name; in hostfs_link() local
638 to_name = dentry_name(to); in hostfs_link()
639 if (to_name == NULL) { in hostfs_link()
643 err = link_file(to_name, from_name); in hostfs_link()
645 __putname(to_name); in hostfs_link()
/Linux-v4.19/drivers/acpi/nfit/
Dcore.c604 static const char *to_name[] = { in spa_type_name() local
619 return to_name[type]; in spa_type_name()