Lines Matching defs:qda
908 static int do_sync(unsigned int num_qd, struct gfs2_quota_data **qda)
910 struct gfs2_sbd *sdp = (*qda)->qd_sbd;
929 sort(qda, num_qd, sizeof(struct gfs2_quota_data *), sort_qd, NULL);
932 error = gfs2_glock_nq_init(qda[qx]->qd_gl, LM_ST_EXCLUSIVE,
943 offset = qd2offset(qda[x]);
974 qd = qda[x];
1000 qda[x]->qd_sync_gen = sdp->sd_quota_sync_gen;
1153 struct gfs2_quota_data *qda[2 * GFS2_MAXQUOTAS];
1180 qda[count++] = qd;
1184 do_sync(count, qda);
1186 qd_unlock(qda[x]);
1329 struct gfs2_quota_data **qda;
1338 qda = kcalloc(max_qd, sizeof(struct gfs2_quota_data *), GFP_KERNEL);
1339 if (!qda)
1349 error = qd_fish(sdp, qda + num_qd);
1350 if (error || !qda[num_qd])
1358 error = do_sync(num_qd, qda);
1361 qd_unlock(qda[x]);
1366 kfree(qda);