Home
last modified time | relevance | path

Searched refs:parent_ino (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/fs/xfs/scrub/ !
Dparent.c97 xfs_ino_t parent_ino) in xchk_parent_validate() argument
112 sc->ip->i_ino != parent_ino) in xchk_parent_validate()
118 if (sc->ip->i_ino == parent_ino) { in xchk_parent_validate()
138 error = xchk_iget(sc, parent_ino, &dp); in xchk_parent_validate()
184 xfs_ino_t parent_ino; in xchk_parent() local
206 &parent_ino); in xchk_parent()
209 if (!xfs_verify_dir_ino(mp, parent_ino)) { in xchk_parent()
218 error = xchk_parent_validate(sc, parent_ino); in xchk_parent()
/linux-6.6.21/fs/ceph/ !
Dexport.c23 u64 ino, parent_ino; member
32 u64 parent_ino; member
62 sfh->parent_ino = ceph_ino(dir); in ceph_encode_snapfh()
73 sfh->parent_ino = sfh->ino; in ceph_encode_snapfh()
111 cfh->parent_ino = ceph_ino(parent_inode); in ceph_encode_fh()
217 vino.ino = sfh->parent_ino; in __snapfh_to_dentry()
220 else if (sfh->ino == sfh->parent_ino) in __snapfh_to_dentry()
252 if (!want_parent && sfh->ino != sfh->parent_ino) { in __snapfh_to_dentry()
254 cpu_to_le64(sfh->parent_ino); in __snapfh_to_dentry()
285 vino.ino, vino.snap, sfh->parent_ino, sfh->hash, err); in __snapfh_to_dentry()
[all …]
Dsnap.c297 if (realm->parent_ino == parentino) in adjust_snap_realm_parent()
307 realm, realm->parent_ino, realm->parent, parentino, parent); in adjust_snap_realm_parent()
312 realm->parent_ino = parentino; in adjust_snap_realm_parent()
Dsuper.h920 u64 parent_ino; member
Dmds_client.c4520 realm->ino, realm->seq, realm->parent_ino); in encode_snap_realms()
4523 sr_rec.parent = cpu_to_le64(realm->parent_ino); in encode_snap_realms()
/linux-6.6.21/fs/xfs/ !
Dxfs_export.c85 fid->i32.parent_ino = XFS_I(parent)->i_ino; in xfs_fs_encode_fh()
93 fid64->parent_ino = XFS_I(parent)->i_ino; in xfs_fs_encode_fh()
207 inode = xfs_nfs_get_inode(sb, fid->i32.parent_ino, in xfs_fs_fh_to_parent()
211 inode = xfs_nfs_get_inode(sb, fid64->parent_ino, in xfs_fs_fh_to_parent()
Dxfs_export.h53 u64 parent_ino; member
/linux-6.6.21/fs/squashfs/ !
Dexport.c99 return squashfs_export_iget(sb, fid->i32.parent_ino); in squashfs_fh_to_parent()
106 unsigned int parent_ino = squashfs_i(inode)->parent; in squashfs_get_parent() local
108 return squashfs_export_iget(inode->i_sb, parent_ino); in squashfs_get_parent()
/linux-6.6.21/fs/hfsplus/ !
Dioctl.c43 cpu_to_be32(parent_ino(dentry)); in hfsplus_ioctl_bless()
54 cpu_to_be32(parent_ino(dentry)); in hfsplus_ioctl_bless()
/linux-6.6.21/fs/ntfs/ !
Dnamei.c294 unsigned long parent_ino; in ntfs_get_parent() local
329 parent_ino = MREF_LE(fn->parent_directory); in ntfs_get_parent()
334 return d_obtain_alias(ntfs_iget(vi->i_sb, parent_ino)); in ntfs_get_parent()
/linux-6.6.21/fs/nilfs2/ !
Dexport.h23 u64 parent_ino; member
Dnamei.c505 return nilfs_get_dentry(sb, fid->cno, fid->parent_ino, fid->parent_gen); in nilfs_fh_to_parent()
529 fid->parent_ino = parent->i_ino; in nilfs_encode_fh()
/linux-6.6.21/fs/ext4/ !
Dfast_commit.c1331 int parent_ino, dname_len, ino, inode_len; member
1348 darg->parent_ino = le32_to_cpu(fcd.fc_parent_ino); in tl_to_darg()
1375 darg.parent_ino, darg.dname_len); in ext4_fc_replay_unlink()
1386 old_parent = ext4_iget(sb, darg.parent_ino, in ext4_fc_replay_unlink()
1389 ext4_debug("Dir with inode %d not found", darg.parent_ino); in ext4_fc_replay_unlink()
1412 dir = ext4_iget(sb, darg->parent_ino, EXT4_IGET_NORMAL); in ext4_fc_replay_link_internal()
1414 ext4_debug("Dir with inode %d not found.", darg->parent_ino); in ext4_fc_replay_link_internal()
1471 darg.parent_ino, darg.dname_len); in ext4_fc_replay_link()
1631 darg.parent_ino, darg.dname_len); in ext4_fc_replay_create()
1651 dir = ext4_iget(sb, darg.parent_ino, EXT4_IGET_NORMAL); in ext4_fc_replay_create()
Dinline.c1337 unsigned int parent_ino; in ext4_inlinedir_to_tree() local
1372 parent_ino = le32_to_cpu(((struct ext4_dir_entry_2 *)dir_buf)->inode); in ext4_inlinedir_to_tree()
1390 fake.inode = cpu_to_le32(parent_ino); in ext4_inlinedir_to_tree()
1451 unsigned int offset, parent_ino; in ext4_read_inline_dir() local
1487 parent_ino = le32_to_cpu(((struct ext4_dir_entry_2 *)dir_buf)->inode); in ext4_read_inline_dir()
1552 if (!dir_emit(ctx, "..", 2, parent_ino, DT_DIR)) in ext4_read_inline_dir()
Dnamei.c2933 unsigned int parent_ino, int dotdot_real_len) in ext4_init_dot_dotdot() argument
2943 de->inode = cpu_to_le32(parent_ino); in ext4_init_dot_dotdot()
Dext4.h3598 unsigned int parent_ino, int dotdot_real_len);
/linux-6.6.21/include/linux/ !
Dexportfs.h123 u32 parent_ino; member
Dfs.h3265 static inline ino_t parent_ino(struct dentry *dentry) in parent_ino() function
3403 parent_ino(file->f_path.dentry), DT_DIR); in dir_emit_dotdot()
/linux-6.6.21/fs/btrfs/ !
Dsend.c313 u64 parent_ino; member
346 u64 parent_ino; member
2301 u64 *parent_ino, in __get_cur_name_and_parent() argument
2320 *parent_ino = nce->parent_ino; in __get_cur_name_and_parent()
2353 parent_ino, parent_gen, dest); in __get_cur_name_and_parent()
2356 parent_ino, parent_gen, dest); in __get_cur_name_and_parent()
2364 ret = did_overwrite_ref(sctx, *parent_ino, *parent_gen, ino, gen, in __get_cur_name_and_parent()
2388 nce->parent_ino = *parent_ino; in __get_cur_name_and_parent()
3390 u64 parent_ino, in add_pending_dir_move() argument
3405 pm->parent_ino = parent_ino; in add_pending_dir_move()
[all …]
Dinode.c6424 u64 parent_ino = btrfs_ino(parent_inode); in btrfs_add_link() local
6436 root->root_key.objectid, parent_ino, in btrfs_add_link()
6440 ino, parent_ino, index); in btrfs_add_link()
6479 root->root_key.objectid, parent_ino, in btrfs_add_link()
6487 err = btrfs_del_inode_ref(trans, root, name, ino, parent_ino, in btrfs_add_link()
/linux-6.6.21/fs/overlayfs/ !
Dreaddir.c648 u64 parent_ino; member
662 if (rdt->parent_ino && strcmp(name, "..") == 0) { in ovl_fill_real()
663 ino = rdt->parent_ino; in ovl_fill_real()
720 rdt.parent_ino = stat.ino; in ovl_iterate_real()
/linux-6.6.21/fs/jfs/ !
Dnamei.c1510 unsigned long parent_ino; in jfs_get_parent() local
1512 parent_ino = in jfs_get_parent()
1515 return d_obtain_alias(jfs_iget(dentry->d_sb, parent_ino)); in jfs_get_parent()
/linux-6.6.21/fs/exportfs/ !
Dexpfs.c375 fid->i32.parent_ino = parent->i_ino; in export_encode_fh()
/linux-6.6.21/fs/ !
Dlibfs.c1376 inode = get_inode(sb, fid->i32.parent_ino, in generic_fh_to_parent()
/linux-6.6.21/fs/f2fs/ !
Dfile.c183 *pino = parent_ino(dentry); in get_parent_ino()

12