num_gh 967 fs/gfs2/glock.c static int glocks_pending(unsigned int num_gh, struct gfs2_holder *ghs) num_gh 971 fs/gfs2/glock.c for (i = 0; i < num_gh; i++) num_gh 987 fs/gfs2/glock.c int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs) num_gh 999 fs/gfs2/glock.c for (i = 0; i < num_gh; i++) num_gh 1004 fs/gfs2/glock.c !glocks_pending(num_gh, ghs), timeout)) num_gh 1022 fs/gfs2/glock.c for (i = 0; i < num_gh; i++) { num_gh 1355 fs/gfs2/glock.c static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs, num_gh 1361 fs/gfs2/glock.c for (x = 0; x < num_gh; x++) num_gh 1364 fs/gfs2/glock.c sort(p, num_gh, sizeof(struct gfs2_holder *), glock_compare, NULL); num_gh 1366 fs/gfs2/glock.c for (x = 0; x < num_gh; x++) { num_gh 1390 fs/gfs2/glock.c int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs) num_gh 1396 fs/gfs2/glock.c switch(num_gh) { num_gh 1403 fs/gfs2/glock.c if (num_gh <= 4) num_gh 1405 fs/gfs2/glock.c pph = kmalloc_array(num_gh, sizeof(struct gfs2_holder *), num_gh 1411 fs/gfs2/glock.c error = nq_m_sync(num_gh, ghs, pph); num_gh 1426 fs/gfs2/glock.c void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs) num_gh 1428 fs/gfs2/glock.c while (num_gh--) num_gh 1429 fs/gfs2/glock.c gfs2_glock_dq(&ghs[num_gh]); num_gh 193 fs/gfs2/glock.h extern int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs); num_gh 201 fs/gfs2/glock.h extern int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs); num_gh 202 fs/gfs2/glock.h extern void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs); num_gh 1353 fs/gfs2/inode.c unsigned int num_gh; num_gh 1390 fs/gfs2/inode.c num_gh = 1; num_gh 1394 fs/gfs2/inode.c ghs + num_gh); num_gh 1395 fs/gfs2/inode.c num_gh++; num_gh 1397 fs/gfs2/inode.c gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs + num_gh); num_gh 1398 fs/gfs2/inode.c num_gh++; num_gh 1402 fs/gfs2/inode.c ghs + num_gh); num_gh 1403 fs/gfs2/inode.c num_gh++; num_gh 1406 fs/gfs2/inode.c for (x = 0; x < num_gh; x++) { num_gh 1411 fs/gfs2/inode.c error = gfs2_glock_async_wait(num_gh, ghs); num_gh 1595 fs/gfs2/inode.c unsigned int num_gh; num_gh 1627 fs/gfs2/inode.c num_gh = 1; num_gh 1631 fs/gfs2/inode.c ghs + num_gh); num_gh 1632 fs/gfs2/inode.c num_gh++; num_gh 1634 fs/gfs2/inode.c gfs2_holder_init(oip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs + num_gh); num_gh 1635 fs/gfs2/inode.c num_gh++; num_gh 1637 fs/gfs2/inode.c gfs2_holder_init(nip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs + num_gh); num_gh 1638 fs/gfs2/inode.c num_gh++; num_gh 1640 fs/gfs2/inode.c for (x = 0; x < num_gh; x++) { num_gh 1646 fs/gfs2/inode.c error = gfs2_glock_async_wait(num_gh, ghs);