Lines Matching refs:ghs
1351 static int glocks_pending(unsigned int num_gh, struct gfs2_holder *ghs) in glocks_pending() argument
1356 if (test_bit(HIF_WAIT, &ghs[i].gh_iflags)) in glocks_pending()
1371 int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_async_wait() argument
1373 struct gfs2_sbd *sdp = ghs[0].gh_gl->gl_name.ln_sbd; in gfs2_glock_async_wait()
1383 timeout += ghs[i].gh_gl->gl_hold_time << 1; in gfs2_glock_async_wait()
1386 !glocks_pending(num_gh, ghs), timeout)) { in gfs2_glock_async_wait()
1392 struct gfs2_holder *gh = &ghs[i]; in gfs2_glock_async_wait()
1407 struct gfs2_holder *gh = &ghs[i]; in gfs2_glock_async_wait()
1804 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs, in nq_m_sync() argument
1811 p[x] = &ghs[x]; in nq_m_sync()
1836 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_nq_m() argument
1846 return gfs2_glock_nq(ghs); in gfs2_glock_nq_m()
1856 error = nq_m_sync(num_gh, ghs, pph); in gfs2_glock_nq_m()
1871 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_dq_m() argument
1874 gfs2_glock_dq(&ghs[num_gh]); in gfs2_glock_dq_m()