Home
last modified time | relevance | path

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

/Linux-v6.6/fs/gfs2/
Dinode.c1406 unsigned int num_gh; in gfs2_rename() local
1443 num_gh = 1; in gfs2_rename()
1447 ghs + num_gh); in gfs2_rename()
1448 num_gh++; in gfs2_rename()
1450 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs + num_gh); in gfs2_rename()
1451 num_gh++; in gfs2_rename()
1455 ghs + num_gh); in gfs2_rename()
1456 num_gh++; in gfs2_rename()
1459 for (x = 0; x < num_gh; x++) { in gfs2_rename()
1464 error = gfs2_glock_async_wait(num_gh, ghs); in gfs2_rename()
[all …]
Dglock.h207 extern int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs);
215 extern int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs);
216 extern void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs);
Dglock.c1342 static int glocks_pending(unsigned int num_gh, struct gfs2_holder *ghs) in glocks_pending() argument
1346 for (i = 0; i < num_gh; i++) in glocks_pending()
1362 int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_async_wait() argument
1373 for (i = 0; i < num_gh; i++) in gfs2_glock_async_wait()
1377 !glocks_pending(num_gh, ghs), timeout)) { in gfs2_glock_async_wait()
1382 for (i = 0; i < num_gh; i++) { in gfs2_glock_async_wait()
1397 for (i = 0; i < num_gh; i++) { in gfs2_glock_async_wait()
1773 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs, in nq_m_sync() argument
1779 for (x = 0; x < num_gh; x++) in nq_m_sync()
1782 sort(p, num_gh, sizeof(struct gfs2_holder *), glock_compare, NULL); in nq_m_sync()
[all …]