Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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()
210 vino.ino = sfh->parent_ino; in __snapfh_to_dentry()
213 else if (sfh->ino == sfh->parent_ino) in __snapfh_to_dentry()
240 if (!want_parent && sfh->ino != sfh->parent_ino) { in __snapfh_to_dentry()
242 cpu_to_le64(sfh->parent_ino); in __snapfh_to_dentry()
272 vino.ino, vino.snap, sfh->parent_ino, sfh->hash, err); in __snapfh_to_dentry()
[all …]
Dsnap.c286 if (realm->parent_ino == parentino) in adjust_snap_realm_parent()
296 realm->ino, realm, realm->parent_ino, realm->parent, in adjust_snap_realm_parent()
302 realm->parent_ino = parentino; in adjust_snap_realm_parent()
Dsuper.h862 u64 parent_ino; member
Dmds_client.c3910 realm->ino, realm->seq, realm->parent_ino); in encode_snap_realms()
3913 sr_rec.parent = cpu_to_le64(realm->parent_ino); in encode_snap_realms()
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/fs/ext4/
Dfast_commit.c718 int parent_ino, int ino, int dlen, in ext4_fc_add_dentry_tlv() argument
730 fcd.fc_parent_ino = cpu_to_le32(parent_ino); in ext4_fc_add_dentry_tlv()
1238 int parent_ino, dname_len, ino, inode_len; member
1249 darg->parent_ino = le32_to_cpu(fcd.fc_parent_ino); in tl_to_darg()
1268 darg.parent_ino, darg.dname_len); in ext4_fc_replay_unlink()
1279 old_parent = ext4_iget(sb, darg.parent_ino, in ext4_fc_replay_unlink()
1282 jbd_debug(1, "Dir with inode %d not found", darg.parent_ino); in ext4_fc_replay_unlink()
1305 dir = ext4_iget(sb, darg->parent_ino, EXT4_IGET_NORMAL); in ext4_fc_replay_link_internal()
1307 jbd_debug(1, "Dir with inode %d not found.", darg->parent_ino); in ext4_fc_replay_link_internal()
1364 darg.parent_ino, darg.dname_len); in ext4_fc_replay_link()
[all …]
Dinline.c1343 unsigned int parent_ino; in ext4_inlinedir_to_tree() local
1378 parent_ino = le32_to_cpu(((struct ext4_dir_entry_2 *)dir_buf)->inode); in ext4_inlinedir_to_tree()
1396 fake.inode = cpu_to_le32(parent_ino); in ext4_inlinedir_to_tree()
1452 unsigned int offset, parent_ino; in ext4_read_inline_dir() local
1488 parent_ino = le32_to_cpu(((struct ext4_dir_entry_2 *)dir_buf)->inode); in ext4_read_inline_dir()
1553 if (!dir_emit(ctx, "..", 2, parent_ino, DT_DIR)) in ext4_read_inline_dir()
Dnamei.c2765 unsigned int parent_ino, int dotdot_real_len) in ext4_init_dot_dotdot() argument
2775 de->inode = cpu_to_le32(parent_ino); in ext4_init_dot_dotdot()
Dext4.h3492 unsigned int parent_ino, int dotdot_real_len);
/kernel/linux/linux-5.10/include/linux/
Dexportfs.h123 u32 parent_ino; member
Dfs.h3300 static inline ino_t parent_ino(struct dentry *dentry) in parent_ino() function
3435 parent_ino(file->f_path.dentry), DT_DIR) == 0; in dir_emit_dotdot()
/kernel/linux/linux-5.10/fs/btrfs/
Dsend.c224 u64 parent_ino; member
263 u64 parent_ino; member
2146 u64 *parent_ino, in __get_cur_name_and_parent() argument
2167 *parent_ino = nce->parent_ino; in __get_cur_name_and_parent()
2200 parent_ino, parent_gen, dest); in __get_cur_name_and_parent()
2203 parent_ino, parent_gen, dest); in __get_cur_name_and_parent()
2211 ret = did_overwrite_ref(sctx, *parent_ino, *parent_gen, ino, gen, in __get_cur_name_and_parent()
2235 nce->parent_ino = *parent_ino; in __get_cur_name_and_parent()
3101 u64 parent_ino, in add_pending_dir_move() argument
3116 pm->parent_ino = parent_ino; in add_pending_dir_move()
[all …]
Dinode.c6163 u64 parent_ino = btrfs_ino(parent_inode); in btrfs_add_link() local
6175 root->root_key.objectid, parent_ino, in btrfs_add_link()
6179 parent_ino, index); in btrfs_add_link()
6220 root->root_key.objectid, parent_ino, in btrfs_add_link()
6229 ino, parent_ino, &local_index); in btrfs_add_link()
/kernel/linux/linux-5.10/fs/overlayfs/
Dreaddir.c643 u64 parent_ino; member
657 if (rdt->parent_ino && strcmp(name, "..") == 0) { in ovl_fill_real()
658 ino = rdt->parent_ino; in ovl_fill_real()
714 rdt.parent_ino = stat.ino; in ovl_iterate_real()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/fs/exportfs/
Dexpfs.c376 fid->i32.parent_ino = parent->i_ino; in export_encode_fh()
/kernel/linux/linux-5.10/fs/
Dlibfs.c1048 inode = get_inode(sb, fid->i32.parent_ino, in generic_fh_to_parent()
/kernel/linux/linux-5.10/fs/f2fs/
Dfile.c185 *pino = parent_ino(dentry); in get_parent_ino()

12