Home
last modified time | relevance | path

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

12

/linux-6.1.9/fs/f2fs/
Dinode.c354 projid_t i_projid; in do_read_inode() local
455 F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_projid)) in do_read_inode()
456 i_projid = (projid_t)le32_to_cpu(ri->i_projid); in do_read_inode()
458 i_projid = F2FS_DEF_PROJID; in do_read_inode()
459 fi->i_projid = make_kprojid(&init_user_ns, i_projid); in do_read_inode()
663 i_projid)) { in f2fs_update_inode()
664 projid_t i_projid; in f2fs_update_inode() local
666 i_projid = from_kprojid(&init_user_ns, in f2fs_update_inode()
667 F2FS_I(inode)->i_projid); in f2fs_update_inode()
668 ri->i_projid = cpu_to_le32(i_projid); in f2fs_update_inode()
Dnamei.c221 F2FS_I(inode)->i_projid = F2FS_I(dir)->i_projid; in f2fs_new_inode()
223 F2FS_I(inode)->i_projid = make_kprojid(mnt_userns, in f2fs_new_inode()
403 (!projid_eq(F2FS_I(dir)->i_projid, in f2fs_link()
404 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_link()
967 (!projid_eq(F2FS_I(new_dir)->i_projid, in f2fs_rename()
968 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_rename()
1156 !projid_eq(F2FS_I(new_dir)->i_projid, in f2fs_cross_rename()
1157 F2FS_I(old_dentry->d_inode)->i_projid)) || in f2fs_cross_rename()
1159 !projid_eq(F2FS_I(old_dir)->i_projid, in f2fs_cross_rename()
1160 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.c2792 i_projid)) in f2fs_recover_inode_page()
2793 dst->i_projid = src->i_projid; in f2fs_recover_inode_page()
Dfile.c3017 if (projid_eq(kprojid, fi->i_projid)) in f2fs_ioc_setproject()
3025 if (!F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_projid)) in f2fs_ioc_setproject()
3037 fi->i_projid = kprojid; in f2fs_ioc_setproject()
3076 fa->fsx_projid = from_kprojid(&init_user_ns, fi->i_projid); in f2fs_fileattr_get()
Dsuper.c1784 f2fs_statfs_project(sb, F2FS_I(dentry->d_inode)->i_projid, buf); in f2fs_statfs()
2936 *projid = F2FS_I(inode)->i_projid; in f2fs_get_projid()
/linux-6.1.9/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()
314 to->di_projid_lo = cpu_to_be16(ip->i_projid & 0xffff); in xfs_inode_to_disk()
315 to->di_projid_hi = cpu_to_be16(ip->i_projid >> 16); in xfs_inode_to_disk()
/linux-6.1.9/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
253 return dp->i_projid; in xfs_get_initial_prid()
Dxfs_inode_item.c378 to->di_projid_lo = ip->i_projid & 0xffff; in xfs_inode_to_log_dinode()
379 to->di_projid_hi = ip->i_projid >> 16; in xfs_inode_to_log_dinode()
Dxfs_inode.c823 ip->i_projid = prid; in xfs_init_new_inode()
1235 tdp->i_projid != sip->i_projid)) { in xfs_link()
2845 target_dp->i_projid != src_ip->i_projid)) { in xfs_rename()
Dxfs_itable.c92 buf->bs_projectid = ip->i_projid; in xfs_bulkstat_one_int()
Dxfs_ioctl.c1018 fa->fsx_projid = ip->i_projid; in xfs_fill_fsxattr()
1382 if (ip->i_projid != fa->fsx_projid) { in xfs_fileattr_set()
1387 ip->i_projid = fa->fsx_projid; in xfs_fileattr_set()
Dxfs_icache.c1046 ip->i_projid != icw->icw_prid) in xfs_icwalk_match_id()
1070 ip->i_projid == icw->icw_prid) in xfs_icwalk_match_id_union()
Dxfs_qm.c1720 if (ip->i_projid != prid) { in xfs_qm_vop_dqalloc()
1881 ASSERT(ip->i_projid == pdqp->q_id); in xfs_qm_vop_create_dqattach()
Dxfs_bmap_util.c1273 ip->i_projid != tip->i_projid)) in xfs_swap_extents_check_format()
Dxfs_iops.c702 error = xfs_qm_vop_dqalloc(ip, uid, gid, ip->i_projid, in xfs_setattr_nonsize()
Dxfs_dquot.c924 return ip->i_projid; in xfs_qm_id_for_quotatype()
/linux-6.1.9/fs/ext4/
Dioctl.c534 __kprojid_val(ei->i_projid) != new_projid) in ext4_ioctl_check_immutable()
727 if (projid_eq(kprojid, EXT4_I(inode)->i_projid)) in ext4_ioctl_setproject()
744 if (!EXT4_FITS_IN_INODE(raw_inode, ei, i_projid)) { in ext4_ioctl_setproject()
778 EXT4_I(inode)->i_projid = kprojid; in ext4_ioctl_setproject()
977 fa->fsx_projid = from_kprojid(&init_user_ns, ei->i_projid); in ext4_fileattr_get()
Dinode.c4362 projid_t i_projid; in ext4_fill_raw_inode() local
4371 i_projid = from_kprojid(&init_user_ns, ei->i_projid); in ext4_fill_raw_inode()
4440 if (i_projid != EXT4_DEF_PROJID && in ext4_fill_raw_inode()
4445 EXT4_FITS_IN_INODE(raw_inode, ei, i_projid)) in ext4_fill_raw_inode()
4446 raw_inode->i_projid = cpu_to_le32(i_projid); in ext4_fill_raw_inode()
4741 *projid = EXT4_I(inode)->i_projid; in ext4_get_projid()
4773 projid_t i_projid; in __ext4_iget() local
4860 EXT4_FITS_IN_INODE(raw_inode, ei, i_projid)) in __ext4_iget()
4861 i_projid = (projid_t)le32_to_cpu(raw_inode->i_projid); in __ext4_iget()
4863 i_projid = EXT4_DEF_PROJID; in __ext4_iget()
[all …]
Dnamei.c3484 (!projid_eq(EXT4_I(dir)->i_projid, in ext4_link()
3485 EXT4_I(old_dentry->d_inode)->i_projid))) in ext4_link()
3794 (!projid_eq(EXT4_I(new_dir)->i_projid, in ext4_rename()
3795 EXT4_I(old_dentry->d_inode)->i_projid))) in ext4_rename()
4035 !projid_eq(EXT4_I(new_dir)->i_projid, in ext4_cross_rename()
4036 EXT4_I(old_dentry->d_inode)->i_projid)) || in ext4_cross_rename()
4038 !projid_eq(EXT4_I(old_dir)->i_projid, in ext4_cross_rename()
4039 EXT4_I(new_dentry->d_inode)->i_projid))) in ext4_cross_rename()
Dialloc.c982 ei->i_projid = EXT4_I(dir)->i_projid; in __ext4_new_inode()
984 ei->i_projid = make_kprojid(&init_user_ns, EXT4_DEF_PROJID); in __ext4_new_inode()
Dext4.h852 __le32 i_projid; /* Project ID */ member
1184 kprojid_t i_projid; member
/linux-6.1.9/include/linux/
Df2fs_fs.h309 __le32 i_projid; /* project id */ member
/linux-6.1.9/Documentation/filesystems/ext4/
Dinodes.rst172 - i_projid

12