Home
last modified time | relevance | path

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

/linux-4.19.296/fs/gfs2/
Dinode.c1357 unsigned int num_gh; in gfs2_rename() local
1393 num_gh = 1; in gfs2_rename()
1396 gfs2_holder_init(ndip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + num_gh); in gfs2_rename()
1397 num_gh++; in gfs2_rename()
1399 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + num_gh); in gfs2_rename()
1400 num_gh++; in gfs2_rename()
1403 gfs2_holder_init(nip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + num_gh); in gfs2_rename()
1404 num_gh++; in gfs2_rename()
1411 gfs2_holder_init(nrgd->rd_gl, LM_ST_EXCLUSIVE, 0, ghs + num_gh++); in gfs2_rename()
1414 for (x = 0; x < num_gh; x++) { in gfs2_rename()
[all …]
Dglock.h203 extern int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs);
204 extern void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs);
Dglock.c1261 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs, in nq_m_sync() argument
1267 for (x = 0; x < num_gh; x++) in nq_m_sync()
1270 sort(p, num_gh, sizeof(struct gfs2_holder *), glock_compare, NULL); in nq_m_sync()
1272 for (x = 0; x < num_gh; x++) { in nq_m_sync()
1296 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_nq_m() argument
1302 switch(num_gh) { in gfs2_glock_nq_m()
1309 if (num_gh <= 4) in gfs2_glock_nq_m()
1311 pph = kmalloc_array(num_gh, sizeof(struct gfs2_holder *), in gfs2_glock_nq_m()
1317 error = nq_m_sync(num_gh, ghs, pph); in gfs2_glock_nq_m()
1332 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_dq_m() argument
[all …]