Home
last modified time | relevance | path

Searched refs:kqid (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dquota.h68 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 …]
Ddqblk_qtree.h19 struct kqid;
57 int qtree_get_next_id(struct qtree_mem_dqinfo *info, struct kqid *qid);
Dquotaops.h45 struct dquot *dqget(struct super_block *sb, struct kqid qid);
92 int dquot_get_next_id(struct super_block *sb, struct kqid *qid);
110 int dquot_get_dqblk(struct super_block *sb, struct kqid id,
112 int dquot_get_next_dqblk(struct super_block *sb, struct kqid *id,
114 int dquot_set_dqblk(struct super_block *sb, struct kqid id,
/kernel/linux/linux-5.10/fs/quota/
Dkqid.c13 bool qid_eq(struct kqid left, struct kqid right) in qid_eq()
37 bool qid_lt(struct kqid left, struct kqid right) in qid_lt()
68 qid_t from_kqid(struct user_namespace *targ, struct kqid kqid) in from_kqid() argument
70 switch (kqid.type) { in from_kqid()
72 return from_kuid(targ, kqid.uid); in from_kqid()
74 return from_kgid(targ, kqid.gid); in from_kqid()
76 return from_kprojid(targ, kqid.projid); in from_kqid()
101 qid_t from_kqid_munged(struct user_namespace *targ, struct kqid kqid) in from_kqid_munged() argument
103 switch (kqid.type) { in from_kqid_munged()
105 return from_kuid_munged(targ, kqid.uid); in from_kqid_munged()
[all …]
DMakefile6 obj-$(CONFIG_QUOTACTL) += quota.o kqid.o
Dnetlink.c37 void quota_send_warning(struct kqid qid, dev_t dev, in quota_send_warning()
Dquota.c201 struct kqid qid; in quota_getquota()
237 struct kqid qid; in quota_getnextquota()
289 struct kqid qid; in quota_setquota()
625 struct kqid qid; in quota_setxquota()
706 struct kqid qid; in quota_getxquota()
732 struct kqid qid; in quota_getnextxquota()
Ddquot.c277 hashfn(const struct super_block *sb, struct kqid qid) in hashfn()
303 struct kqid qid) in find_dquot()
920 struct dquot *dqget(struct super_block *sb, struct kqid qid) in dqget()
1218 struct kqid w_dq_id;
1518 struct kqid qid; in __dquot_initialize()
2198 int dquot_get_next_id(struct super_block *sb, struct kqid *qid) in dquot_get_next_id()
2686 int dquot_get_dqblk(struct super_block *sb, struct kqid qid, in dquot_get_dqblk()
2701 int dquot_get_next_dqblk(struct super_block *sb, struct kqid *qid, in dquot_get_next_dqblk()
2819 int dquot_set_dqblk(struct super_block *sb, struct kqid qid, in dquot_set_dqblk()
Dquota_tree.c36 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index()
776 int qtree_get_next_id(struct qtree_mem_dqinfo *info, struct kqid *qid) in qtree_get_next_id()
Dquota_v2.c386 static int v2_get_next_id(struct super_block *sb, struct kqid *qid) in v2_get_next_id()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_quotaops.c220 struct kqid qid, in xfs_fs_get_dqblk()
239 struct kqid *qid, in xfs_fs_get_nextdqblk()
265 struct kqid qid, in xfs_fs_set_dqblk()
/kernel/linux/linux-5.10/fs/gfs2/
Dquota.c86 const struct kqid qid) in gfs2_qd_hash()
91 h = jhash(&qid, sizeof(struct kqid), h); in gfs2_qd_hash()
196 struct kqid qid = qd->qd_id; in qd2index()
211 static struct gfs2_quota_data *qd_alloc(unsigned hash, struct gfs2_sbd *sdp, struct kqid qid) in qd_alloc()
242 struct kqid qid) in gfs2_qd_search_bucket()
262 static int qd_get(struct gfs2_sbd *sdp, struct kqid qid, in qd_get()
494 static int qdsb_get(struct gfs2_sbd *sdp, struct kqid qid, in qdsb_get()
1335 int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid) in gfs2_quota_refresh()
1408 struct kqid qc_id = make_kqid(&init_user_ns, qtype, in gfs2_quota_init()
1631 static int gfs2_get_dqblk(struct super_block *sb, struct kqid qid, in gfs2_get_dqblk()
[all …]
Dquota.h32 extern int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid);
Dsys.c186 struct kqid qid; in quota_refresh_user_store()
208 struct kqid qid; in quota_refresh_group_store()
Dincore.h465 struct kqid qd_id;
/kernel/linux/linux-5.10/fs/ocfs2/
Dquota_global.c877 static int ocfs2_get_next_id(struct super_block *sb, struct kqid *qid) in ocfs2_get_next_id()
/kernel/linux/linux-5.10/fs/f2fs/
Dsuper.c1423 struct kqid qid; in f2fs_statfs_project()
/kernel/linux/linux-5.10/fs/ext4/
Dsuper.c6153 struct kqid qid; in ext4_statfs_project()