Searched refs:ghs (Results 1 – 2 of 2) sorted by relevance
| /linux/fs/gfs2/ |
| H A D | glock.c | 1274 static int glocks_pending(unsigned int num_gh, struct gfs2_holder *ghs) in glocks_pending() argument 1279 if (test_bit(HIF_WAIT, &ghs[i].gh_iflags)) in glocks_pending() 1295 int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs, in gfs2_glock_async_wait() argument 1298 struct gfs2_sbd *sdp = glock_sbd(ghs[0].gh_gl); in gfs2_glock_async_wait() 1321 !glocks_pending(num_gh, ghs), timeout)) { in gfs2_glock_async_wait() 1329 struct gfs2_holder *gh = &ghs[i]; in gfs2_glock_async_wait() 1344 struct gfs2_holder *gh = &ghs[i]; in gfs2_glock_async_wait() 1721 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs, in nq_m_sync() argument 1728 p[x] = &ghs[x]; in nq_m_sync() 1753 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_nq_m() argument [all …]
|
| H A D | quota.c | 900 struct gfs2_holder *ghs, i_gh; in do_sync() local 911 ghs = kmalloc_objs(struct gfs2_holder, num_qd, GFP_NOFS); in do_sync() 912 if (!ghs) in do_sync() 919 GL_NOCACHE, &ghs[qx]); in do_sync() 979 gfs2_glock_dq_uninit(&ghs[qx]); in do_sync() 981 kfree(ghs); in do_sync()
|