/linux/include/linux/ |
A 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() 55 extern projid_t from_kprojid(struct user_namespace *to, kprojid_t projid); 60 return from_kprojid(ns, projid) != (projid_t)-1; in kprojid_has_mapping() 67 return KPROJIDT_INIT(projid); in make_kprojid() 77 projid_t projid = from_kprojid(to, kprojid); in from_kprojid_munged() local 78 if (projid == (projid_t)-1) in from_kprojid_munged() 79 projid = OVERFLOW_PROJID; in from_kprojid_munged() [all …]
|
A 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/fs/quota/ |
A 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()
|
A D | dquot.c | 1444 kprojid_t projid; in __dquot_initialize() local 1471 rc = inode->i_sb->dq_op->get_projid(inode, &projid); in __dquot_initialize() 1474 qid = make_kqid_projid(projid); in __dquot_initialize()
|
A D | .kqid.o.cmd | 820 include/linux/projid.h \
|
/linux/kernel/ |
A D | user_namespace.c | 526 kprojid_t make_kprojid(struct user_namespace *ns, projid_t projid) in make_kprojid() argument 529 return KPROJIDT_INIT(map_id_down(&ns->projid_map, projid)); in make_kprojid() 572 projid_t projid; in from_kprojid_munged() local 573 projid = from_kprojid(targ, kprojid); in from_kprojid_munged() 575 if (projid == (projid_t) -1) in from_kprojid_munged() 576 projid = OVERFLOW_PROJID; in from_kprojid_munged() 577 return projid; in from_kprojid_munged()
|
/linux/fs/ext4/ |
A D | ioctl.c | 464 static int ext4_ioctl_setproject(struct inode *inode, __u32 projid) in ext4_ioctl_setproject() argument 476 if (projid != EXT4_DEF_PROJID) in ext4_ioctl_setproject() 485 kprojid = make_kprojid(&init_user_ns, (projid_t)projid); in ext4_ioctl_setproject() 549 static int ext4_ioctl_setproject(struct inode *inode, __u32 projid) in ext4_ioctl_setproject() argument 551 if (projid != EXT4_DEF_PROJID) in ext4_ioctl_setproject()
|
A D | inode.c | 4659 int ext4_get_projid(struct inode *inode, kprojid_t *projid) in ext4_get_projid() argument 4663 *projid = EXT4_I(inode)->i_projid; in ext4_get_projid()
|
/linux/fs/f2fs/ |
A D | file.c | 2983 static int f2fs_ioc_setproject(struct inode *inode, __u32 projid) in f2fs_ioc_setproject() argument 2992 if (projid != F2FS_DEF_PROJID) in f2fs_ioc_setproject() 3001 kprojid = make_kprojid(&init_user_ns, (projid_t)projid); in f2fs_ioc_setproject() 3045 static int f2fs_ioc_setproject(struct inode *inode, __u32 projid) in f2fs_ioc_setproject() argument 3047 if (projid != F2FS_DEF_PROJID) in f2fs_ioc_setproject()
|
A D | super.c | 1641 kprojid_t projid, struct kstatfs *buf) in f2fs_statfs_project() argument 1648 qid = make_kqid_projid(projid); in f2fs_statfs_project() 2867 static int f2fs_get_projid(struct inode *inode, kprojid_t *projid) in f2fs_get_projid() argument 2869 *projid = F2FS_I(inode)->i_projid; in f2fs_get_projid()
|
/linux/fs/ |
A D | .stack.o.cmd | 820 include/linux/projid.h \
|
A D | .bad_inode.o.cmd | 820 include/linux/projid.h \
|
A D | .fs_struct.o.cmd | 820 include/linux/projid.h \
|
A D | .fs_types.o.cmd | 820 include/linux/projid.h \
|
A D | .pnode.o.cmd | 821 include/linux/projid.h \
|
/linux/fs/proc/ |
A D | .version.o.cmd | 820 include/linux/projid.h \
|
A D | .cmdline.o.cmd | 820 include/linux/projid.h \
|
A D | .util.o.cmd | 825 include/linux/projid.h \
|
/linux/drivers/ras/ |
A D | .debugfs.o.cmd | 822 include/linux/projid.h \
|
/linux/lib/ |
A D | .seq_buf.o.cmd | 823 include/linux/projid.h \
|
A D | .sbitmap.o.cmd | 840 include/linux/projid.h \
|
/linux/drivers/spmi/ |
A D | .spmi.o.cmd | 864 include/linux/projid.h \
|
/linux/drivers/base/ |
A D | .auxiliary.o.cmd | 893 include/linux/projid.h \
|
A D | .bus.o.cmd | 894 include/linux/projid.h \
|
A D | .driver.o.cmd | 864 include/linux/projid.h \
|