Home
last modified time | relevance | path

Searched refs:ghs (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/gfs2/
H A Dinode.c1448 ghs + num_gh); in gfs2_rename()
1456 ghs + num_gh); in gfs2_rename()
1461 error = gfs2_glock_nq(ghs + x); in gfs2_rename()
1620 if (gfs2_holder_queued(ghs + x)) in gfs2_rename()
1621 gfs2_glock_dq(ghs + x); in gfs2_rename()
1622 gfs2_holder_uninit(ghs + x); in gfs2_rename()
1652 struct gfs2_holder ghs[4], r_gh; in gfs2_exchange() local
1689 ghs + num_gh); in gfs2_exchange()
1699 error = gfs2_glock_nq(ghs + x); in gfs2_exchange()
1771 gfs2_glock_dq(ghs + x); in gfs2_exchange()
[all …]
H A Dglock.h207 int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs);
215 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs);
216 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs);
H A Dglock.c1383 if (test_bit(HIF_WAIT, &ghs[i].gh_iflags)) in glocks_pending()
1400 struct gfs2_sbd *sdp = ghs[0].gh_gl->gl_name.ln_sbd; in gfs2_glock_async_wait()
1410 timeout += ghs[i].gh_gl->gl_hold_time << 1; in gfs2_glock_async_wait()
1413 !glocks_pending(num_gh, ghs), timeout)) { in gfs2_glock_async_wait()
1419 struct gfs2_holder *gh = &ghs[i]; in gfs2_glock_async_wait()
1434 struct gfs2_holder *gh = &ghs[i]; in gfs2_glock_async_wait()
1816 p[x] = &ghs[x]; in nq_m_sync()
1841 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_nq_m() argument
1851 return gfs2_glock_nq(ghs); in gfs2_glock_nq_m()
1861 error = nq_m_sync(num_gh, ghs, pph); in gfs2_glock_nq_m()
[all …]
H A Dquota.c909 struct gfs2_holder *ghs, i_gh; in do_sync() local
920 ghs = kmalloc_array(num_qd, sizeof(struct gfs2_holder), GFP_NOFS); in do_sync()
921 if (!ghs) in do_sync()
928 GL_NOCACHE, &ghs[qx]); in do_sync()
988 gfs2_glock_dq_uninit(&ghs[qx]); in do_sync()
990 kfree(ghs); in do_sync()