Searched refs:ghs (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/fs/gfs2/ |
| H A D | inode.c | 1451 ghs + num_gh); in gfs2_rename() 1459 ghs + num_gh); in gfs2_rename() 1464 error = gfs2_glock_nq(ghs + x); in gfs2_rename() 1623 if (gfs2_holder_queued(ghs + x)) in gfs2_rename() 1624 gfs2_glock_dq(ghs + x); in gfs2_rename() 1625 gfs2_holder_uninit(ghs + x); in gfs2_rename() 1655 struct gfs2_holder ghs[4], r_gh; in gfs2_exchange() local 1692 ghs + num_gh); in gfs2_exchange() 1702 error = gfs2_glock_nq(ghs + x); in gfs2_exchange() 1774 gfs2_glock_dq(ghs + x); in gfs2_exchange() [all …]
|
| H A D | glock.h | 193 int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs); 201 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs); 202 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs);
|
| H A D | glock.c | 1362 if (test_bit(HIF_WAIT, &ghs[i].gh_iflags)) in glocks_pending() 1379 struct gfs2_sbd *sdp = ghs[0].gh_gl->gl_name.ln_sbd; in gfs2_glock_async_wait() 1389 timeout += ghs[i].gh_gl->gl_hold_time << 1; in gfs2_glock_async_wait() 1392 !glocks_pending(num_gh, ghs), timeout)) { in gfs2_glock_async_wait() 1398 struct gfs2_holder *gh = &ghs[i]; in gfs2_glock_async_wait() 1413 struct gfs2_holder *gh = &ghs[i]; in gfs2_glock_async_wait() 1794 p[x] = &ghs[x]; in nq_m_sync() 1819 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_nq_m() argument 1829 return gfs2_glock_nq(ghs); in gfs2_glock_nq_m() 1839 error = nq_m_sync(num_gh, ghs, pph); in gfs2_glock_nq_m() [all …]
|
| H A D | quota.c | 899 struct gfs2_holder *ghs, i_gh; in do_sync() local 910 ghs = kmalloc_array(num_qd, sizeof(struct gfs2_holder), GFP_NOFS); in do_sync() 911 if (!ghs) in do_sync() 918 GL_NOCACHE, &ghs[qx]); in do_sync() 978 gfs2_glock_dq_uninit(&ghs[qx]); in do_sync() 980 kfree(ghs); in do_sync()
|