Home
last modified time | relevance | path

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

12

/linux-6.6.21/fs/f2fs/
Dinode.c400 projid_t i_projid; in do_read_inode() local
500 F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_projid)) in do_read_inode()
501 i_projid = (projid_t)le32_to_cpu(ri->i_projid); in do_read_inode()
503 i_projid = F2FS_DEF_PROJID; in do_read_inode()
504 fi->i_projid = make_kprojid(&init_user_ns, i_projid); in do_read_inode()
728 i_projid)) { in f2fs_update_inode()
729 projid_t i_projid; in f2fs_update_inode() local
731 i_projid = from_kprojid(&init_user_ns, in f2fs_update_inode()
732 F2FS_I(inode)->i_projid); in f2fs_update_inode()
733 ri->i_projid = cpu_to_le32(i_projid); in f2fs_update_inode()
Dnamei.c261 F2FS_I(inode)->i_projid = F2FS_I(dir)->i_projid; in f2fs_new_inode()
263 F2FS_I(inode)->i_projid = make_kprojid(&init_user_ns, in f2fs_new_inode()
413 (!projid_eq(F2FS_I(dir)->i_projid, in f2fs_link()
414 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_link()
974 (!projid_eq(F2FS_I(new_dir)->i_projid, in f2fs_rename()
975 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_rename()
1163 !projid_eq(F2FS_I(new_dir)->i_projid, in f2fs_cross_rename()
1164 F2FS_I(old_dentry->d_inode)->i_projid)) || in f2fs_cross_rename()
1166 !projid_eq(F2FS_I(old_dir)->i_projid, in f2fs_cross_rename()
1167 F2FS_I(new_dentry->d_inode)->i_projid))) in f2fs_cross_rename()
Drecovery.c305 i_projid)) { in recover_inode()
306 projid_t i_projid; in recover_inode() local
309 i_projid = (projid_t)le32_to_cpu(raw->i_projid); in recover_inode()
310 kprojid = make_kprojid(&init_user_ns, i_projid); in recover_inode()
312 if (!projid_eq(kprojid, F2FS_I(inode)->i_projid)) { in recover_inode()
317 F2FS_I(inode)->i_projid = kprojid; in recover_inode()
Dnode.c2812 i_projid)) in f2fs_recover_inode_page()
2813 dst->i_projid = src->i_projid; in f2fs_recover_inode_page()
Dfile.c3076 if (projid_eq(kprojid, fi->i_projid)) in f2fs_ioc_setproject()
3084 if (!F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_projid)) in f2fs_ioc_setproject()
3096 fi->i_projid = kprojid; in f2fs_ioc_setproject()
3135 fa->fsx_projid = from_kprojid(&init_user_ns, fi->i_projid); in f2fs_fileattr_get()
Dsuper.c1875 f2fs_statfs_project(sb, F2FS_I(dentry->d_inode)->i_projid, buf); in f2fs_statfs()
3137 *projid = F2FS_I(inode)->i_projid; in f2fs_get_projid()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_inode_buf.c207 ip->i_projid = 0; in xfs_inode_from_disk()
210 ip->i_projid = (prid_t)be16_to_cpu(from->di_projid_hi) << 16 | in xfs_inode_from_disk()
315 to->di_projid_lo = cpu_to_be16(ip->i_projid & 0xffff); in xfs_inode_to_disk()
316 to->di_projid_hi = cpu_to_be16(ip->i_projid >> 16); in xfs_inode_to_disk()
/linux-6.6.21/fs/xfs/
Dxfs_qm_bhv.c63 if (!xfs_qm_dqget(mp, ip->i_projid, XFS_DQTYPE_PROJ, false, &dqp)) { in xfs_qm_statvfs()
Dxfs_inode.h59 prid_t i_projid; /* owner's project id */ member
271 return dp->i_projid; in xfs_get_initial_prid()
Dxfs_inode.c823 ip->i_projid = prid; in xfs_init_new_inode()
1241 tdp->i_projid != sip->i_projid)) { in xfs_link()
2934 target_dp->i_projid != src_ip->i_projid)) { in xfs_rename()
Dxfs_itable.c103 buf->bs_projectid = ip->i_projid; in xfs_bulkstat_one_int()
Dxfs_inode_item.c525 to->di_projid_lo = ip->i_projid & 0xffff; in xfs_inode_to_log_dinode()
526 to->di_projid_hi = ip->i_projid >> 16; in xfs_inode_to_log_dinode()
Dxfs_ioctl.c1018 fa->fsx_projid = ip->i_projid; in xfs_fill_fsxattr()
1388 if (ip->i_projid != fa->fsx_projid) { in xfs_fileattr_set()
1393 ip->i_projid = fa->fsx_projid; in xfs_fileattr_set()
Dxfs_qm.c1756 if (ip->i_projid != prid) { in xfs_qm_vop_dqalloc()
1917 ASSERT(ip->i_projid == pdqp->q_id); in xfs_qm_vop_create_dqattach()
Dxfs_icache.c1041 ip->i_projid != icw->icw_prid) in xfs_icwalk_match_id()
1065 ip->i_projid == icw->icw_prid) in xfs_icwalk_match_id_union()
Dxfs_bmap_util.c1277 ip->i_projid != tip->i_projid)) in xfs_swap_extents_check_format()
Dxfs_dquot.c924 return ip->i_projid; in xfs_qm_id_for_quotatype()
Dxfs_iops.c707 error = xfs_qm_vop_dqalloc(ip, uid, gid, ip->i_projid, in xfs_setattr_nonsize()
/linux-6.6.21/fs/ext4/
Dioctl.c533 __kprojid_val(ei->i_projid) != new_projid) in ext4_ioctl_check_immutable()
726 if (projid_eq(kprojid, EXT4_I(inode)->i_projid)) in ext4_ioctl_setproject()
743 if (!EXT4_FITS_IN_INODE(raw_inode, ei, i_projid)) { in ext4_ioctl_setproject()
777 EXT4_I(inode)->i_projid = kprojid; in ext4_ioctl_setproject()
985 fa->fsx_projid = from_kprojid(&init_user_ns, ei->i_projid); in ext4_fileattr_get()
Dinode.c4263 projid_t i_projid; in ext4_fill_raw_inode() local
4272 i_projid = from_kprojid(&init_user_ns, ei->i_projid); in ext4_fill_raw_inode()
4341 if (i_projid != EXT4_DEF_PROJID && in ext4_fill_raw_inode()
4346 EXT4_FITS_IN_INODE(raw_inode, ei, i_projid)) in ext4_fill_raw_inode()
4347 raw_inode->i_projid = cpu_to_le32(i_projid); in ext4_fill_raw_inode()
4647 *projid = EXT4_I(inode)->i_projid; in ext4_get_projid()
4698 projid_t i_projid; in __ext4_iget() local
4784 EXT4_FITS_IN_INODE(raw_inode, ei, i_projid)) in __ext4_iget()
4785 i_projid = (projid_t)le32_to_cpu(raw_inode->i_projid); in __ext4_iget()
4787 i_projid = EXT4_DEF_PROJID; in __ext4_iget()
[all …]
Dnamei.c3511 (!projid_eq(EXT4_I(dir)->i_projid, in ext4_link()
3512 EXT4_I(old_dentry->d_inode)->i_projid))) in ext4_link()
3821 (!projid_eq(EXT4_I(new_dir)->i_projid, in ext4_rename()
3822 EXT4_I(old_dentry->d_inode)->i_projid))) in ext4_rename()
4065 !projid_eq(EXT4_I(new_dir)->i_projid, in ext4_cross_rename()
4066 EXT4_I(old_dentry->d_inode)->i_projid)) || in ext4_cross_rename()
4068 !projid_eq(EXT4_I(old_dir)->i_projid, in ext4_cross_rename()
4069 EXT4_I(new_dentry->d_inode)->i_projid))) in ext4_cross_rename()
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()
Dext4.h824 __le32 i_projid; /* Project ID */ member
1155 kprojid_t i_projid; member
/linux-6.6.21/include/linux/
Df2fs_fs.h310 __le32 i_projid; /* project id */ member
/linux-6.6.21/Documentation/filesystems/ext4/
Dinodes.rst172 - i_projid

12