Searched refs:num_gh (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/fs/gfs2/ |
| D | inode.c | 1388 unsigned int num_gh; in gfs2_rename() local 1425 num_gh = 1; in gfs2_rename() 1429 ghs + num_gh); in gfs2_rename() 1430 num_gh++; in gfs2_rename() 1432 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs + num_gh); in gfs2_rename() 1433 num_gh++; in gfs2_rename() 1437 ghs + num_gh); in gfs2_rename() 1438 num_gh++; in gfs2_rename() 1441 for (x = 0; x < num_gh; x++) { in gfs2_rename() 1446 error = gfs2_glock_async_wait(num_gh, ghs); in gfs2_rename() [all …]
|
| D | glock.h | 199 extern int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs); 207 extern int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs); 208 extern void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs);
|
| D | glock.c | 1198 static int glocks_pending(unsigned int num_gh, struct gfs2_holder *ghs) in glocks_pending() argument 1202 for (i = 0; i < num_gh; i++) in glocks_pending() 1218 int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_async_wait() argument 1230 for (i = 0; i < num_gh; i++) in gfs2_glock_async_wait() 1235 !glocks_pending(num_gh, ghs), timeout)) in gfs2_glock_async_wait() 1253 for (i = 0; i < num_gh; i++) { in gfs2_glock_async_wait() 1597 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs, in nq_m_sync() argument 1603 for (x = 0; x < num_gh; x++) in nq_m_sync() 1606 sort(p, num_gh, sizeof(struct gfs2_holder *), glock_compare, NULL); in nq_m_sync() 1608 for (x = 0; x < num_gh; x++) { in nq_m_sync() [all …]
|