• Home
  • Raw
  • Download

Lines Matching refs:qid

89 				 const struct kqid qid)  in gfs2_qd_hash()  argument
94 h = jhash(&qid, sizeof(struct kqid), h); in gfs2_qd_hash()
199 struct kqid qid = qd->qd_id; in qd2index() local
200 return (2 * (u64)from_kqid(&init_user_ns, qid)) + in qd2index()
201 ((qid.type == USRQUOTA) ? 0 : 1); in qd2index()
214 static struct gfs2_quota_data *qd_alloc(unsigned hash, struct gfs2_sbd *sdp, struct kqid qid) in qd_alloc() argument
226 qd->qd_id = qid; in qd_alloc()
245 struct kqid qid) in gfs2_qd_search_bucket() argument
251 if (!qid_eq(qd->qd_id, qid)) in gfs2_qd_search_bucket()
265 static int qd_get(struct gfs2_sbd *sdp, struct kqid qid, in qd_get() argument
269 unsigned int hash = gfs2_qd_hash(sdp, qid); in qd_get()
272 *qdp = qd = gfs2_qd_search_bucket(hash, sdp, qid); in qd_get()
278 new_qd = qd_alloc(hash, sdp, qid); in qd_get()
284 *qdp = qd = gfs2_qd_search_bucket(hash, sdp, qid); in qd_get()
497 static int qdsb_get(struct gfs2_sbd *sdp, struct kqid qid, in qdsb_get() argument
502 error = qd_get(sdp, qid, qdp); in qdsb_get()
1317 int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid) in gfs2_quota_refresh() argument
1323 error = qd_get(sdp, qid, &qd); in gfs2_quota_refresh()
1607 static int gfs2_get_dqblk(struct super_block *sb, struct kqid qid, in gfs2_get_dqblk() argument
1621 if ((qid.type != USRQUOTA) && in gfs2_get_dqblk()
1622 (qid.type != GRPQUOTA)) in gfs2_get_dqblk()
1625 error = qd_get(sdp, qid, &qd); in gfs2_get_dqblk()
1646 static int gfs2_set_dqblk(struct super_block *sb, struct kqid qid, in gfs2_set_dqblk() argument
1662 if ((qid.type != USRQUOTA) && in gfs2_set_dqblk()
1663 (qid.type != GRPQUOTA)) in gfs2_set_dqblk()
1669 error = qd_get(sdp, qid, &qd); in gfs2_set_dqblk()