Home
last modified time | relevance | path

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

12

/linux-6.12.1/fs/f2fs/
Dinode.c393 projid_t i_projid; in do_read_inode() local
481 F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_projid)) in do_read_inode()
482 i_projid = (projid_t)le32_to_cpu(ri->i_projid); in do_read_inode()
484 i_projid = F2FS_DEF_PROJID; in do_read_inode()
485 fi->i_projid = make_kprojid(&init_user_ns, i_projid); in do_read_inode()
699 F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_projid)) { in f2fs_update_inode()
700 projid_t i_projid; in f2fs_update_inode() local
702 i_projid = from_kprojid(&init_user_ns, fi->i_projid); in f2fs_update_inode()
703 ri->i_projid = cpu_to_le32(i_projid); in f2fs_update_inode()
Dnamei.c263 fi->i_projid = F2FS_I(dir)->i_projid; in f2fs_new_inode()
265 fi->i_projid = make_kprojid(&init_user_ns, in f2fs_new_inode()
415 (!projid_eq(F2FS_I(dir)->i_projid, in f2fs_link()
416 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_link()
907 (!projid_eq(F2FS_I(new_dir)->i_projid, in f2fs_rename()
908 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_rename()
1100 !projid_eq(F2FS_I(new_dir)->i_projid, in f2fs_cross_rename()
1101 F2FS_I(old_dentry->d_inode)->i_projid)) || in f2fs_cross_rename()
1103 !projid_eq(F2FS_I(old_dir)->i_projid, in f2fs_cross_rename()
1104 F2FS_I(new_dentry->d_inode)->i_projid))) in f2fs_cross_rename()
Drecovery.c299 i_projid)) { in recover_inode()
300 projid_t i_projid; in recover_inode() local
303 i_projid = (projid_t)le32_to_cpu(raw->i_projid); in recover_inode()
304 kprojid = make_kprojid(&init_user_ns, i_projid); in recover_inode()
306 if (!projid_eq(kprojid, fi->i_projid)) { in recover_inode()
311 fi->i_projid = kprojid; in recover_inode()
Dnode.c2832 i_projid)) in f2fs_recover_inode_page()
2833 dst->i_projid = src->i_projid; in f2fs_recover_inode_page()
Dfile.c3201 if (projid_eq(kprojid, fi->i_projid)) in f2fs_ioc_setproject()
3209 if (!F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_projid)) in f2fs_ioc_setproject()
3221 fi->i_projid = kprojid; in f2fs_ioc_setproject()
3260 fa->fsx_projid = from_kprojid(&init_user_ns, fi->i_projid); in f2fs_fileattr_get()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_inode_buf.c213 ip->i_projid = 0; in xfs_inode_from_disk()
216 ip->i_projid = (prid_t)be16_to_cpu(from->di_projid_hi) << 16 | in xfs_inode_from_disk()
323 to->di_projid_lo = cpu_to_be16(ip->i_projid & 0xffff); in xfs_inode_to_disk()
324 to->di_projid_hi = cpu_to_be16(ip->i_projid >> 16); in xfs_inode_to_disk()
Dxfs_inode_util.c140 return dp->i_projid; in xfs_get_initial_prid()
289 ip->i_projid = 0; in xfs_inode_init()
311 ip->i_projid = xfs_get_initial_prid(pip); in xfs_inode_init()
/linux-6.12.1/fs/xfs/
Dxfs_qm_bhv.c63 if (!xfs_qm_dqget(mp, ip->i_projid, XFS_DQTYPE_PROJ, false, &dqp)) { in xfs_qm_statvfs()
Dxfs_ioctl.c434 fa->fsx_projid = ip->i_projid; in xfs_fill_fsxattr()
755 if (ip->i_projid != fa->fsx_projid) { in xfs_fileattr_set()
760 ip->i_projid = fa->fsx_projid; in xfs_fileattr_set()
Dxfs_inode.c927 tdp->i_projid != sip->i_projid)) { in xfs_link()
937 sip->i_projid != 0) { in xfs_link()
2223 target_dp->i_projid != src_ip->i_projid)) { in xfs_rename()
Dxfs_inode_item.c556 to->di_projid_lo = ip->i_projid & 0xffff; in xfs_inode_to_log_dinode()
557 to->di_projid_hi = ip->i_projid >> 16; in xfs_inode_to_log_dinode()
Dxfs_itable.c111 buf->bs_projectid = ip->i_projid; in xfs_bulkstat_one_int()
Dxfs_inode.h60 prid_t i_projid; /* owner's project id */ member
Dxfs_bmap_util.c1140 ip->i_projid != tip->i_projid)) in xfs_swap_extents_check_format()
Dxfs_qm.c1810 if (ip->i_projid != prid) { in xfs_qm_vop_dqalloc()
1969 ASSERT(ip->i_projid == pdqp->q_id); in xfs_qm_vop_create_dqattach()
Dxfs_icache.c1087 ip->i_projid != icw->icw_prid) in xfs_icwalk_match_id()
1111 ip->i_projid == icw->icw_prid) in xfs_icwalk_match_id_union()
Dxfs_iops.c731 error = xfs_qm_vop_dqalloc(ip, uid, gid, ip->i_projid, in xfs_setattr_nonsize()
Dxfs_dquot.c955 return ip->i_projid; in xfs_qm_id_for_quotatype()
/linux-6.12.1/fs/xfs/scrub/
Dorphanage.c92 if (dp->i_projid != 0) { in xrep_chown_orphanage()
95 dp->i_projid = 0; in xrep_chown_orphanage()
Dinode_repair.c1554 if (sc->ip->i_projid == -1U) { in xrep_inode_ids()
1555 sc->ip->i_projid = 0; in xrep_inode_ids()
/linux-6.12.1/fs/ext4/
Dinode.c4275 projid_t i_projid; in ext4_fill_raw_inode() local
4284 i_projid = from_kprojid(&init_user_ns, ei->i_projid); in ext4_fill_raw_inode()
4353 if (i_projid != EXT4_DEF_PROJID && in ext4_fill_raw_inode()
4358 EXT4_FITS_IN_INODE(raw_inode, ei, i_projid)) in ext4_fill_raw_inode()
4359 raw_inode->i_projid = cpu_to_le32(i_projid); in ext4_fill_raw_inode()
4659 *projid = EXT4_I(inode)->i_projid; in ext4_get_projid()
4710 projid_t i_projid; in __ext4_iget() local
4796 EXT4_FITS_IN_INODE(raw_inode, ei, i_projid)) in __ext4_iget()
4797 i_projid = (projid_t)le32_to_cpu(raw_inode->i_projid); in __ext4_iget()
4799 i_projid = EXT4_DEF_PROJID; in __ext4_iget()
[all …]
Dioctl.c542 __kprojid_val(ei->i_projid) != new_projid) in ext4_ioctl_check_immutable()
735 if (projid_eq(kprojid, EXT4_I(inode)->i_projid)) in ext4_ioctl_setproject()
752 if (!EXT4_FITS_IN_INODE(raw_inode, ei, i_projid)) { in ext4_ioctl_setproject()
786 EXT4_I(inode)->i_projid = kprojid; in ext4_ioctl_setproject()
994 fa->fsx_projid = from_kprojid(&init_user_ns, ei->i_projid); in ext4_fileattr_get()
Dialloc.c981 ei->i_projid = EXT4_I(dir)->i_projid; in __ext4_new_inode()
983 ei->i_projid = make_kprojid(&init_user_ns, EXT4_DEF_PROJID); in __ext4_new_inode()
Dnamei.c3505 (!projid_eq(EXT4_I(dir)->i_projid, in ext4_link()
3506 EXT4_I(old_dentry->d_inode)->i_projid))) in ext4_link()
3819 (!projid_eq(EXT4_I(new_dir)->i_projid, in ext4_rename()
3820 EXT4_I(old_dentry->d_inode)->i_projid))) in ext4_rename()
4063 !projid_eq(EXT4_I(new_dir)->i_projid, in ext4_cross_rename()
4064 EXT4_I(old_dentry->d_inode)->i_projid)) || in ext4_cross_rename()
4066 !projid_eq(EXT4_I(old_dir)->i_projid, in ext4_cross_rename()
4067 EXT4_I(new_dentry->d_inode)->i_projid))) in ext4_cross_rename()
/linux-6.12.1/include/linux/
Df2fs_fs.h322 __le32 i_projid; /* project id */ member

12