/fs/sysfs/ |
D | dir.c | 795 int sysfs_rename_dir(struct kobject * kobj, const char *new_name) in sysfs_rename_dir() argument 806 if (strcmp(sd->s_name, new_name) == 0) in sysfs_rename_dir() 824 if (sysfs_find_dirent(sd->s_parent, new_name)) in sysfs_rename_dir() 828 new_dentry = d_alloc_name(parent, new_name); in sysfs_rename_dir() 834 new_name = dup_name = kstrdup(new_name, GFP_KERNEL); in sysfs_rename_dir() 835 if (!new_name) in sysfs_rename_dir() 839 sd->s_name = new_name; in sysfs_rename_dir()
|
/fs/hpfs/ |
D | namei.c | 550 char *new_name = (char *)new_dentry->d_name.name; in hpfs_rename() local 562 if ((err = hpfs_chk_name((char *)new_name, &new_len))) return err; in hpfs_rename() 587 de.hidden = new_name[0] == '.'; in hpfs_rename() 592 … if ((nde = map_dirent(new_dir, hpfs_i(new_dir)->i_dno, (char *)new_name, new_len, NULL, &qbh1))) { in hpfs_rename() 595 memcpy(nde->name, new_name, new_len); in hpfs_rename() 611 if ((r = hpfs_add_dirent(new_dir, new_name, new_len, &de, 1))) { in hpfs_rename() 644 memcpy(fnode->name, new_name, new_len>15?15:new_len); in hpfs_rename() 650 hpfs_decide_conv(i, (char *)new_name, new_len); in hpfs_rename()
|
/fs/debugfs/ |
D | inode.c | 456 struct dentry *new_dir, const char *new_name) in debugfs_rename() argument 470 dentry = lookup_one_len(new_name, new_dir, strlen(new_name)); in debugfs_rename()
|
/fs/ncpfs/ |
D | ncplib_kernel.c | 894 struct inode *new_dir, char *new_name) in ncp_RenameNSEntry() argument 899 (new_dir == NULL) || (new_name == NULL)) in ncp_RenameNSEntry() 923 ncp_add_pstring(server, new_name); in ncp_RenameNSEntry() 933 struct inode *new_dir, char *new_name) in ncp_ren_or_mov_file_or_subdir() argument 940 new_dir, new_name); in ncp_ren_or_mov_file_or_subdir() 945 new_dir, new_name); in ncp_ren_or_mov_file_or_subdir() 948 result = ncp_del_file_or_subdir(server, new_dir, new_name); in ncp_ren_or_mov_file_or_subdir() 951 new_dir, new_name); in ncp_ren_or_mov_file_or_subdir()
|
/fs/nfs/ |
D | proc.c | 317 struct inode *new_dir, struct qstr *new_name) in nfs_proc_rename() argument 324 .toname = new_name->name, in nfs_proc_rename() 325 .tolen = new_name->len in nfs_proc_rename() 333 dprintk("NFS call rename %s -> %s\n", old_name->name, new_name->name); in nfs_proc_rename()
|
D | nfs3proc.c | 428 struct inode *new_dir, struct qstr *new_name) in nfs3_proc_rename() argument 436 .toname = new_name->name, in nfs3_proc_rename() 437 .tolen = new_name->len in nfs3_proc_rename() 450 dprintk("NFS call rename %s -> %s\n", old_name->name, new_name->name); in nfs3_proc_rename()
|
D | nfs4proc.c | 2099 struct inode *new_dir, struct qstr *new_name) in _nfs4_proc_rename() argument 2106 .new_name = new_name, in _nfs4_proc_rename() 2136 struct inode *new_dir, struct qstr *new_name) in nfs4_proc_rename() argument 2143 new_dir, new_name), in nfs4_proc_rename()
|
D | nfs4xdr.c | 1442 encode_rename(&xdr, args->old_name, args->new_name, &hdr); in nfs4_xdr_enc_rename()
|
/fs/configfs/ |
D | dir.c | 1382 int configfs_rename_dir(struct config_item * item, const char *new_name) 1387 if (!strcmp(config_item_name(item), new_name)) 1398 new_dentry = lookup_one_len(new_name, parent, strlen(new_name)); 1401 error = config_item_set_name(item, "%s", new_name);
|
/fs/fat/ |
D | namei_msdos.c | 447 struct inode *new_dir, unsigned char *new_name, in do_msdos_rename() argument 479 err = fat_scan(new_dir, new_name, &sinfo); in do_msdos_rename() 522 err = msdos_add_entry(new_dir, new_name, is_dir, is_hid, 0, in do_msdos_rename()
|
/fs/afs/ |
D | vnode.c | 695 const char *new_name) in afs_vnode_rename() argument 711 new_name); in afs_vnode_rename() 733 new_dvnode, new_name, &afs_sync_call); in afs_vnode_rename()
|
D | fsclient.c | 1034 const char *new_name, in afs_fs_rename() argument 1046 n_namesz = strlen(new_name); in afs_fs_rename() 1082 memcpy(bp, new_name, n_namesz); in afs_fs_rename()
|
/fs/coda/ |
D | dir.c | 400 const char *new_name = new_dentry->d_name.name; in coda_rename() local 409 (const char *) old_name, (const char *)new_name); in coda_rename()
|
D | upcall.c | 234 const char *new_name) in venus_rename() argument 259 memcpy((char *)(inp) + offset, new_name, new_length); in venus_rename()
|
/fs/ |
D | namei.c | 2617 const char *new_name = old_dentry->d_name.name; in vfs_rename() local 2618 fsnotify_move(old_dir, new_dir, old_name, new_name, is_dir, in vfs_rename()
|