Lines Matching defs:ghs
1264 * @ghs: an array of struct gfs2_holder structures
1270 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs,
1277 p[x] = &ghs[x];
1298 * @ghs: an array of struct gfs2_holder structures
1309 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs)
1320 ghs->gh_flags &= ~(LM_FLAG_TRY | GL_ASYNC);
1321 return gfs2_glock_nq(ghs);
1329 ghs[x].gh_flags |= LM_FLAG_TRY | GL_ASYNC;
1330 error = gfs2_glock_nq(&ghs[x]);
1340 error = e[x] = glock_wait_internal(&ghs[x]);
1355 gfs2_glock_dq(&ghs[x]);
1361 gfs2_holder_reinit(ghs[x].gh_state, ghs[x].gh_flags,
1362 &ghs[x]);
1363 error = nq_m_sync(num_gh, ghs, (struct gfs2_holder **)e);
1374 * @ghs: an array of struct gfs2_holder structures
1378 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs)
1383 gfs2_glock_dq(&ghs[x]);
1389 * @ghs: an array of struct gfs2_holder structures
1393 void gfs2_glock_dq_uninit_m(unsigned int num_gh, struct gfs2_holder *ghs)
1398 gfs2_glock_dq_uninit(&ghs[x]);