Home
last modified time | relevance | path

Searched refs:old_de (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/fs/sysv/
Dnamei.c200 struct sysv_dir_entry * old_de; in sysv_rename() local
206 old_de = sysv_find_entry(old_dentry, &old_page); in sysv_rename()
207 if (!old_de) in sysv_rename()
245 err = sysv_delete_entry(old_de, old_page); in sysv_rename()
261 unmap_and_put_page(old_page, old_de); in sysv_rename()
/linux-6.6.21/fs/ext2/
Dnamei.c327 struct ext2_dir_entry_2 * old_de; in ext2_rename() local
341 old_de = ext2_find_entry(old_dir, &old_dentry->d_name, &old_page); in ext2_rename()
342 if (IS_ERR(old_de)) in ext2_rename()
343 return PTR_ERR(old_de); in ext2_rename()
389 err = ext2_delete_entry(old_de, old_page); in ext2_rename()
401 ext2_put_page(old_page, old_de); in ext2_rename()
/linux-6.6.21/fs/minix/
Dnamei.c187 struct minix_dir_entry * old_de; in minix_rename() local
193 old_de = minix_find_entry(old_dentry, &old_page); in minix_rename()
194 if (!old_de) in minix_rename()
233 err = minix_delete_entry(old_de, old_page); in minix_rename()
/linux-6.6.21/fs/reiserfs/
Dnamei.c1323 struct reiserfs_dir_entry old_de, new_de, dot_dot_de; in reiserfs_rename() local
1361 old_de.de_gen_number_bit_string = NULL; in reiserfs_rename()
1366 &old_de); in reiserfs_rename()
1373 if (retval != NAME_FOUND || old_de.de_objectid != old_inode->i_ino) { in reiserfs_rename()
1455 search_by_entry_key(new_dir->i_sb, &old_de.de_entry_key, in reiserfs_rename()
1457 &old_de)) != NAME_FOUND) { in reiserfs_rename()
1466 reiserfs_prepare_for_journal(old_inode->i_sb, old_de.de_bh, 1); in reiserfs_rename()
1535 &old_de, old_inode)) { in reiserfs_rename()
1539 old_de.de_bh); in reiserfs_rename()
1553 old_de.de_bh); in reiserfs_rename()
[all …]
/linux-6.6.21/fs/ufs/
Dnamei.c255 struct ufs_dir_entry *old_de; in ufs_rename() local
261 old_de = ufs_find_entry(old_dir, &old_dentry->d_name, &old_page); in ufs_rename()
262 if (!old_de) in ufs_rename()
303 ufs_delete_entry(old_dir, old_de, old_page); in ufs_rename()
/linux-6.6.21/fs/bfs/
Ddir.c208 struct bfs_dirent *old_de, *new_de; in bfs_rename() local
223 old_bh = bfs_find_entry(old_dir, &old_dentry->d_name, &old_de); in bfs_rename()
225 if (!old_bh || (le16_to_cpu(old_de->ino) != old_inode->i_ino)) in bfs_rename()
242 old_de->ino = 0; in bfs_rename()
/linux-6.6.21/fs/nilfs2/
Dnamei.c353 struct nilfs_dir_entry *old_de; in nilfs_rename() local
365 old_de = nilfs_find_entry(old_dir, &old_dentry->d_name, &old_page); in nilfs_rename()
366 if (!old_de) in nilfs_rename()
411 nilfs_delete_entry(old_de, old_page); in nilfs_rename()