Home
last modified time | relevance | path

Searched refs:new_de (Results 1 – 11 of 11) sorted by relevance

/linux-2.6.39/fs/minix/
Dnamei.c206 struct minix_dir_entry * new_de; in minix_rename() local
213 new_de = minix_find_entry(new_dentry, &new_page); in minix_rename()
214 if (!new_de) in minix_rename()
216 minix_set_link(new_de, new_page, old_inode); in minix_rename()
/linux-2.6.39/fs/sysv/
Dnamei.c238 struct sysv_dir_entry * new_de; in sysv_rename() local
245 new_de = sysv_find_entry(new_dentry, &new_page); in sysv_rename()
246 if (!new_de) in sysv_rename()
248 sysv_set_link(new_de, new_page, old_inode); in sysv_rename()
/linux-2.6.39/fs/exofs/
Dnamei.c265 struct exofs_dir_entry *new_de; in exofs_rename() local
272 new_de = exofs_find_entry(new_dir, new_dentry, &new_page); in exofs_rename()
273 if (!new_de) in exofs_rename()
275 err = exofs_set_link(new_dir, new_de, new_page, old_inode); in exofs_rename()
/linux-2.6.39/fs/ufs/
Dnamei.c298 struct ufs_dir_entry *new_de; in ufs_rename() local
305 new_de = ufs_find_entry(new_dir, &new_dentry->d_name, &new_page); in ufs_rename()
306 if (!new_de) in ufs_rename()
308 ufs_set_link(new_dir, new_de, new_page, old_inode); in ufs_rename()
/linux-2.6.39/fs/ext2/
Dnamei.c337 struct ext2_dir_entry_2 *new_de; in ext2_rename() local
344 new_de = ext2_find_entry (new_dir, &new_dentry->d_name, &new_page); in ext2_rename()
345 if (!new_de) in ext2_rename()
347 ext2_set_link(new_dir, new_de, new_page, old_inode, 1); in ext2_rename()
/linux-2.6.39/fs/reiserfs/
Dnamei.c1220 struct reiserfs_dir_entry old_de, new_de, dot_dot_de; in reiserfs_rename() local
1347 new_de.de_gen_number_bit_string = NULL; in reiserfs_rename()
1351 &new_de); in reiserfs_rename()
1364 reiserfs_prepare_for_journal(old_inode->i_sb, new_de.de_bh, 1); in reiserfs_rename()
1401 &new_de, new_dentry_inode) || in reiserfs_rename()
1407 new_de.de_bh); in reiserfs_rename()
1426 new_de.de_bh); in reiserfs_rename()
1444 mark_de_visible(new_de.de_deh + new_de.de_entry_num); in reiserfs_rename()
1445 set_ino_in_dir_entry(&new_de, INODE_PKEY(old_inode)); in reiserfs_rename()
1446 journal_mark_dirty(&th, old_dir->i_sb, new_de.de_bh); in reiserfs_rename()
/linux-2.6.39/fs/nilfs2/
Dnamei.c390 struct nilfs_dir_entry *new_de; in nilfs_rename() local
397 new_de = nilfs_find_entry(new_dir, &new_dentry->d_name, &new_page); in nilfs_rename()
398 if (!new_de) in nilfs_rename()
400 nilfs_set_link(new_dir, new_de, new_page, old_inode); in nilfs_rename()
/linux-2.6.39/fs/bfs/
Ddir.c223 struct bfs_dirent *old_de, *new_de; in bfs_rename() local
246 new_dentry->d_name.len, &new_de); in bfs_rename()
/linux-2.6.39/fs/hpfs/
Ddnode.c228 struct hpfs_dirent *new_de, dnode_secno down_ptr) in hpfs_add_to_dnode() argument
267 copy_de(de=hpfs_add_de(i->i_sb, d, name, namelen, down_ptr), new_de); in hpfs_add_to_dnode()
290 copy_de(de = hpfs_add_de(i->i_sb, nd, name, namelen, down_ptr), new_de); in hpfs_add_to_dnode()
308 copy_de(new_de = &nde, de); in hpfs_add_to_dnode()
378 struct hpfs_dirent *new_de) in hpfs_add_dirent() argument
413 c = hpfs_add_to_dnode(i, dno, name, namelen, new_de, 0); in hpfs_add_dirent()
/linux-2.6.39/fs/ext3/
Dnamei.c2296 struct ext3_dir_entry_2 * old_de, * new_de; in ext3_rename() local
2330 new_bh = ext3_find_entry(new_dir, &new_dentry->d_name, &new_de); in ext3_rename()
2363 new_de->inode = cpu_to_le32(old_inode->i_ino); in ext3_rename()
2366 new_de->file_type = old_de->file_type; in ext3_rename()
/linux-2.6.39/fs/ext4/
Dnamei.c2350 struct ext4_dir_entry_2 *old_de, *new_de; in ext4_rename() local
2384 new_bh = ext4_find_entry(new_dir, &new_dentry->d_name, &new_de); in ext4_rename()
2422 new_de->inode = cpu_to_le32(old_inode->i_ino); in ext4_rename()
2425 new_de->file_type = old_de->file_type; in ext4_rename()