Home
last modified time | relevance | path

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

12

/linux/fs/f2fs/
A Dinode.c343 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 Dnamei.c68 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 Drecovery.c300 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 Dfile.c3003 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 Dnode.c2784 i_projid)) in f2fs_recover_inode_page()
2785 dst->i_projid = src->i_projid; in f2fs_recover_inode_page()
A Dsuper.c1732 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 Df2fs.h776 kprojid_t i_projid; /* id for project quota */ member
/linux/fs/xfs/libxfs/
A Dxfs_inode_buf.c209 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 Dxfs_qm_bhv.c63 if (!xfs_qm_dqget(mp, ip->i_projid, XFS_DQTYPE_PROJ, false, &dqp)) { in xfs_qm_statvfs()
A Dxfs_inode.h59 prid_t i_projid; /* owner's project id */ member
189 return dp->i_projid; in xfs_get_initial_prid()
A Dxfs_inode_item.c373 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 Dxfs_itable.c87 buf->bs_projectid = ip->i_projid; in xfs_bulkstat_one_int()
A Dxfs_inode.c832 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 Dxfs_ioctl.c1089 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 Dxfs_bmap_util.c1266 ip->i_projid != tip->i_projid)) in xfs_swap_extents_check_format()
A Dxfs_icache.c1033 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 Dxfs_qm.c1717 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 Dxfs_dquot.c951 return ip->i_projid; in xfs_qm_id_for_quotatype()
A Dxfs_iops.c740 error = xfs_qm_vop_dqalloc(ip, uid, gid, ip->i_projid, in xfs_setattr_nonsize()
/linux/fs/ext4/
A Dioctl.c295 __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 Dinode.c4291 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 Dnamei.c3434 (!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 Dialloc.c983 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 Dext4.h841 __le32 i_projid; /* Project ID */ member
1171 kprojid_t i_projid; member
/linux/include/linux/
A Df2fs_fs.h271 __le32 i_projid; /* project id */ member

Completed in 106 milliseconds

12