Searched refs:old_dentry (Results 1 - 25 of 40) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/umsdos/
H A Dioctl.c263 struct dentry *old_dentry, *new_dentry; local
274 old_dentry = umsdos_lookup_dentry (dentry,
277 ret = PTR_ERR(old_dentry);
278 if (IS_ERR(old_dentry))
286 old_dentry->d_parent->d_name.name, old_dentry->d_name.name,
288 ret = msdos_rename (dir, old_dentry, dir, new_dentry);
290 d_drop(old_dentry);
293 dput(old_dentry);
H A Dnamei.c342 static int umsdos_rename_f (struct inode *old_dir, struct dentry *old_dentry, argument
346 struct inode *old_inode = old_dentry->d_inode;
353 err = umsdos_parse (old_dentry->d_name.name,
354 old_dentry->d_name.len, &old_info);
363 old_emd = umsdos_get_emd_dentry(old_dentry->d_parent);
398 d_drop(old_dentry);
401 old = umsdos_covered(old_dentry->d_parent, old_info.fake.fname,
455 umsdos_set_dirinfo_new(old_dentry, new_info.f_pos);
1098 int UMSDOS_rename (struct inode *old_dir, struct dentry *old_dentry, argument
1112 if (S_ISDIR(old_dentry
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/sysv/
H A Dnamei.c135 static int sysv_link(struct dentry * old_dentry, struct inode * dir, argument
138 struct inode *inode = old_dentry->d_inode;
233 static int sysv_rename(struct inode * old_dir, struct dentry * old_dentry, argument
236 struct inode * old_inode = old_dentry->d_inode;
244 old_de = sysv_find_entry(old_dentry, &old_page);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jffs2/
H A Ddir.c423 static int jffs2_do_link (struct dentry *old_dentry, struct inode *dir_i, struct dentry *dentry, int rename) argument
455 rd->ino = old_dentry->d_inode->i_ino;
459 rd->type = (old_dentry->d_inode->i_mode & S_IFMT) >> 12;
480 f = JFFS2_INODE_INFO(old_dentry->d_inode);
482 old_dentry->d_inode->i_nlink = ++f->inocache->nlink;
488 static int jffs2_link (struct dentry *old_dentry, struct inode *dir_i, struct dentry *dentry) argument
493 if (!JFFS2_INODE_INFO(old_dentry->d_inode)->inocache)
496 if (S_ISDIR(old_dentry->d_inode->i_mode))
499 ret = jffs2_do_link(old_dentry, dir_i, dentry, 0);
501 d_instantiate(dentry, old_dentry
939 jffs2_rename(struct inode *old_dir_i, struct dentry *old_dentry, struct inode *new_dir_i, struct dentry *new_dentry) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/intermezzo/
H A Dvfs.c737 int presto_do_link(struct presto_file_set *fset, struct dentry *old_dentry, argument
757 inode = old_dentry->d_inode;
795 error = iops->link(old_dentry, dir->d_inode, new_dentry);
803 old_dentry->d_op->d_release(new_dentry);
804 if (!presto_d2d(old_dentry))
806 presto_d2d(old_dentry)->dd_count++;
808 new_dentry->d_fsdata = presto_d2d(old_dentry);
820 if ( presto_do_kml(info, old_dentry) )
821 error = presto_journal_link(&rec, fset, old_dentry, new_dentry,
825 if ( presto_do_rcvd(info, old_dentry) )
1731 do_rename(struct presto_file_set *fset, struct dentry *old_parent, struct dentry *old_dentry, struct dentry *new_parent, struct dentry *new_dentry, struct lento_vfs_context *info) argument
1816 presto_rename_dir(struct presto_file_set *fset, struct dentry *old_parent, struct dentry *old_dentry, struct dentry *new_parent, struct dentry *new_dentry, struct lento_vfs_context *info) argument
1898 presto_rename_other(struct presto_file_set *fset, struct dentry *old_parent, struct dentry *old_dentry, struct dentry *new_parent, struct dentry *new_dentry, struct lento_vfs_context *info) argument
1944 presto_do_rename(struct presto_file_set *fset, struct dentry *old_parent, struct dentry *old_dentry, struct dentry *new_parent, struct dentry *new_dentry, struct lento_vfs_context *info) argument
1963 struct dentry * old_dentry, *new_dentry; local
[all...]
H A Ddir.c434 static int presto_link(struct dentry *old_dentry, struct inode *dir, argument
444 error = presto_prep(old_dentry, &cache, &fset);
468 if ( presto_get_permit(old_dentry->d_inode) < 0 ) {
487 error = presto_do_link(fset, old_dentry, parent,
493 presto_put_permit(old_dentry->d_inode);
724 struct dentry *old_dentry,
728 if (S_ISDIR(old_dentry->d_inode->i_mode)) {
747 struct dentry *old_dentry,
754 if (S_ISDIR(old_dentry->d_inode->i_mode)) {
770 struct dentry *old_dentry,
723 presto_triple_unlock(struct inode *old_dir, struct inode *new_dir, struct dentry *old_dentry, struct dentry *new_dentry, int triple) argument
745 presto_triple_fulllock(struct inode *old_dir, struct inode *new_dir, struct dentry *old_dentry, struct dentry *new_dentry, int triple) argument
768 presto_triple_relock_sem(struct inode *old_dir, struct inode *new_dir, struct dentry *old_dentry, struct dentry *new_dentry, int triple) argument
778 presto_triple_relock_other(struct inode *old_dir, struct inode *new_dir, struct dentry *old_dentry, struct dentry *new_dentry, int triple) argument
801 presto_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/
H A Dnamei.c1589 int vfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry) argument
1596 inode = old_dentry->d_inode;
1619 error = dir->i_op->link(old_dentry, dir, new_dentry);
1675 int vfs_rename_dir(struct inode *old_dir, struct dentry *old_dentry, argument
1681 if (old_dentry->d_inode == new_dentry->d_inode)
1684 error = may_delete(old_dir, old_dentry, 1);
1706 error = permission(old_dentry->d_inode, MAY_WRITE);
1715 if (is_subdir(new_dentry, old_dentry))
1719 if (old_dentry->d_parent == new_dentry)
1730 if (d_mountpoint(old_dentry)||d_mountpoin
1754 vfs_rename_other(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
1796 vfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
1819 struct dentry * old_dentry, *new_dentry; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ext2/
H A Dnamei.c162 static int ext2_link (struct dentry * old_dentry, struct inode * dir, argument
165 struct inode *inode = old_dentry->d_inode;
260 static int ext2_rename (struct inode * old_dir, struct dentry * old_dentry, argument
263 struct inode * old_inode = old_dentry->d_inode;
271 old_de = ext2_find_entry (old_dir, old_dentry, &old_page);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/minix/
H A Dnamei.c129 static int minix_link(struct dentry * old_dentry, struct inode * dir, argument
132 struct inode *inode = old_dentry->d_inode;
224 static int minix_rename(struct inode * old_dir, struct dentry *old_dentry, argument
228 struct inode * old_inode = old_dentry->d_inode;
236 old_de = minix_find_entry(old_dentry, &old_page);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ufs/
H A Dnamei.c156 static int ufs_link (struct dentry * old_dentry, struct inode * dir, argument
159 struct inode *inode = old_dentry->d_inode;
253 static int ufs_rename (struct inode * old_dir, struct dentry * old_dentry, argument
256 struct inode *old_inode = old_dentry->d_inode;
264 old_de = ufs_find_entry (old_dentry, &old_bh);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/msdos/
H A Dnamei.c436 struct dentry *old_dentry,
449 old_inode = old_dentry->d_inode;
466 old_dentry->d_parent->d_name.name,
467 old_dentry->d_name.name, error);
536 int msdos_rename(struct inode *old_dir,struct dentry *old_dentry, argument
546 error = msdos_format_name(old_dentry->d_name.name,
547 old_dentry->d_name.len,old_msdos_name,
558 old_hid = (old_dentry->d_name.name[0]=='.') && (old_msdos_name[0]!='.');
563 error = do_msdos_rename(old_dir, old_msdos_name, old_dentry,
435 do_msdos_rename(struct inode *old_dir, char *old_name, struct dentry *old_dentry, struct inode *new_dir,char *new_name, struct dentry *new_dentry, struct buffer_head *old_bh, struct msdos_dir_entry *old_de, int old_ino, int is_hid) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/affs/
H A Dnamei.c403 affs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
405 struct inode *inode = old_dentry->d_inode;
425 affs_rename(struct inode *old_dir, struct dentry *old_dentry, argument
433 (u32)old_dir->i_ino, (int)old_dentry->d_name.len, old_dentry->d_name.name,
447 bh = affs_bread(sb, old_dentry->d_inode->i_ino);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/hfs/
H A Ddir.c313 int hfs_rename(struct inode *old_dir, struct dentry *old_dentry, argument
323 if (build_key(&key, old_dir, old_dentry->d_name.name,
324 old_dentry->d_name.len) ||
341 mark_inodes_deleted(victim, old_dentry);
H A Ddir_dbl.c302 static int dbl_rename(struct inode *old_dir, struct dentry *old_dentry, argument
311 error = hfs_rename(old_dir, old_dentry,
314 is_hdr(old_dir, old_dentry->d_name.name,
315 old_dentry->d_name.len)) {
H A Ddir_nat.c395 static int nat_hdr_rename(struct inode *old_dir, struct dentry *old_dentry, argument
407 hfs_nameout(old_dir, &cname, old_dentry->d_name.name,
408 old_dentry->d_name.len);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/nfs/
H A Ddir.c937 nfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
939 struct inode *inode = old_dentry->d_inode;
943 old_dentry->d_parent->d_name.name, old_dentry->d_name.name,
958 static int nfs_rename(struct inode *old_dir, struct dentry *old_dentry, argument
961 struct inode *old_inode = old_dentry->d_inode;
976 old_dentry->d_parent->d_name.name, old_dentry->d_name.name,
1025 if (atomic_read(&old_dentry->d_count) > 1) {
1027 shrink_dcache_parent(old_dentry);
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ramfs/
H A Dinode.c161 static int ramfs_link(struct dentry *old_dentry, struct inode * dir, struct dentry * dentry) argument
163 struct inode *inode = old_dentry->d_inode;
234 static int ramfs_rename(struct inode * old_dir, struct dentry *old_dentry, struct inode * new_dir,struct dentry *new_dentry) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/smbfs/
H A Ddir.c553 smb_rename(struct inode *old_dir, struct dentry *old_dentry, argument
562 if (old_dentry->d_inode)
563 smb_close(old_dentry->d_inode);
577 error = smb_proc_mv(old_dentry, new_dentry);
579 smb_renew_times(old_dentry);
H A Dproto.h20 extern int smb_proc_mv(struct dentry *old_dentry, struct dentry *new_dentry);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/coda/
H A Ddir.c35 static int coda_link(struct dentry *old_dentry, struct inode *dir_inode,
42 static int coda_rename(struct inode *old_inode, struct dentry *old_dentry,
447 static int coda_rename(struct inode *old_dir, struct dentry *old_dentry, argument
450 const char *old_name = old_dentry->d_name.name;
452 int old_length = old_dentry->d_name.len;
462 atomic_read(&old_dentry->d_count), atomic_read(&new_dentry->d_count));
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/bfs/
H A Ddir.c191 static int bfs_rename(struct inode * old_dir, struct dentry * old_dentry, argument
200 old_inode = old_dentry->d_inode;
205 old_dentry->d_name.name,
206 old_dentry->d_name.len, &old_de);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Daffs_fs.h50 extern int affs_rename(struct inode *old_dir, struct dentry *old_dentry,
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Daffs_fs.h50 extern int affs_rename(struct inode *old_dir, struct dentry *old_dentry,
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/reiserfs/
H A Dnamei.c886 static int reiserfs_link (struct dentry * old_dentry, struct inode * dir, struct dentry * dentry) argument
889 struct inode *inode = old_dentry->d_inode;
980 static int reiserfs_rename (struct inode * old_dir, struct dentry *old_dentry, argument
1002 old_inode = old_dentry->d_inode;
1008 retval = reiserfs_find_entry (old_dir, old_dentry->d_name.name, old_dentry->d_name.len,
1119 !entry_points_to_object (old_dentry->d_name.name,
1120 old_dentry->d_name.len,
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ncpfs/
H A Ddir.c205 ncp_force_rename(struct inode *old_dir, struct dentry* old_dentry, char *_old_name, argument
210 struct inode *old_inode = old_dentry->d_inode;
1020 static int ncp_rename(struct inode *old_dir, struct dentry *old_dentry, argument
1025 int old_len = old_dentry->d_name.len + 1;
1030 old_dentry->d_parent->d_name.name, old_dentry->d_name.name,
1037 ncp_age_dentry(server, old_dentry);
1041 old_dentry->d_name.name, old_len-1,
1057 error = ncp_force_rename(old_dir, old_dentry, __old_name,
1064 old_dentry
[all...]

Completed in 203 milliseconds

12