Home
last modified time | relevance | path

Searched refs:dir_de (Results 1 – 5 of 5) sorted by relevance

/linux/fs/sysv/
H A Dnamei.c198 struct sysv_dir_entry * dir_de = NULL; in sysv_rename() local
212 dir_de = sysv_dotdot(old_inode, &dir_folio); in sysv_rename()
213 if (!dir_de) in sysv_rename()
222 if (dir_de && !sysv_empty_dir(new_inode)) in sysv_rename()
234 if (dir_de) in sysv_rename()
241 if (dir_de) in sysv_rename()
251 if (dir_de) { in sysv_rename()
252 err = sysv_set_link(dir_de, dir_folio, new_dir); in sysv_rename()
258 if (dir_de) in sysv_rename()
259 folio_release_kmap(dir_folio, dir_de); in sysv_rename()
/linux/fs/ufs/
H A Dnamei.c253 struct ufs_dir_entry * dir_de = NULL; in ufs_rename() local
267 dir_de = ufs_dotdot(old_inode, &dir_folio); in ufs_rename()
268 if (!dir_de) in ufs_rename()
277 if (dir_de && !ufs_empty_dir(new_inode)) in ufs_rename()
286 if (dir_de) in ufs_rename()
293 if (dir_de) in ufs_rename()
306 if (dir_de) { in ufs_rename()
308 ufs_set_link(old_inode, dir_de, dir_folio, new_dir, 0); in ufs_rename()
310 folio_release_kmap(dir_folio, dir_de); in ufs_rename()
317 if (dir_de) in ufs_rename()
[all …]
/linux/fs/minix/
H A Dnamei.c184 struct minix_dir_entry * dir_de = NULL; in minix_rename() local
198 dir_de = minix_dotdot(old_inode, &dir_folio); in minix_rename()
199 if (!dir_de) in minix_rename()
208 if (dir_de && !minix_empty_dir(new_inode)) in minix_rename()
220 if (dir_de) in minix_rename()
227 if (dir_de) in minix_rename()
237 if (dir_de) { in minix_rename()
238 err = minix_set_link(dir_de, dir_folio, new_dir); in minix_rename()
243 if (dir_de) in minix_rename()
244 folio_release_kmap(dir_folio, dir_de); in minix_rename()
/linux/fs/nilfs2/
H A Dnamei.c364 struct nilfs_dir_entry *dir_de = NULL; in nilfs_rename() local
385 dir_de = nilfs_dotdot(old_inode, &dir_folio); in nilfs_rename()
386 if (!dir_de) in nilfs_rename()
395 if (dir_de && !nilfs_empty_dir(new_inode)) in nilfs_rename()
408 if (dir_de) in nilfs_rename()
416 if (dir_de) { in nilfs_rename()
430 if (dir_de) { in nilfs_rename()
431 nilfs_set_link(old_inode, dir_de, dir_folio, new_dir); in nilfs_rename()
432 folio_release_kmap(dir_folio, dir_de); in nilfs_rename()
444 if (dir_de) in nilfs_rename()
[all …]
/linux/fs/ext2/
H A Dnamei.c325 struct ext2_dir_entry_2 * dir_de = NULL; in ext2_rename() local
348 dir_de = ext2_dotdot(old_inode, &dir_folio); in ext2_rename()
349 if (!dir_de) in ext2_rename()
393 err = ext2_set_link(old_inode, dir_de, dir_folio, in ext2_rename()
399 if (dir_de) in ext2_rename()
400 folio_release_kmap(dir_folio, dir_de); in ext2_rename()