Home
last modified time | relevance | path

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

/fs/gfs2/
Dinode.c1361 unsigned int num_gh; in gfs2_rename() local
1397 num_gh = 1; in gfs2_rename()
1400 gfs2_holder_init(ndip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + num_gh); in gfs2_rename()
1401 num_gh++; in gfs2_rename()
1403 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + num_gh); in gfs2_rename()
1404 num_gh++; in gfs2_rename()
1407 gfs2_holder_init(nip->i_gl, LM_ST_EXCLUSIVE, 0, ghs + num_gh); in gfs2_rename()
1408 num_gh++; in gfs2_rename()
1415 gfs2_holder_init(nrgd->rd_gl, LM_ST_EXCLUSIVE, 0, ghs + num_gh++); in gfs2_rename()
1418 for (x = 0; x < num_gh; x++) { in gfs2_rename()
[all …]
Dglock.c1148 static int nq_m_sync(unsigned int num_gh, struct gfs2_holder *ghs, in nq_m_sync() argument
1154 for (x = 0; x < num_gh; x++) in nq_m_sync()
1157 sort(p, num_gh, sizeof(struct gfs2_holder *), glock_compare, NULL); in nq_m_sync()
1159 for (x = 0; x < num_gh; x++) { in nq_m_sync()
1183 int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_nq_m() argument
1189 switch(num_gh) { in gfs2_glock_nq_m()
1196 if (num_gh <= 4) in gfs2_glock_nq_m()
1198 pph = kmalloc(num_gh * sizeof(struct gfs2_holder *), GFP_NOFS); in gfs2_glock_nq_m()
1203 error = nq_m_sync(num_gh, ghs, pph); in gfs2_glock_nq_m()
1218 void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs) in gfs2_glock_dq_m() argument
[all …]
Dglock.h200 extern int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs);
201 extern void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs);