Home
last modified time | relevance | path

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

/Linux-v6.1/fs/ceph/
Dexport.c22 u64 ino, parent_ino; member
31 u64 parent_ino; member
61 sfh->parent_ino = ceph_ino(dir); in ceph_encode_snapfh()
72 sfh->parent_ino = sfh->ino; in ceph_encode_snapfh()
110 cfh->parent_ino = ceph_ino(parent_inode); in ceph_encode_fh()
216 vino.ino = sfh->parent_ino; in __snapfh_to_dentry()
219 else if (sfh->ino == sfh->parent_ino) in __snapfh_to_dentry()
251 if (!want_parent && sfh->ino != sfh->parent_ino) { in __snapfh_to_dentry()
253 cpu_to_le64(sfh->parent_ino); in __snapfh_to_dentry()
284 vino.ino, vino.snap, sfh->parent_ino, sfh->hash, err); in __snapfh_to_dentry()
[all …]
Dsnap.c296 if (realm->parent_ino == parentino) in adjust_snap_realm_parent()
306 realm, realm->parent_ino, realm->parent, parentino, parent); in adjust_snap_realm_parent()
311 realm->parent_ino = parentino; in adjust_snap_realm_parent()
Dsuper.h878 u64 parent_ino; member
Dmds_client.c4108 realm->ino, realm->seq, realm->parent_ino); in encode_snap_realms()
4111 sr_rec.parent = cpu_to_le64(realm->parent_ino); in encode_snap_realms()
/Linux-v6.1/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()
193 inode = xfs_nfs_get_inode(sb, fid->i32.parent_ino, in xfs_fs_fh_to_parent()
197 inode = xfs_nfs_get_inode(sb, fid64->parent_ino, in xfs_fs_fh_to_parent()
Dxfs_export.h53 u64 parent_ino; member
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/fs/ext4/
Dfast_commit.c1336 int parent_ino, dname_len, ino, inode_len; member
1347 darg->parent_ino = le32_to_cpu(fcd.fc_parent_ino); in tl_to_darg()
1372 darg.parent_ino, darg.dname_len); in ext4_fc_replay_unlink()
1383 old_parent = ext4_iget(sb, darg.parent_ino, in ext4_fc_replay_unlink()
1386 ext4_debug("Dir with inode %d not found", darg.parent_ino); in ext4_fc_replay_unlink()
1409 dir = ext4_iget(sb, darg->parent_ino, EXT4_IGET_NORMAL); in ext4_fc_replay_link_internal()
1411 ext4_debug("Dir with inode %d not found.", darg->parent_ino); in ext4_fc_replay_link_internal()
1468 darg.parent_ino, darg.dname_len); in ext4_fc_replay_link()
1628 darg.parent_ino, darg.dname_len); in ext4_fc_replay_create()
1648 dir = ext4_iget(sb, darg.parent_ino, EXT4_IGET_NORMAL); in ext4_fc_replay_create()
Dinline.c1355 unsigned int parent_ino; in ext4_inlinedir_to_tree() local
1390 parent_ino = le32_to_cpu(((struct ext4_dir_entry_2 *)dir_buf)->inode); in ext4_inlinedir_to_tree()
1408 fake.inode = cpu_to_le32(parent_ino); in ext4_inlinedir_to_tree()
1469 unsigned int offset, parent_ino; in ext4_read_inline_dir() local
1505 parent_ino = le32_to_cpu(((struct ext4_dir_entry_2 *)dir_buf)->inode); in ext4_read_inline_dir()
1570 if (!dir_emit(ctx, "..", 2, parent_ino, DT_DIR)) in ext4_read_inline_dir()
Dnamei.c2908 unsigned int parent_ino, int dotdot_real_len) in ext4_init_dot_dotdot() argument
2918 de->inode = cpu_to_le32(parent_ino); in ext4_init_dot_dotdot()
Dext4.h3617 unsigned int parent_ino, int dotdot_real_len);
/Linux-v6.1/fs/btrfs/
Dsend.c254 u64 parent_ino; member
293 u64 parent_ino; member
2173 u64 *parent_ino, in __get_cur_name_and_parent() argument
2200 *parent_ino = nce->parent_ino; in __get_cur_name_and_parent()
2233 parent_ino, parent_gen, dest); in __get_cur_name_and_parent()
2236 parent_ino, parent_gen, dest); in __get_cur_name_and_parent()
2244 ret = did_overwrite_ref(sctx, *parent_ino, *parent_gen, ino, gen, in __get_cur_name_and_parent()
2268 nce->parent_ino = *parent_ino; in __get_cur_name_and_parent()
3135 u64 parent_ino, in add_pending_dir_move() argument
3150 pm->parent_ino = parent_ino; in add_pending_dir_move()
[all …]
Dinode.c6540 u64 parent_ino = btrfs_ino(parent_inode); in btrfs_add_link() local
6552 root->root_key.objectid, parent_ino, in btrfs_add_link()
6556 parent_ino, index); in btrfs_add_link()
6597 root->root_key.objectid, parent_ino, in btrfs_add_link()
6606 ino, parent_ino, &local_index); in btrfs_add_link()
/Linux-v6.1/include/linux/
Dexportfs.h123 u32 parent_ino; member
Dfs.h3445 static inline ino_t parent_ino(struct dentry *dentry) in parent_ino() function
3575 parent_ino(file->f_path.dentry), DT_DIR); in dir_emit_dotdot()
/Linux-v6.1/fs/overlayfs/
Dreaddir.c645 u64 parent_ino; member
659 if (rdt->parent_ino && strcmp(name, "..") == 0) { in ovl_fill_real()
660 ino = rdt->parent_ino; in ovl_fill_real()
716 rdt.parent_ino = stat.ino; in ovl_iterate_real()
/Linux-v6.1/fs/jfs/
Dnamei.c1505 unsigned long parent_ino; in jfs_get_parent() local
1507 parent_ino = in jfs_get_parent()
1510 return d_obtain_alias(jfs_iget(dentry->d_sb, parent_ino)); in jfs_get_parent()
/Linux-v6.1/fs/exportfs/
Dexpfs.c375 fid->i32.parent_ino = parent->i_ino; in export_encode_fh()
/Linux-v6.1/fs/
Dlibfs.c1088 inode = get_inode(sb, fid->i32.parent_ino, in generic_fh_to_parent()
/Linux-v6.1/fs/f2fs/
Dfile.c187 *pino = parent_ino(dentry); in get_parent_ino()