Home
last modified time | relevance | path

Searched refs:old_name (Results 1 – 17 of 17) sorted by relevance

/fs/hostfs/
Dhostfs_kern.c740 char *old_name, *new_name; in hostfs_rename2() local
746 old_name = dentry_name(old_dentry); in hostfs_rename2()
747 if (old_name == NULL) in hostfs_rename2()
751 __putname(old_name); in hostfs_rename2()
755 err = rename_file(old_name, new_name); in hostfs_rename2()
757 err = rename2_file(old_name, new_name, flags); in hostfs_rename2()
759 __putname(old_name); in hostfs_rename2()
/fs/debugfs/
Dinode.c796 struct name_snapshot old_name; in debugfs_rename() local
818 take_dentry_name_snapshot(&old_name, old_dentry); in debugfs_rename()
823 release_dentry_name_snapshot(&old_name); in debugfs_rename()
827 fsnotify_move(d_inode(old_dir), d_inode(new_dir), &old_name.name, in debugfs_rename()
830 release_dentry_name_snapshot(&old_name); in debugfs_rename()
/fs/ocfs2/
Docfs2_trace.h2232 TP_PROTO(unsigned long long ino, int old_len, const char *old_name,
2234 TP_ARGS(ino, old_len, old_name, name_len, name),
2238 __string(old_name, old_name)
2245 __assign_str(old_name, old_name);
2250 __entry->old_len, __get_str(old_name),
2263 int old_len, const char *old_name,
2266 old_len, old_name, new_len, new_name),
2273 __string(old_name, old_name)
2283 __assign_str(old_name, old_name);
2290 __entry->old_len, __get_str(old_name),
/fs/hpfs/
Dnamei.c518 const unsigned char *old_name = old_dentry->d_name.name; in hpfs_rename() local
538 hpfs_adjust_length(old_name, &old_len); in hpfs_rename()
549 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { in hpfs_rename()
586 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { in hpfs_rename()
/fs/nfs/
Dnfstrace.h756 __string(old_name, old_dentry->d_name.name)
764 __assign_str(old_name, old_dentry->d_name.name);
772 __get_str(old_name),
803 __string(old_name, old_dentry->d_name.name)
813 __assign_str(old_name, old_dentry->d_name.name);
823 __get_str(old_name),
Dunlink.c379 data->args.old_name = &old_dentry->d_name; in nfs_async_rename()
Dnfs2xdr.c717 const struct qstr *old = args->old_name; in nfs2_xdr_enc_renameargs()
Dnfs3xdr.c1191 const struct qstr *old = args->old_name; in nfs3_xdr_enc_rename3args()
Dnfs4xdr.c2237 encode_rename(xdr, args->old_name, args->new_name, &hdr); in nfs4_xdr_enc_rename()
/fs/coda/
Dcoda_psdev.h73 size_t new_length, const char *old_name,
Ddir.c302 const char *old_name = old_dentry->d_name.name; in coda_rename() local
313 (const char *) old_name, (const char *)new_name); in coda_rename()
Dupcall.c234 size_t new_length, const char *old_name, in venus_rename() argument
253 memcpy((char *)(inp) + offset, old_name, old_length); in venus_rename()
/fs/fat/
Dnamei_msdos.c428 static int do_msdos_rename(struct inode *old_dir, unsigned char *old_name, in do_msdos_rename() argument
445 err = fat_scan(old_dir, old_name, &old_sinfo); in do_msdos_rename()
/fs/kernfs/
Ddir.c1618 const char *old_name = NULL; in kernfs_rename_ns() local
1666 old_name = kn->name; in kernfs_rename_ns()
1676 kfree_const(old_name); in kernfs_rename_ns()
/fs/
Dnamespace.c2375 static int do_loopback(struct path *path, const char *old_name, in do_loopback() argument
2382 if (!old_name || !*old_name) in do_loopback()
2384 err = kern_path(old_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path); in do_loopback()
2863 static int do_move_mount_old(struct path *path, const char *old_name) in do_move_mount_old() argument
2868 if (!old_name || !*old_name) in do_move_mount_old()
2871 err = kern_path(old_name, LOOKUP_FOLLOW, &old_path); in do_move_mount_old()
Ddcache.c2832 struct external_name *old_name = NULL; in copy_name() local
2834 old_name = external_name(dentry); in copy_name()
2844 if (old_name && likely(atomic_dec_and_test(&old_name->u.count))) in copy_name()
2845 kfree_rcu(old_name, u.head); in copy_name()
Dnamei.c4724 struct name_snapshot old_name; in vfs_rename() local
4776 take_dentry_name_snapshot(&old_name, old_dentry); in vfs_rename()
4858 fsnotify_move(old_dir, new_dir, &old_name.name, is_dir, in vfs_rename()
4865 release_dentry_name_snapshot(&old_name); in vfs_rename()