Searched refs:projid (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/include/linux/ |
D | projid.h | 26 static inline projid_t __kprojid_val(kprojid_t projid) in __kprojid_val() argument 28 return projid.val; in __kprojid_val() 46 static inline bool projid_valid(kprojid_t projid) in projid_valid() argument 48 return !projid_eq(projid, INVALID_PROJID); in projid_valid() 53 extern kprojid_t make_kprojid(struct user_namespace *from, projid_t projid); 55 extern projid_t from_kprojid(struct user_namespace *to, kprojid_t projid); 56 extern projid_t from_kprojid_munged(struct user_namespace *to, kprojid_t projid); 58 static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) in kprojid_has_mapping() argument 60 return from_kprojid(ns, projid) != (projid_t)-1; in kprojid_has_mapping() 65 static inline kprojid_t make_kprojid(struct user_namespace *from, projid_t projid) in make_kprojid() argument [all …]
|
D | quota.h | 72 kprojid_t projid; member 111 kqid.projid = make_kprojid(from, qid); in make_kqid() 138 kqid.projid = INVALID_PROJID; in make_kqid_invalid() 174 static inline struct kqid make_kqid_projid(kprojid_t projid) in make_kqid_projid() argument 178 kqid.projid = projid; in make_kqid_projid()
|
/linux-6.1.9/fs/quota/ |
D | kqid.c | 23 return projid_eq(left.projid, right.projid); in qid_eq() 49 return projid_lt(left.projid, right.projid); in qid_lt() 76 return from_kprojid(targ, kqid.projid); in from_kqid() 109 return from_kprojid_munged(targ, kqid.projid); in from_kqid_munged() 128 return projid_valid(qid.projid); in qid_valid()
|
D | dquot.c | 1459 kprojid_t projid; in __dquot_initialize() local 1486 rc = inode->i_sb->dq_op->get_projid(inode, &projid); in __dquot_initialize() 1489 qid = make_kqid_projid(projid); in __dquot_initialize()
|
/linux-6.1.9/kernel/ |
D | user_namespace.c | 543 kprojid_t make_kprojid(struct user_namespace *ns, projid_t projid) in make_kprojid() argument 546 return KPROJIDT_INIT(map_id_down(&ns->projid_map, projid)); in make_kprojid() 589 projid_t projid; in from_kprojid_munged() local 590 projid = from_kprojid(targ, kprojid); in from_kprojid_munged() 592 if (projid == (projid_t) -1) in from_kprojid_munged() 593 projid = OVERFLOW_PROJID; in from_kprojid_munged() 594 return projid; in from_kprojid_munged()
|
/linux-6.1.9/fs/ext4/ |
D | ioctl.c | 704 static int ext4_ioctl_setproject(struct inode *inode, __u32 projid) in ext4_ioctl_setproject() argument 716 if (projid != EXT4_DEF_PROJID) in ext4_ioctl_setproject() 725 kprojid = make_kprojid(&init_user_ns, (projid_t)projid); in ext4_ioctl_setproject() 790 static int ext4_ioctl_setproject(struct inode *inode, __u32 projid) in ext4_ioctl_setproject() argument 792 if (projid != EXT4_DEF_PROJID) in ext4_ioctl_setproject()
|
D | inode.c | 4737 int ext4_get_projid(struct inode *inode, kprojid_t *projid) in ext4_get_projid() argument 4741 *projid = EXT4_I(inode)->i_projid; in ext4_get_projid()
|
D | ext4.h | 3008 extern int ext4_get_projid(struct inode *inode, kprojid_t *projid);
|
D | super.c | 6624 kprojid_t projid, struct kstatfs *buf) in ext4_statfs_project() argument 6631 qid = make_kqid_projid(projid); in ext4_statfs_project()
|
/linux-6.1.9/fs/f2fs/ |
D | file.c | 2997 static int f2fs_ioc_setproject(struct inode *inode, __u32 projid) in f2fs_ioc_setproject() argument 3006 if (projid != F2FS_DEF_PROJID) in f2fs_ioc_setproject() 3015 kprojid = make_kprojid(&init_user_ns, (projid_t)projid); in f2fs_ioc_setproject() 3050 static int f2fs_ioc_setproject(struct inode *inode, __u32 projid) in f2fs_ioc_setproject() argument 3052 if (projid != F2FS_DEF_PROJID) in f2fs_ioc_setproject()
|
D | super.c | 1690 kprojid_t projid, struct kstatfs *buf) in f2fs_statfs_project() argument 1697 qid = make_kqid_projid(projid); in f2fs_statfs_project() 2934 static int f2fs_get_projid(struct inode *inode, kprojid_t *projid) in f2fs_get_projid() argument 2936 *projid = F2FS_I(inode)->i_projid; in f2fs_get_projid()
|