/kernel/linux/linux-5.10/include/linux/ |
H A 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); 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); 84 * make_kqid - Map a user-namespace, type, qid tuple into a kqid. 90 * kqid, an 100 struct kqid kqid; make_kqid() local 127 struct kqid kqid; make_kqid_invalid() local 152 struct kqid kqid; make_kqid_uid() local 164 struct kqid kqid; make_kqid_gid() local 176 struct kqid kqid; make_kqid_projid() local [all...] |
H A D | dqblk_qtree.h | 19 struct kqid; 57 int qtree_get_next_id(struct qtree_mem_dqinfo *info, struct kqid *qid);
|
H A D | quotaops.h | 45 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-6.6/include/linux/ |
H A 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); 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); 84 * make_kqid - Map a user-namespace, type, qid tuple into a kqid. 90 * kqid, an 100 struct kqid kqid; make_kqid() local 127 struct kqid kqid; make_kqid_invalid() local 152 struct kqid kqid; make_kqid_uid() local 164 struct kqid kqid; make_kqid_gid() local 176 struct kqid kqid; make_kqid_projid() local [all...] |
H A D | dqblk_qtree.h | 19 struct kqid; 57 int qtree_get_next_id(struct qtree_mem_dqinfo *info, struct kqid *qid);
|
H A D | quotaops.h | 46 struct dquot *dqget(struct super_block *sb, struct kqid qid); 93 int dquot_get_next_id(struct super_block *sb, struct kqid *qid); 111 int dquot_get_dqblk(struct super_block *sb, struct kqid id, 113 int dquot_get_next_dqblk(struct super_block *sb, struct kqid *id, 115 int dquot_set_dqblk(struct super_block *sb, struct kqid id,
|
/kernel/linux/linux-5.10/fs/quota/ |
H A D | kqid.c | 13 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() 57 * from_kqid - Create a qid from a kqid user-namespace pair. 59 * @kqid: The kernel internal quota identifier to start with. 61 * Map @kqid into the user-namespace specified by @targ and 66 * If @kqid has no mapping in @targ (qid_t)-1 is returned. 68 qid_t from_kqid(struct user_namespace *targ, struct kqid kqid) in from_kqid() argument 101 from_kqid_munged(struct user_namespace *targ, struct kqid kqid) from_kqid_munged() argument [all...] |
H A D | netlink.c | 37 void quota_send_warning(struct kqid qid, dev_t dev, in quota_send_warning()
|
H A D | quota.c | 201 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()
|
H A D | dquot.c | 276 hashfn(const struct super_block *sb, struct kqid qid) in hashfn() 302 struct kqid qid) in find_dquot() 934 struct dquot *dqget(struct super_block *sb, struct kqid qid) in dqget() 1232 struct kqid w_dq_id; 1532 struct kqid qid; in __dquot_initialize() 2226 int dquot_get_next_id(struct super_block *sb, struct kqid *qid) in dquot_get_next_id() 2728 int dquot_get_dqblk(struct super_block *sb, struct kqid qid, in dquot_get_dqblk() 2743 int dquot_get_next_dqblk(struct super_block *sb, struct kqid *qid, in dquot_get_next_dqblk() 2861 int dquot_set_dqblk(struct super_block *sb, struct kqid qid, in dquot_set_dqblk()
|
H A D | quota_tree.c | 36 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()
|
/kernel/linux/linux-6.6/fs/quota/ |
H A D | kqid.c | 13 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() 57 * from_kqid - Create a qid from a kqid user-namespace pair. 59 * @kqid: The kernel internal quota identifier to start with. 61 * Map @kqid into the user-namespace specified by @targ and 66 * If @kqid has no mapping in @targ (qid_t)-1 is returned. 68 qid_t from_kqid(struct user_namespace *targ, struct kqid kqid) in from_kqid() argument 101 from_kqid_munged(struct user_namespace *targ, struct kqid kqid) from_kqid_munged() argument [all...] |
H A D | netlink.c | 37 void quota_send_warning(struct kqid qid, dev_t dev, in quota_send_warning()
|
H A D | quota.c | 204 struct kqid qid; in quota_getquota() 240 struct kqid qid; in quota_getnextquota() 292 struct kqid qid; in quota_setquota() 629 struct kqid qid; in quota_setxquota() 710 struct kqid qid; in quota_getxquota() 736 struct kqid qid; in quota_getnextxquota()
|
H A D | dquot.c | 276 hashfn(const struct super_block *sb, struct kqid qid) in hashfn() 302 struct kqid qid) in find_dquot() 932 struct dquot *dqget(struct super_block *sb, struct kqid qid) in dqget() 1180 struct kqid w_dq_id; 1481 struct kqid qid; in __dquot_initialize() 2190 int dquot_get_next_id(struct super_block *sb, struct kqid *qid) in dquot_get_next_id() 2691 int dquot_get_dqblk(struct super_block *sb, struct kqid qid, in dquot_get_dqblk() 2706 int dquot_get_next_dqblk(struct super_block *sb, struct kqid *qid, in dquot_get_next_dqblk() 2824 int dquot_set_dqblk(struct super_block *sb, struct kqid qid, in dquot_set_dqblk()
|
H A D | quota_tree.c | 36 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() 778 int qtree_get_next_id(struct qtree_mem_dqinfo *info, struct kqid *qid) in qtree_get_next_id()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_quotaops.c | 216 struct kqid qid, in xfs_fs_get_dqblk() 233 struct kqid *qid, in xfs_fs_get_nextdqblk() 257 struct kqid qid, in xfs_fs_set_dqblk()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_quotaops.c | 220 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/ |
H A D | quota.c | 86 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() 505 static int qdsb_get(struct gfs2_sbd *sdp, struct kqid qid, in qdsb_get() 1346 int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid) in gfs2_quota_refresh() 1419 struct kqid qc_id = make_kqid(&init_user_ns, qtype, in gfs2_quota_init() 1642 static int gfs2_get_dqblk(struct super_block *sb, struct kqid qi [all...] |
H A D | quota.h | 32 extern int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid);
|
H A D | sys.c | 186 struct kqid qid; in quota_refresh_user_store() 208 struct kqid qid; in quota_refresh_group_store()
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | quota.c | 89 const struct kqid qid) in gfs2_qd_hash() 94 h = jhash(&qid, sizeof(struct kqid), h); in gfs2_qd_hash() 209 struct kqid qid = qd->qd_id; in qd2index() 219 static struct gfs2_quota_data *qd_alloc(unsigned hash, struct gfs2_sbd *sdp, struct kqid qid) in qd_alloc() 250 struct kqid qid) in gfs2_qd_search_bucket() 270 static int qd_get(struct gfs2_sbd *sdp, struct kqid qid, in qd_get() 540 static int qdsb_get(struct gfs2_sbd *sdp, struct kqid qid, in qdsb_get() 1371 int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid) in gfs2_quota_refresh() 1444 struct kqid qc_id = make_kqid(&init_user_ns, qtype, in gfs2_quota_init() 1643 static int gfs2_get_dqblk(struct super_block *sb, struct kqid qi [all...] |
H A D | quota.h | 32 extern int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid);
|
H A D | sys.c | 261 struct kqid qid; in quota_refresh_user_store() 283 struct kqid qid; in quota_refresh_group_store()
|
/kernel/linux/linux-6.6/mm/ |
H A D | shmem_quota.c | 116 static int shmem_get_next_id(struct super_block *sb, struct kqid *qid) in shmem_get_next_id()
|