Searched refs:qda (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/fs/gfs2/
H A Dquota.c791 static int do_sync(unsigned int num_qd, struct gfs2_quota_data **qda) do_sync() argument
793 struct gfs2_sbd *sdp = (*qda)->qd_gl->gl_sbd; do_sync()
816 sort(qda, num_qd, sizeof(struct gfs2_quota_data *), sort_qd, NULL); do_sync()
819 error = gfs2_glock_nq_init(qda[qx]->qd_gl, LM_ST_EXCLUSIVE, do_sync()
830 offset = qd2offset(qda[x]); do_sync()
861 qd = qda[x]; do_sync()
1036 struct gfs2_quota_data *qda[4]; gfs2_quota_unlock() local
1070 qda[count++] = qd; gfs2_quota_unlock()
1074 do_sync(count, qda); gfs2_quota_unlock()
1076 qd_unlock(qda[x]); gfs2_quota_unlock()
1195 struct gfs2_quota_data **qda; gfs2_quota_sync() local
1201 qda = kcalloc(max_qd, sizeof(struct gfs2_quota_data *), GFP_KERNEL); gfs2_quota_sync()
1202 if (!qda) gfs2_quota_sync()
1212 error = qd_fish(sdp, qda + num_qd); gfs2_quota_sync()
1213 if (error || !qda[num_qd]) gfs2_quota_sync()
1221 error = do_sync(num_qd, qda); gfs2_quota_sync()
1224 qda[x]->qd_sync_gen = gfs2_quota_sync()
1228 qd_unlock(qda[x]); gfs2_quota_sync()
1233 kfree(qda); gfs2_quota_sync()

Completed in 52 milliseconds