Home
last modified time | relevance | path

Searched refs:num_gh (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/gfs2/
H A Dinode.c1407 unsigned int num_gh; in gfs2_rename() local
1444 num_gh = 1; in gfs2_rename()
1448 ghs + num_gh); in gfs2_rename()
1449 num_gh++; in gfs2_rename()
1451 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs + num_gh); in gfs2_rename()
1452 num_gh++; in gfs2_rename()
1456 ghs + num_gh); in gfs2_rename()
1457 num_gh++; in gfs2_rename()
1460 for (x = 0; x < num_gh; x++) { in gfs2_rename()
1465 error = gfs2_glock_async_wait(num_gh, ghs); in gfs2_rename()
[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.c1382 static int glocks_pending(unsigned int num_gh, struct gfs2_holder *ghs) in glocks_pending() argument
1386 for (i = 0; i < num_gh; i++) in glocks_pending()
1402 int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_async_wait() argument
1413 for (i = 0; i < num_gh; i++) in gfs2_glock_async_wait()
1417 !glocks_pending(num_gh, ghs), timeout)) { in gfs2_glock_async_wait()
1422 for (i = 0; i < num_gh; i++) { in gfs2_glock_async_wait()
1437 for (i = 0; i < num_gh; i++) { in gfs2_glock_async_wait()
1813 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs, in nq_m_sync() argument
1819 for (x = 0; x < num_gh; x++) in nq_m_sync()
1822 sort(p, num_gh, sizeof(struct gfs2_holder *), glock_compare, NULL); in nq_m_sync()
[all …]