Lines Matching refs:qda
636 static int do_sync(unsigned int num_qd, struct gfs2_quota_data **qda)
638 struct gfs2_sbd *sdp = (*qda)->qd_gl->gl_sbd;
656 sort(qda, num_qd, sizeof(struct gfs2_quota_data *), sort_qd, NULL);
658 error = gfs2_glock_nq_init(qda[qx]->qd_gl,
672 offset = qd2offset(qda[x]);
708 qd = qda[x];
879 struct gfs2_quota_data *qda[4];
896 qda[count++] = qd;
900 do_sync(count, qda);
902 qd_unlock(qda[x]);
993 struct gfs2_quota_data **qda;
1001 qda = kcalloc(max_qd, sizeof(struct gfs2_quota_data *), GFP_KERNEL);
1002 if (!qda)
1009 error = qd_fish(sdp, qda + num_qd);
1010 if (error || !qda[num_qd])
1018 error = do_sync(num_qd, qda);
1021 qda[x]->qd_sync_gen =
1025 qd_unlock(qda[x]);
1029 kfree(qda);