/linux-6.6.21/fs/sysv/ |
D | namei.c | 219 struct sysv_dir_entry * new_de; in sysv_rename() local 226 new_de = sysv_find_entry(new_dentry, &new_page); in sysv_rename() 227 if (!new_de) in sysv_rename() 229 err = sysv_set_link(new_de, new_page, old_inode); in sysv_rename() 230 unmap_and_put_page(new_page, new_de); in sysv_rename()
|
/linux-6.6.21/fs/ext2/ |
D | namei.c | 354 struct ext2_dir_entry_2 *new_de; in ext2_rename() local 360 new_de = ext2_find_entry(new_dir, &new_dentry->d_name, in ext2_rename() 362 if (IS_ERR(new_de)) { in ext2_rename() 363 err = PTR_ERR(new_de); in ext2_rename() 366 err = ext2_set_link(new_dir, new_de, new_page, old_inode, true); in ext2_rename() 367 ext2_put_page(new_page, new_de); in ext2_rename()
|
/linux-6.6.21/fs/minix/ |
D | namei.c | 206 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 err = minix_set_link(new_de, new_page, old_inode); in minix_rename()
|
/linux-6.6.21/fs/ufs/ |
D | namei.c | 274 struct ufs_dir_entry *new_de; in ufs_rename() local 281 new_de = ufs_find_entry(new_dir, &new_dentry->d_name, &new_page); in ufs_rename() 282 if (!new_de) in ufs_rename() 284 ufs_set_link(new_dir, new_de, new_page, old_inode, 1); in ufs_rename()
|
/linux-6.6.21/fs/ntfs3/ |
D | namei.c | 263 struct NTFS_DE *de, *new_de; in ntfs_rename() local 319 new_de = de; in ntfs_rename() 322 new_de = Add2Ptr(de, 2048); in ntfs_rename() 323 err = fill_name_de(sbi, new_de, &new_dentry->d_name, NULL); in ntfs_rename() 334 err = ni_rename(dir_ni, new_dir_ni, ni, de, new_de, &is_bad); in ntfs_rename()
|
D | index.c | 1569 const struct NTFS_DE *new_de, in indx_insert_into_root() argument 1600 new_de_size = le16_to_cpu(new_de->size); in indx_insert_into_root() 1612 e = hdr_insert_de(indx, hdr, new_de, root_de, ctx); in indx_insert_into_root() 1745 err = indx_insert_entry(indx, ni, new_de, ctx, fnd, undo); in indx_insert_into_root() 1753 e = hdr_insert_de(indx, hdr, new_de, NULL, ctx); in indx_insert_into_root() 1782 struct INDEX_ROOT *root, const struct NTFS_DE *new_de, in indx_insert_into_buffer() argument 1800 e = hdr_insert_de(indx, hdr1, new_de, e, ctx); in indx_insert_into_buffer() 1877 (*indx->cmp)(new_de + 1, le16_to_cpu(new_de->key_size), in indx_insert_into_buffer() 1882 new_de, NULL, ctx); in indx_insert_into_buffer() 1929 const struct NTFS_DE *new_de, const void *ctx, in indx_insert_entry() argument [all …]
|
D | inode.c | 1236 struct NTFS_DE *e, *new_de = NULL; in ntfs_create_inode() local 1312 new_de = __getname(); in ntfs_create_inode() 1313 if (!new_de) { in ntfs_create_inode() 1389 err = fill_name_de(sbi, new_de, name, uni); in ntfs_create_inode() 1393 mi_get_ref(&ni->mi, &new_de->ref); in ntfs_create_inode() 1395 fname = (struct ATTR_FILE_NAME *)(new_de + 1); in ntfs_create_inode() 1410 dsize = le16_to_cpu(new_de->key_size); in ntfs_create_inode() 1598 &new_de->ref); in ntfs_create_inode() 1669 err = indx_insert_entry(&dir_ni->dir, dir_ni, new_de, sbi, fnd, 0); in ntfs_create_inode() 1692 ntfs_remove_reparse(sbi, IO_REPARSE_TAG_SYMLINK, &new_de->ref); in ntfs_create_inode() [all …]
|
D | ntfs_fs.h | 579 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de, 691 const struct NTFS_DE *new_de, const void *param,
|
D | frecord.c | 3066 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de, in ni_rename() argument 3087 err = ni_add_name(new_dir_ni, ni, new_de); in ni_rename() 3090 if (err && ni_remove_name(new_dir_ni, ni, new_de, &de2, &undo)) in ni_rename()
|
/linux-6.6.21/fs/reiserfs/ |
D | namei.c | 1323 struct reiserfs_dir_entry old_de, new_de, dot_dot_de; in reiserfs_rename() local 1469 new_de.de_gen_number_bit_string = NULL; in reiserfs_rename() 1473 &new_de); in reiserfs_rename() 1490 reiserfs_prepare_for_journal(old_inode->i_sb, new_de.de_bh, 1); in reiserfs_rename() 1531 &new_de, new_dentry_inode) || in reiserfs_rename() 1537 new_de.de_bh); in reiserfs_rename() 1556 new_de.de_bh); in reiserfs_rename() 1576 mark_de_visible(new_de.de_deh + new_de.de_entry_num); in reiserfs_rename() 1577 set_ino_in_dir_entry(&new_de, INODE_PKEY(old_inode)); in reiserfs_rename() 1578 journal_mark_dirty(&th, new_de.de_bh); in reiserfs_rename()
|
/linux-6.6.21/fs/nilfs2/ |
D | namei.c | 378 struct nilfs_dir_entry *new_de; in nilfs_rename() local 385 new_de = nilfs_find_entry(new_dir, &new_dentry->d_name, &new_page); in nilfs_rename() 386 if (!new_de) in nilfs_rename() 388 nilfs_set_link(new_dir, new_de, new_page, old_inode); in nilfs_rename()
|
/linux-6.6.21/fs/hpfs/ |
D | dnode.c | 239 struct hpfs_dirent *new_de, dnode_secno down_ptr) in hpfs_add_to_dnode() argument 278 copy_de(de=hpfs_add_de(i->i_sb, d, name, namelen, down_ptr), new_de); in hpfs_add_to_dnode() 301 copy_de(de = hpfs_add_de(i->i_sb, nd, name, namelen, down_ptr), new_de); in hpfs_add_to_dnode() 319 copy_de(new_de = &nde, de); in hpfs_add_to_dnode() 389 struct hpfs_dirent *new_de) in hpfs_add_dirent() argument 423 c = hpfs_add_to_dnode(i, dno, name, namelen, new_de, 0); in hpfs_add_dirent()
|
/linux-6.6.21/fs/bfs/ |
D | dir.c | 208 struct bfs_dirent *old_de, *new_de; in bfs_rename() local 230 new_bh = bfs_find_entry(new_dir, &new_dentry->d_name, &new_de); in bfs_rename()
|