Searched refs:kqid (Results 1 – 13 of 13) sorted by relevance
/linux-4.1.27/include/linux/ |
D | quota.h | 68 struct kqid { /* Type in which we store the quota identifier */ struct 77 extern bool qid_eq(struct kqid left, struct kqid right); argument 78 extern bool qid_lt(struct kqid left, struct kqid right); 79 extern qid_t from_kqid(struct user_namespace *to, struct kqid qid); 80 extern qid_t from_kqid_munged(struct user_namespace *to, struct kqid qid); 81 extern bool qid_valid(struct kqid qid); 97 static inline struct kqid make_kqid(struct user_namespace *from, in make_kqid() 100 struct kqid kqid; in make_kqid() local 102 kqid.type = type; in make_kqid() 105 kqid.uid = make_kuid(from, qid); in make_kqid() [all …]
|
D | quotaops.h | 48 struct dquot *dqget(struct super_block *sb, struct kqid qid); 100 int dquot_get_dqblk(struct super_block *sb, struct kqid id, 102 int dquot_set_dqblk(struct super_block *sb, struct kqid id,
|
/linux-4.1.27/fs/quota/ |
D | kqid.c | 12 bool qid_eq(struct kqid left, struct kqid right) in qid_eq() 36 bool qid_lt(struct kqid left, struct kqid right) in qid_lt() 67 qid_t from_kqid(struct user_namespace *targ, struct kqid kqid) in from_kqid() argument 69 switch (kqid.type) { in from_kqid() 71 return from_kuid(targ, kqid.uid); in from_kqid() 73 return from_kgid(targ, kqid.gid); in from_kqid() 75 return from_kprojid(targ, kqid.projid); in from_kqid() 100 qid_t from_kqid_munged(struct user_namespace *targ, struct kqid kqid) in from_kqid_munged() argument 102 switch (kqid.type) { in from_kqid_munged() 104 return from_kuid_munged(targ, kqid.uid); in from_kqid_munged() [all …]
|
D | Makefile | 5 obj-$(CONFIG_QUOTACTL) += quota.o kqid.o
|
D | netlink.c | 44 void quota_send_warning(struct kqid qid, dev_t dev, in quota_send_warning()
|
D | quota.c | 206 struct kqid qid; in quota_getquota() 256 struct kqid qid; in quota_setquota() 549 struct kqid qid; in quota_setxquota() 611 struct kqid qid; in quota_getxquota()
|
D | dquot.c | 253 hashfn(const struct super_block *sb, struct kqid qid) in hashfn() 279 struct kqid qid) in find_dquot() 832 struct dquot *dqget(struct super_block *sb, struct kqid qid) in dqget() 1137 struct kqid w_dq_id; 1407 struct kqid qid; in __dquot_initialize() 2514 int dquot_get_dqblk(struct super_block *sb, struct kqid qid, in dquot_get_dqblk() 2626 int dquot_set_dqblk(struct super_block *sb, struct kqid qid, in dquot_set_dqblk()
|
D | quota_tree.c | 25 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index()
|
/linux-4.1.27/fs/gfs2/ |
D | quota.c | 89 const struct kqid qid) in gfs2_qd_hash() 94 h = jhash(&qid, sizeof(struct kqid), h); in gfs2_qd_hash() 199 struct kqid qid = qd->qd_id; in qd2index() 214 static struct gfs2_quota_data *qd_alloc(unsigned hash, struct gfs2_sbd *sdp, struct kqid qid) in qd_alloc() 245 struct kqid qid) in gfs2_qd_search_bucket() 265 static int qd_get(struct gfs2_sbd *sdp, struct kqid qid, in qd_get() 497 static int qdsb_get(struct gfs2_sbd *sdp, struct kqid qid, in qdsb_get() 1238 int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid) in gfs2_quota_refresh() 1311 struct kqid qc_id = make_kqid(&init_user_ns, qtype, in gfs2_quota_init() 1528 static int gfs2_get_dqblk(struct super_block *sb, struct kqid qid, in gfs2_get_dqblk() [all …]
|
D | quota.h | 33 extern int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid);
|
D | sys.c | 177 struct kqid qid; in quota_refresh_user_store() 197 struct kqid qid; in quota_refresh_group_store()
|
D | incore.h | 440 struct kqid qd_id;
|
/linux-4.1.27/fs/xfs/ |
D | xfs_quotaops.c | 230 struct kqid qid, in xfs_fs_get_dqblk() 247 struct kqid qid, in xfs_fs_set_dqblk()
|