Searched refs:num_gh (Results 1 – 3 of 3) sorted by relevance
| /linux/fs/gfs2/ |
| H A D | inode.c | 1495 unsigned int num_gh; in gfs2_rename() local 1532 num_gh = 1; in gfs2_rename() 1536 ghs + num_gh); in gfs2_rename() 1537 num_gh++; in gfs2_rename() 1539 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs + num_gh); in gfs2_rename() 1540 num_gh++; in gfs2_rename() 1544 ghs + num_gh); in gfs2_rename() 1545 num_gh++; in gfs2_rename() 1549 for (x = 0; x < num_gh; x++) { in gfs2_rename() 1554 error = gfs2_glock_async_wait(num_gh, ghs, retries); in gfs2_rename() [all …]
|
| H A D | glock.h | 207 int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs, 216 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs); 217 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs);
|
| H A D | glock.c | 1274 static int glocks_pending(unsigned int num_gh, struct gfs2_holder *ghs) in glocks_pending() argument 1278 for (i = 0; i < num_gh; i++) in glocks_pending() 1295 int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs, in gfs2_glock_async_wait() argument 1321 !glocks_pending(num_gh, ghs), timeout)) { in gfs2_glock_async_wait() 1328 for (i = 0; i < num_gh; i++) { in gfs2_glock_async_wait() 1343 for (i = 0; i < num_gh; 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 1727 for (x = 0; x < num_gh; x++) in nq_m_sync() 1730 sort(p, num_gh, sizeof(struct gfs2_holder *), glock_compare, NULL); in nq_m_sync() 1732 for (x = 0; x < num_gh; x++) { in nq_m_sync() [all …]
|