/linux/fs/f2fs/ |
A D | inode.c | 343 projid_t i_projid; in do_read_inode() local 443 F2FS_FITS_IN_INODE(ri, fi->i_extra_isize, i_projid)) in do_read_inode() 444 i_projid = (projid_t)le32_to_cpu(ri->i_projid); in do_read_inode() 446 i_projid = F2FS_DEF_PROJID; in do_read_inode() 447 fi->i_projid = make_kprojid(&init_user_ns, i_projid); in do_read_inode() 628 i_projid)) { in f2fs_update_inode() 629 projid_t i_projid; in f2fs_update_inode() local 631 i_projid = from_kprojid(&init_user_ns, in f2fs_update_inode() 632 F2FS_I(inode)->i_projid); in f2fs_update_inode() 633 ri->i_projid = cpu_to_le32(i_projid); in f2fs_update_inode()
|
A D | namei.c | 68 F2FS_I(inode)->i_projid = F2FS_I(dir)->i_projid; in f2fs_new_inode() 70 F2FS_I(inode)->i_projid = make_kprojid(&init_user_ns, 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() 944 (!projid_eq(F2FS_I(new_dir)->i_projid, in f2fs_rename() 945 F2FS_I(old_dentry->d_inode)->i_projid))) in f2fs_rename() 1134 !projid_eq(F2FS_I(new_dir)->i_projid, in f2fs_cross_rename() 1135 F2FS_I(old_dentry->d_inode)->i_projid)) || in f2fs_cross_rename() 1137 !projid_eq(F2FS_I(old_dir)->i_projid, in f2fs_cross_rename() 1138 F2FS_I(new_dentry->d_inode)->i_projid))) in f2fs_cross_rename()
|
A D | recovery.c | 300 i_projid)) { in recover_inode() 301 projid_t i_projid; in recover_inode() local 304 i_projid = (projid_t)le32_to_cpu(raw->i_projid); in recover_inode() 305 kprojid = make_kprojid(&init_user_ns, i_projid); in recover_inode() 307 if (!projid_eq(kprojid, F2FS_I(inode)->i_projid)) { in recover_inode() 312 F2FS_I(inode)->i_projid = kprojid; in recover_inode()
|
A D | file.c | 3003 if (projid_eq(kprojid, F2FS_I(inode)->i_projid)) in f2fs_ioc_setproject() 3016 i_projid)) { in f2fs_ioc_setproject() 3032 F2FS_I(inode)->i_projid = kprojid; in f2fs_ioc_setproject() 3071 fa->fsx_projid = from_kprojid(&init_user_ns, fi->i_projid); in f2fs_fileattr_get()
|
A D | node.c | 2784 i_projid)) in f2fs_recover_inode_page() 2785 dst->i_projid = src->i_projid; in f2fs_recover_inode_page()
|
A D | super.c | 1732 f2fs_statfs_project(sb, F2FS_I(dentry->d_inode)->i_projid, buf); in f2fs_statfs() 2869 *projid = F2FS_I(inode)->i_projid; in f2fs_get_projid()
|
A D | f2fs.h | 776 kprojid_t i_projid; /* id for project quota */ member
|
/linux/fs/xfs/libxfs/ |
A D | xfs_inode_buf.c | 209 ip->i_projid = 0; in xfs_inode_from_disk() 212 ip->i_projid = (prid_t)be16_to_cpu(from->di_projid_hi) << 16 | in xfs_inode_from_disk() 296 to->di_projid_lo = cpu_to_be16(ip->i_projid & 0xffff); in xfs_inode_to_disk() 297 to->di_projid_hi = cpu_to_be16(ip->i_projid >> 16); in xfs_inode_to_disk()
|
/linux/fs/xfs/ |
A D | xfs_qm_bhv.c | 63 if (!xfs_qm_dqget(mp, ip->i_projid, XFS_DQTYPE_PROJ, false, &dqp)) { in xfs_qm_statvfs()
|
A D | xfs_inode.h | 59 prid_t i_projid; /* owner's project id */ member 189 return dp->i_projid; in xfs_get_initial_prid()
|
A D | xfs_inode_item.c | 373 to->di_projid_lo = ip->i_projid & 0xffff; in xfs_inode_to_log_dinode() 374 to->di_projid_hi = ip->i_projid >> 16; in xfs_inode_to_log_dinode()
|
A D | xfs_itable.c | 87 buf->bs_projectid = ip->i_projid; in xfs_bulkstat_one_int()
|
A D | xfs_inode.c | 832 ip->i_projid = prid; in xfs_init_new_inode() 1263 tdp->i_projid != sip->i_projid)) { in xfs_link() 3181 target_dp->i_projid != src_ip->i_projid)) { in xfs_rename()
|
A D | xfs_ioctl.c | 1089 fa->fsx_projid = ip->i_projid; in xfs_fill_fsxattr() 1452 if (ip->i_projid != fa->fsx_projid) { in xfs_fileattr_set() 1457 ip->i_projid = fa->fsx_projid; in xfs_fileattr_set()
|
A D | xfs_bmap_util.c | 1266 ip->i_projid != tip->i_projid)) in xfs_swap_extents_check_format()
|
A D | xfs_icache.c | 1033 ip->i_projid != icw->icw_prid) in xfs_icwalk_match_id() 1057 ip->i_projid == icw->icw_prid) in xfs_icwalk_match_id_union()
|
A D | xfs_qm.c | 1717 if (ip->i_projid != prid) { in xfs_qm_vop_dqalloc() 1878 ASSERT(ip->i_projid == pdqp->q_id); in xfs_qm_vop_create_dqattach()
|
A D | xfs_dquot.c | 951 return ip->i_projid; in xfs_qm_id_for_quotatype()
|
A D | xfs_iops.c | 740 error = xfs_qm_vop_dqalloc(ip, uid, gid, ip->i_projid, in xfs_setattr_nonsize()
|
/linux/fs/ext4/ |
A D | ioctl.c | 295 __kprojid_val(ei->i_projid) != new_projid) in ext4_ioctl_check_immutable() 487 if (projid_eq(kprojid, EXT4_I(inode)->i_projid)) in ext4_ioctl_setproject() 500 if (!EXT4_FITS_IN_INODE(raw_inode, ei, i_projid)) { in ext4_ioctl_setproject() 538 EXT4_I(inode)->i_projid = kprojid; in ext4_ioctl_setproject() 734 fa->fsx_projid = from_kprojid(&init_user_ns, ei->i_projid); in ext4_fileattr_get()
|
A D | inode.c | 4291 projid_t i_projid; in ext4_fill_raw_inode() local 4300 i_projid = from_kprojid(&init_user_ns, ei->i_projid); in ext4_fill_raw_inode() 4369 if (i_projid != EXT4_DEF_PROJID && in ext4_fill_raw_inode() 4374 EXT4_FITS_IN_INODE(raw_inode, ei, i_projid)) in ext4_fill_raw_inode() 4375 raw_inode->i_projid = cpu_to_le32(i_projid); in ext4_fill_raw_inode() 4663 *projid = EXT4_I(inode)->i_projid; in ext4_get_projid() 4695 projid_t i_projid; in __ext4_iget() local 4782 EXT4_FITS_IN_INODE(raw_inode, ei, i_projid)) in __ext4_iget() 4783 i_projid = (projid_t)le32_to_cpu(raw_inode->i_projid); in __ext4_iget() 4785 i_projid = EXT4_DEF_PROJID; in __ext4_iget() [all …]
|
A D | namei.c | 3434 (!projid_eq(EXT4_I(dir)->i_projid, in ext4_link() 3435 EXT4_I(old_dentry->d_inode)->i_projid))) in ext4_link() 3720 (!projid_eq(EXT4_I(new_dir)->i_projid, in ext4_rename() 3721 EXT4_I(old_dentry->d_inode)->i_projid))) in ext4_rename() 3951 !projid_eq(EXT4_I(new_dir)->i_projid, in ext4_cross_rename() 3952 EXT4_I(old_dentry->d_inode)->i_projid)) || in ext4_cross_rename() 3954 !projid_eq(EXT4_I(old_dir)->i_projid, in ext4_cross_rename() 3955 EXT4_I(new_dentry->d_inode)->i_projid))) in ext4_cross_rename()
|
A D | ialloc.c | 983 ei->i_projid = EXT4_I(dir)->i_projid; in __ext4_new_inode() 985 ei->i_projid = make_kprojid(&init_user_ns, EXT4_DEF_PROJID); in __ext4_new_inode()
|
A D | ext4.h | 841 __le32 i_projid; /* Project ID */ member 1171 kprojid_t i_projid; member
|
/linux/include/linux/ |
A D | f2fs_fs.h | 271 __le32 i_projid; /* project id */ member
|