Home
last modified time | relevance | path

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

/fs/hostfs/
Dhostfs_kern.c738 char *old_name, *new_name; in hostfs_rename2() local
744 old_name = dentry_name(old_dentry); in hostfs_rename2()
745 if (old_name == NULL) in hostfs_rename2()
749 __putname(old_name); in hostfs_rename2()
753 err = rename_file(old_name, new_name); in hostfs_rename2()
755 err = rename2_file(old_name, new_name, flags); in hostfs_rename2()
757 __putname(old_name); in hostfs_rename2()
/fs/debugfs/
Dinode.c839 struct name_snapshot old_name; in debugfs_rename() local
861 take_dentry_name_snapshot(&old_name, old_dentry); in debugfs_rename()
866 release_dentry_name_snapshot(&old_name); in debugfs_rename()
870 fsnotify_move(d_inode(old_dir), d_inode(new_dir), &old_name.name, in debugfs_rename()
873 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/nfs/
Dnfstrace.h696 __string(old_name, old_dentry->d_name.name)
704 __assign_str(old_name, old_dentry->d_name.name);
712 __get_str(old_name),
743 __string(old_name, old_dentry->d_name.name)
753 __assign_str(old_name, old_dentry->d_name.name);
763 __get_str(old_name),
Dunlink.c371 data->args.old_name = &old_dentry->d_name; in nfs_async_rename()
Dnfs2xdr.c721 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.c2228 encode_rename(xdr, args->old_name, args->new_name, &hdr); in nfs4_xdr_enc_rename()
/fs/hpfs/
Dnamei.c514 const unsigned char *old_name = old_dentry->d_name.name; in hpfs_rename() local
534 hpfs_adjust_length(old_name, &old_len); in hpfs_rename()
545 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { in hpfs_rename()
582 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { in hpfs_rename()
/fs/coda/
Dcoda_psdev.h73 size_t new_length, const char *old_name,
Ddir.c298 const char *old_name = old_dentry->d_name.name; in coda_rename() local
309 (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/
Dnamespace.c2296 static int do_loopback(struct path *path, const char *old_name, in do_loopback() argument
2303 if (!old_name || !*old_name) in do_loopback()
2305 err = kern_path(old_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path); in do_loopback()
2710 static int do_move_mount_old(struct path *path, const char *old_name) in do_move_mount_old() argument
2715 if (!old_name || !*old_name) in do_move_mount_old()
2718 err = kern_path(old_name, LOOKUP_FOLLOW, &old_path); in do_move_mount_old()
Ddcache.c2775 struct external_name *old_name = NULL; in copy_name() local
2777 old_name = external_name(dentry); in copy_name()
2787 if (old_name && likely(atomic_dec_and_test(&old_name->u.count))) in copy_name()
2788 kfree_rcu(old_name, u.head); in copy_name()
Dnamei.c4551 struct name_snapshot old_name; in vfs_rename2() local
4598 take_dentry_name_snapshot(&old_name, old_dentry); in vfs_rename2()
4653 fsnotify_move(old_dir, new_dir, &old_name.name, is_dir, in vfs_rename2()
4660 release_dentry_name_snapshot(&old_name); in vfs_rename2()
/fs/fat/
Dnamei_msdos.c427 static int do_msdos_rename(struct inode *old_dir, unsigned char *old_name, in do_msdos_rename() argument
444 err = fat_scan(old_dir, old_name, &old_sinfo); in do_msdos_rename()
/fs/kernfs/
Ddir.c1533 const char *old_name = NULL; in kernfs_rename_ns() local
1580 old_name = kn->name; in kernfs_rename_ns()
1590 kfree_const(old_name); in kernfs_rename_ns()