Lines Matching defs:qda
891 static int do_sync(unsigned int num_qd, struct gfs2_quota_data **qda)
893 struct gfs2_sbd *sdp = (*qda)->qd_gl->gl_name.ln_sbd;
918 sort(qda, num_qd, sizeof(struct gfs2_quota_data *), sort_qd, NULL);
921 error = gfs2_glock_nq_init(qda[qx]->qd_gl, LM_ST_EXCLUSIVE,
932 offset = qd2offset(qda[x]);
963 qd = qda[x];
1140 struct gfs2_quota_data *qda[4];
1174 qda[count++] = qd;
1178 do_sync(count, qda);
1180 qd_unlock(qda[x]);
1303 struct gfs2_quota_data **qda;
1309 qda = kcalloc(max_qd, sizeof(struct gfs2_quota_data *), GFP_KERNEL);
1310 if (!qda)
1320 error = qd_fish(sdp, qda + num_qd);
1321 if (error || !qda[num_qd])
1329 error = do_sync(num_qd, qda);
1332 qda[x]->qd_sync_gen =
1336 qd_unlock(qda[x]);
1341 kfree(qda);