Home
last modified time | relevance | path

Searched refs:fsx_projid (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/include/linux/
H A Dfileattr.h29 u32 fsx_projid; /* project identifier (get/set) */ member
52 fa->fsx_projid != 0 || fa->fsx_cowextsize != 0); in fileattr_has_fsx()
/openbmc/linux/fs/
H A Dioctl.c552 xfa.fsx_projid = fa->fsx_projid; in copy_fsxattr_to_user()
573 fa->fsx_projid = xfa.fsx_projid; in copy_fsxattr_from_user()
609 if (old_ma->fsx_projid != fa->fsx_projid) in fileattr_set_prepare()
619 if (old_ma->fsx_projid != fa->fsx_projid && in fileattr_set_prepare()
620 !projid_valid(make_kprojid(&init_user_ns, fa->fsx_projid))) in fileattr_set_prepare()
690 fa->fsx_projid = old_ma.fsx_projid; in vfs_fileattr_set()
/openbmc/linux/fs/fuse/
H A Dioctl.c472 fa->fsx_projid = xfa.fsx_projid; in fuse_fileattr_get()
504 xfa.fsx_projid = fa->fsx_projid; in fuse_fileattr_set()
/openbmc/linux/tools/include/uapi/linux/
H A Dfs.h119 __u32 fsx_projid; /* project identifier (get/set) */ member
/openbmc/linux/include/uapi/linux/
H A Dfs.h119 __u32 fsx_projid; /* project identifier (get/set) */ member
/openbmc/linux/fs/xfs/
H A Dxfs_ioctl.c1018 fa->fsx_projid = ip->i_projid; in xfs_fill_fsxattr()
1302 if (fa->fsx_projid > (uint16_t)-1 && in xfs_ioctl_setattr_check_projid()
1347 VFS_I(ip)->i_gid, fa->fsx_projid, in xfs_fileattr_set()
1388 if (ip->i_projid != fa->fsx_projid) { in xfs_fileattr_set()
1393 ip->i_projid = fa->fsx_projid; in xfs_fileattr_set()
/openbmc/linux/fs/ext4/
H A Dioctl.c985 fa->fsx_projid = from_kprojid(&init_user_ns, ei->i_projid); in ext4_fileattr_get()
1009 err = ext4_ioctl_check_immutable(inode, fa->fsx_projid, flags); in ext4_fileattr_set()
1015 err = ext4_ioctl_setproject(inode, fa->fsx_projid); in ext4_fileattr_set()
/openbmc/linux/fs/f2fs/
H A Dfile.c3221 fa->fsx_projid = from_kprojid(&init_user_ns, fi->i_projid); in f2fs_fileattr_get()
3250 err = f2fs_ioc_setproject(inode, fa->fsx_projid); in f2fs_fileattr_set()