/linux-6.12.1/fs/f2fs/ |
D | inode.c | 393 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()
|
D | namei.c | 263 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()
|
D | recovery.c | 299 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()
|
D | node.c | 2832 i_projid)) in f2fs_recover_inode_page() 2833 dst->i_projid = src->i_projid; in f2fs_recover_inode_page()
|
D | file.c | 3201 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/ |
D | xfs_inode_buf.c | 213 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()
|
D | xfs_inode_util.c | 140 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/ |
D | xfs_qm_bhv.c | 63 if (!xfs_qm_dqget(mp, ip->i_projid, XFS_DQTYPE_PROJ, false, &dqp)) { in xfs_qm_statvfs()
|
D | xfs_ioctl.c | 434 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()
|
D | xfs_inode.c | 927 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()
|
D | xfs_inode_item.c | 556 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()
|
D | xfs_itable.c | 111 buf->bs_projectid = ip->i_projid; in xfs_bulkstat_one_int()
|
D | xfs_inode.h | 60 prid_t i_projid; /* owner's project id */ member
|
D | xfs_bmap_util.c | 1140 ip->i_projid != tip->i_projid)) in xfs_swap_extents_check_format()
|
D | xfs_qm.c | 1810 if (ip->i_projid != prid) { in xfs_qm_vop_dqalloc() 1969 ASSERT(ip->i_projid == pdqp->q_id); in xfs_qm_vop_create_dqattach()
|
D | xfs_icache.c | 1087 ip->i_projid != icw->icw_prid) in xfs_icwalk_match_id() 1111 ip->i_projid == icw->icw_prid) in xfs_icwalk_match_id_union()
|
D | xfs_iops.c | 731 error = xfs_qm_vop_dqalloc(ip, uid, gid, ip->i_projid, in xfs_setattr_nonsize()
|
D | xfs_dquot.c | 955 return ip->i_projid; in xfs_qm_id_for_quotatype()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | orphanage.c | 92 if (dp->i_projid != 0) { in xrep_chown_orphanage() 95 dp->i_projid = 0; in xrep_chown_orphanage()
|
D | inode_repair.c | 1554 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/ |
D | inode.c | 4275 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 …]
|
D | ioctl.c | 542 __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()
|
D | ialloc.c | 981 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()
|
D | namei.c | 3505 (!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/ |
D | f2fs_fs.h | 322 __le32 i_projid; /* project id */ member
|