Home
last modified time | relevance | path

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

/fs/debugfs/
Dinode.c772 struct name_snapshot old_name; in debugfs_rename() local
794 take_dentry_name_snapshot(&old_name, old_dentry); in debugfs_rename()
799 release_dentry_name_snapshot(&old_name); in debugfs_rename()
803 fsnotify_move(d_inode(old_dir), d_inode(new_dir), old_name.name, in debugfs_rename()
806 release_dentry_name_snapshot(&old_name); in debugfs_rename()
/fs/hostfs/
Dhostfs_kern.c756 char *old_name, *new_name; in hostfs_rename2() local
762 old_name = dentry_name(old_dentry); in hostfs_rename2()
763 if (old_name == NULL) in hostfs_rename2()
767 __putname(old_name); in hostfs_rename2()
771 err = rename_file(old_name, new_name); in hostfs_rename2()
773 err = rename2_file(old_name, new_name, flags); in hostfs_rename2()
775 __putname(old_name); in hostfs_rename2()
/fs/nfs/
Dnfstrace.h599 __string(old_name, old_dentry->d_name.name)
607 __assign_str(old_name, old_dentry->d_name.name);
615 __get_str(old_name),
646 __string(old_name, old_dentry->d_name.name)
656 __assign_str(old_name, old_dentry->d_name.name);
666 __get_str(old_name),
Dunlink.c379 data->args.old_name = &old_dentry->d_name; in nfs_async_rename()
Dnfs2xdr.c734 const struct qstr *old = args->old_name; in nfs2_xdr_enc_renameargs()
Dnfs3xdr.c1222 const struct qstr *old = args->old_name; in nfs3_xdr_enc_rename3args()
Dnfs4xdr.c2218 encode_rename(xdr, args->old_name, args->new_name, &hdr); in nfs4_xdr_enc_rename()
/fs/ncpfs/
Dncplib_kernel.c903 struct inode *old_dir, const char *old_name, __le16 old_type, in ncp_RenameNSEntry() argument
908 if ((old_dir == NULL) || (old_name == NULL) || in ncp_RenameNSEntry()
931 ncp_add_pstring(server, old_name); in ncp_RenameNSEntry()
942 struct inode *old_dir, const char *old_name, in ncp_ren_or_mov_file_or_subdir() argument
949 result = ncp_RenameNSEntry(server, old_dir, old_name, old_type, in ncp_ren_or_mov_file_or_subdir()
954 result = ncp_RenameNSEntry(server, old_dir, old_name, old_type, in ncp_ren_or_mov_file_or_subdir()
960 result = ncp_RenameNSEntry(server, old_dir, old_name, old_type, in ncp_ren_or_mov_file_or_subdir()
/fs/ocfs2/
Docfs2_trace.h2228 TP_PROTO(unsigned long long ino, int old_len, const char *old_name,
2230 TP_ARGS(ino, old_len, old_name, name_len, name),
2234 __string(old_name, old_name)
2241 __assign_str(old_name, old_name);
2246 __entry->old_len, __get_str(old_name),
2259 int old_len, const char *old_name,
2262 old_len, old_name, new_len, new_name),
2269 __string(old_name, old_name)
2279 __assign_str(old_name, old_name);
2286 __entry->old_len, __get_str(old_name),
/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/
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.c2253 static int do_loopback(struct path *path, const char *old_name, in do_loopback() argument
2260 if (!old_name || !*old_name) in do_loopback()
2262 err = kern_path(old_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path); in do_loopback()
2416 static int do_move_mount(struct path *path, const char *old_name) in do_move_mount() argument
2423 if (!old_name || !*old_name) in do_move_mount()
2425 err = kern_path(old_name, LOOKUP_FOLLOW, &old_path); in do_move_mount()
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 call_rcu(&old_name->u.head, __d_free_external_name); in copy_name()
Dnamei.c4486 struct name_snapshot old_name; in vfs_rename2() local
4533 take_dentry_name_snapshot(&old_name, old_dentry); in vfs_rename2()
4588 fsnotify_move(old_dir, new_dir, old_name.name, is_dir, in vfs_rename2()
4595 release_dentry_name_snapshot(&old_name); in vfs_rename2()
/fs/fat/
Dnamei_msdos.c429 static int do_msdos_rename(struct inode *old_dir, unsigned char *old_name, in do_msdos_rename() argument
446 err = fat_scan(old_dir, old_name, &old_sinfo); in do_msdos_rename()
/fs/kernfs/
Ddir.c1508 const char *old_name = NULL; in kernfs_rename_ns() local
1555 old_name = kn->name; in kernfs_rename_ns()
1565 kfree_const(old_name); in kernfs_rename_ns()