• Home
  • Raw
  • Download

Lines Matching refs:qid

86 				 const struct kqid qid)  in gfs2_qd_hash()  argument
91 h = jhash(&qid, sizeof(struct kqid), h); in gfs2_qd_hash()
196 struct kqid qid = qd->qd_id; in qd2index() local
197 return (2 * (u64)from_kqid(&init_user_ns, qid)) + in qd2index()
198 ((qid.type == USRQUOTA) ? 0 : 1); in qd2index()
211 static struct gfs2_quota_data *qd_alloc(unsigned hash, struct gfs2_sbd *sdp, struct kqid qid) in qd_alloc() argument
223 qd->qd_id = qid; in qd_alloc()
242 struct kqid qid) in gfs2_qd_search_bucket() argument
248 if (!qid_eq(qd->qd_id, qid)) in gfs2_qd_search_bucket()
262 static int qd_get(struct gfs2_sbd *sdp, struct kqid qid, in qd_get() argument
266 unsigned int hash = gfs2_qd_hash(sdp, qid); in qd_get()
269 *qdp = qd = gfs2_qd_search_bucket(hash, sdp, qid); in qd_get()
275 new_qd = qd_alloc(hash, sdp, qid); in qd_get()
281 *qdp = qd = gfs2_qd_search_bucket(hash, sdp, qid); in qd_get()
505 static int qdsb_get(struct gfs2_sbd *sdp, struct kqid qid, in qdsb_get() argument
510 error = qd_get(sdp, qid, qdp); in qdsb_get()
1346 int gfs2_quota_refresh(struct gfs2_sbd *sdp, struct kqid qid) in gfs2_quota_refresh() argument
1352 error = qd_get(sdp, qid, &qd); in gfs2_quota_refresh()
1642 static int gfs2_get_dqblk(struct super_block *sb, struct kqid qid, in gfs2_get_dqblk() argument
1656 if ((qid.type != USRQUOTA) && in gfs2_get_dqblk()
1657 (qid.type != GRPQUOTA)) in gfs2_get_dqblk()
1660 error = qd_get(sdp, qid, &qd); in gfs2_get_dqblk()
1681 static int gfs2_set_dqblk(struct super_block *sb, struct kqid qid, in gfs2_set_dqblk() argument
1697 if ((qid.type != USRQUOTA) && in gfs2_set_dqblk()
1698 (qid.type != GRPQUOTA)) in gfs2_set_dqblk()
1704 error = qd_get(sdp, qid, &qd); in gfs2_set_dqblk()