Home
last modified time | relevance | path

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

/Linux-v5.10/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()
204 vino.ino = sfh->parent_ino; in __snapfh_to_dentry()
207 else if (sfh->ino == sfh->parent_ino) in __snapfh_to_dentry()
230 if (!want_parent && sfh->ino != sfh->parent_ino) { in __snapfh_to_dentry()
232 cpu_to_le64(sfh->parent_ino); in __snapfh_to_dentry()
262 vino.ino, vino.snap, sfh->parent_ino, sfh->hash, err); in __snapfh_to_dentry()
[all …]
Dsnap.c272 if (realm->parent_ino == parentino) in adjust_snap_realm_parent()
282 realm->ino, realm, realm->parent_ino, realm->parent, in adjust_snap_realm_parent()
288 realm->parent_ino = parentino; in adjust_snap_realm_parent()
Dsuper.h840 u64 parent_ino; member
Dmds_client.c3879 realm->ino, realm->seq, realm->parent_ino); in encode_snap_realms()
3882 sr_rec.parent = cpu_to_le64(realm->parent_ino); in encode_snap_realms()
/Linux-v5.10/fs/squashfs/
Dexport.c94 return squashfs_export_iget(sb, fid->i32.parent_ino); in squashfs_fh_to_parent()
101 unsigned int parent_ino = squashfs_i(inode)->parent; in squashfs_get_parent() local
103 return squashfs_export_iget(inode->i_sb, parent_ino); in squashfs_get_parent()
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/fs/nilfs2/
Dexport.h23 u64 parent_ino; member
Dnamei.c503 return nilfs_get_dentry(sb, fid->cno, fid->parent_ino, fid->parent_gen); in nilfs_fh_to_parent()
527 fid->parent_ino = parent->i_ino; in nilfs_encode_fh()
/Linux-v5.10/fs/ext4/
Dfast_commit.c713 int parent_ino, int ino, int dlen, in ext4_fc_add_dentry_tlv() argument
725 fcd.fc_parent_ino = cpu_to_le32(parent_ino); in ext4_fc_add_dentry_tlv()
1237 int parent_ino, dname_len, ino, inode_len; member
1248 darg->parent_ino = le32_to_cpu(fcd->fc_parent_ino); in tl_to_darg()
1266 darg.parent_ino, darg.dname_len); in ext4_fc_replay_unlink()
1277 old_parent = ext4_iget(sb, darg.parent_ino, in ext4_fc_replay_unlink()
1280 jbd_debug(1, "Dir with inode %d not found", darg.parent_ino); in ext4_fc_replay_unlink()
1303 dir = ext4_iget(sb, darg->parent_ino, EXT4_IGET_NORMAL); in ext4_fc_replay_link_internal()
1305 jbd_debug(1, "Dir with inode %d not found.", darg->parent_ino); in ext4_fc_replay_link_internal()
1361 darg.parent_ino, darg.dname_len); in ext4_fc_replay_link()
[all …]
Dinline.c1336 unsigned int parent_ino; in ext4_inlinedir_to_tree() local
1371 parent_ino = le32_to_cpu(((struct ext4_dir_entry_2 *)dir_buf)->inode); in ext4_inlinedir_to_tree()
1389 fake.inode = cpu_to_le32(parent_ino); in ext4_inlinedir_to_tree()
1445 unsigned int offset, parent_ino; in ext4_read_inline_dir() local
1481 parent_ino = le32_to_cpu(((struct ext4_dir_entry_2 *)dir_buf)->inode); in ext4_read_inline_dir()
1546 if (!dir_emit(ctx, "..", 2, parent_ino, DT_DIR)) in ext4_read_inline_dir()
Dnamei.c2717 unsigned int parent_ino, int dotdot_real_len) in ext4_init_dot_dotdot() argument
2727 de->inode = cpu_to_le32(parent_ino); in ext4_init_dot_dotdot()
Dext4.h3474 unsigned int parent_ino, int dotdot_real_len);
/Linux-v5.10/include/linux/
Dexportfs.h123 u32 parent_ino; member
Dfs.h3282 static inline ino_t parent_ino(struct dentry *dentry) in parent_ino() function
3417 parent_ino(file->f_path.dentry), DT_DIR) == 0; in dir_emit_dotdot()
/Linux-v5.10/fs/btrfs/
Dsend.c224 u64 parent_ino; member
262 u64 parent_ino; member
2145 u64 *parent_ino, in __get_cur_name_and_parent() argument
2166 *parent_ino = nce->parent_ino; in __get_cur_name_and_parent()
2199 parent_ino, parent_gen, dest); in __get_cur_name_and_parent()
2202 parent_ino, parent_gen, dest); in __get_cur_name_and_parent()
2210 ret = did_overwrite_ref(sctx, *parent_ino, *parent_gen, ino, gen, in __get_cur_name_and_parent()
2234 nce->parent_ino = *parent_ino; in __get_cur_name_and_parent()
3091 u64 parent_ino, in add_pending_dir_move() argument
3106 pm->parent_ino = parent_ino; in add_pending_dir_move()
[all …]
Dinode.c6150 u64 parent_ino = btrfs_ino(parent_inode); in btrfs_add_link() local
6162 root->root_key.objectid, parent_ino, in btrfs_add_link()
6166 parent_ino, index); in btrfs_add_link()
6207 root->root_key.objectid, parent_ino, in btrfs_add_link()
6216 ino, parent_ino, &local_index); in btrfs_add_link()
/Linux-v5.10/fs/overlayfs/
Dreaddir.c655 u64 parent_ino; member
669 if (rdt->parent_ino && strcmp(name, "..") == 0) { in ovl_fill_real()
670 ino = rdt->parent_ino; in ovl_fill_real()
726 rdt.parent_ino = stat.ino; in ovl_iterate_real()
/Linux-v5.10/fs/nfsd/
Dnfsfh.c258 sfid.i32.parent_ino = fh->ofh_dirino; in nfsd_set_fh_dentry()
586 fhp->fh_handle.ofh_dirino = ino_t_to_u32(parent_ino(dentry)); in fh_compose()
/Linux-v5.10/fs/jfs/
Dnamei.c1504 unsigned long parent_ino; in jfs_get_parent() local
1506 parent_ino = in jfs_get_parent()
1509 return d_obtain_alias(jfs_iget(dentry->d_sb, parent_ino)); in jfs_get_parent()
/Linux-v5.10/fs/exportfs/
Dexpfs.c376 fid->i32.parent_ino = parent->i_ino; in export_encode_fh()
/Linux-v5.10/fs/
Dlibfs.c1048 inode = get_inode(sb, fid->i32.parent_ino, in generic_fh_to_parent()
/Linux-v5.10/fs/f2fs/
Dfile.c181 *pino = parent_ino(dentry); in get_parent_ino()