Home
last modified time | relevance | path

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

/linux-6.1.9/fs/sysv/
Dnamei.c220 struct sysv_dir_entry * new_de; in sysv_rename() local
227 new_de = sysv_find_entry(new_dentry, &new_page); in sysv_rename()
228 if (!new_de) in sysv_rename()
230 sysv_set_link(new_de, new_page, old_inode); in sysv_rename()
/linux-6.1.9/fs/ntfs3/
Dnamei.c242 struct NTFS_DE *de, *new_de; in ntfs_rename() local
295 new_de = de; in ntfs_rename()
298 new_de = Add2Ptr(de, 2048); in ntfs_rename()
299 err = fill_name_de(sbi, new_de, &new_dentry->d_name, NULL); in ntfs_rename()
308 err = ni_rename(dir_ni, new_dir_ni, ni, de, new_de, &is_bad); in ntfs_rename()
Dinode.c1199 struct NTFS_DE *e, *new_de = NULL; in ntfs_create_inode() local
1270 new_de = __getname(); in ntfs_create_inode()
1271 if (!new_de) { in ntfs_create_inode()
1344 err = fill_name_de(sbi, new_de, name, uni); in ntfs_create_inode()
1348 mi_get_ref(&ni->mi, &new_de->ref); in ntfs_create_inode()
1350 fname = (struct ATTR_FILE_NAME *)(new_de + 1); in ntfs_create_inode()
1358 dsize = le16_to_cpu(new_de->key_size); in ntfs_create_inode()
1543 &new_de->ref); in ntfs_create_inode()
1557 err = indx_insert_entry(&dir_ni->dir, dir_ni, new_de, sbi, fnd, 0); in ntfs_create_inode()
1623 indx_delete_entry(&dir_ni->dir, dir_ni, new_de + 1, in ntfs_create_inode()
[all …]
Dindex.c1469 const struct NTFS_DE *new_de, in indx_insert_into_root() argument
1500 new_de_size = le16_to_cpu(new_de->size); in indx_insert_into_root()
1512 e = hdr_insert_de(indx, hdr, new_de, root_de, ctx); in indx_insert_into_root()
1645 err = indx_insert_entry(indx, ni, new_de, ctx, fnd, undo); in indx_insert_into_root()
1653 e = hdr_insert_de(indx, hdr, new_de, NULL, ctx); in indx_insert_into_root()
1682 struct INDEX_ROOT *root, const struct NTFS_DE *new_de, in indx_insert_into_buffer() argument
1699 e = hdr_insert_de(indx, hdr1, new_de, e, ctx); in indx_insert_into_buffer()
1769 (*indx->cmp)(new_de + 1, le16_to_cpu(new_de->key_size), in indx_insert_into_buffer()
1774 new_de, NULL, ctx); in indx_insert_into_buffer()
1815 const struct NTFS_DE *new_de, const void *ctx, in indx_insert_entry() argument
[all …]
Dntfs_fs.h571 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de,
679 const struct NTFS_DE *new_de, const void *param,
Dfrecord.c3050 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de, in ni_rename() argument
3071 err = ni_add_name(new_dir_ni, ni, new_de); in ni_rename()
3074 if (err && ni_remove_name(new_dir_ni, ni, new_de, &de2, &undo)) in ni_rename()
/linux-6.1.9/fs/minix/
Dnamei.c216 struct minix_dir_entry * new_de; in minix_rename() local
223 new_de = minix_find_entry(new_dentry, &new_page); in minix_rename()
224 if (!new_de) in minix_rename()
226 minix_set_link(new_de, new_page, old_inode); in minix_rename()
/linux-6.1.9/fs/ext2/
Dnamei.c361 struct ext2_dir_entry_2 *new_de; in ext2_rename() local
367 new_de = ext2_find_entry(new_dir, &new_dentry->d_name, in ext2_rename()
369 if (IS_ERR(new_de)) { in ext2_rename()
370 err = PTR_ERR(new_de); in ext2_rename()
373 ext2_set_link(new_dir, new_de, new_page, page_addr, old_inode, 1); in ext2_rename()
/linux-6.1.9/fs/ufs/
Dnamei.c274 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.1.9/fs/reiserfs/
Dnamei.c1324 struct reiserfs_dir_entry old_de, new_de, dot_dot_de; in reiserfs_rename() local
1468 new_de.de_gen_number_bit_string = NULL; in reiserfs_rename()
1472 &new_de); in reiserfs_rename()
1489 reiserfs_prepare_for_journal(old_inode->i_sb, new_de.de_bh, 1); in reiserfs_rename()
1530 &new_de, new_dentry_inode) || in reiserfs_rename()
1536 new_de.de_bh); in reiserfs_rename()
1555 new_de.de_bh); in reiserfs_rename()
1575 mark_de_visible(new_de.de_deh + new_de.de_entry_num); in reiserfs_rename()
1576 set_ino_in_dir_entry(&new_de, INODE_PKEY(old_inode)); in reiserfs_rename()
1577 journal_mark_dirty(&th, new_de.de_bh); in reiserfs_rename()
/linux-6.1.9/fs/nilfs2/
Dnamei.c378 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.1.9/fs/hpfs/
Ddnode.c239 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.1.9/fs/bfs/
Ddir.c208 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()