Lines Matching refs:gh

183 	struct gfs2_holder gh;  in gfs2_statfs_init()  local
187 &gh); in gfs2_statfs_init()
212 gfs2_glock_dq_uninit(&gh); in gfs2_statfs_init()
272 struct gfs2_holder gh; in gfs2_statfs_sync() local
277 &gh); in gfs2_statfs_sync()
306 gfs2_glock_dq_uninit(&gh); in gfs2_statfs_sync()
313 struct gfs2_holder gh; member
340 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh); in gfs2_lock_fs_check_clean()
373 gfs2_glock_dq_uninit(&lfcc->gh); in gfs2_lock_fs_check_clean()
472 struct gfs2_holder gh; in gfs2_dirty_inode() local
480 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_dirty_inode()
510 gfs2_glock_dq_uninit(&gh); in gfs2_dirty_inode()
777 struct gfs2_holder *gha, *gh; in gfs2_statfs_slow() local
796 gh = gha + x; in gfs2_statfs_slow()
798 if (gfs2_holder_initialized(gh) && gfs2_glock_poll(gh)) { in gfs2_statfs_slow()
799 err = gfs2_glock_wait(gh); in gfs2_statfs_slow()
801 gfs2_holder_uninit(gh); in gfs2_statfs_slow()
806 gfs2_glock2rgrp(gh->gh_gl); in gfs2_statfs_slow()
810 gfs2_glock_dq_uninit(gh); in gfs2_statfs_slow()
814 if (gfs2_holder_initialized(gh)) in gfs2_statfs_slow()
820 gh); in gfs2_statfs_slow()
1091 struct gfs2_holder gh; in gfs2_dinode_dealloc() local
1115 LM_FLAG_NODE_SCOPE, &gh); in gfs2_dinode_dealloc()
1131 gfs2_glock_dq_uninit(&gh); in gfs2_dinode_dealloc()
1157 struct gfs2_holder *gh = &ip->i_iopen_gh; in gfs2_upgrade_iopen_glock() local
1161 gh->gh_flags |= GL_NOCACHE; in gfs2_upgrade_iopen_glock()
1162 gfs2_glock_dq_wait(gh); in gfs2_upgrade_iopen_glock()
1181 gfs2_holder_reinit(LM_ST_EXCLUSIVE, LM_FLAG_TRY_1CB | GL_NOCACHE, gh); in gfs2_upgrade_iopen_glock()
1182 error = gfs2_glock_nq(gh); in gfs2_upgrade_iopen_glock()
1186 gfs2_holder_reinit(LM_ST_EXCLUSIVE, GL_ASYNC | GL_NOCACHE, gh); in gfs2_upgrade_iopen_glock()
1187 error = gfs2_glock_nq(gh); in gfs2_upgrade_iopen_glock()
1192 !test_bit(HIF_WAIT, &gh->gh_iflags) || in gfs2_upgrade_iopen_glock()
1195 if (!test_bit(HIF_HOLDER, &gh->gh_iflags)) { in gfs2_upgrade_iopen_glock()
1196 gfs2_glock_dq(gh); in gfs2_upgrade_iopen_glock()
1213 struct gfs2_holder *gh) in evict_should_delete() argument
1233 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, gh); in evict_should_delete()
1248 ret = gfs2_instantiate(gh); in evict_should_delete()
1368 struct gfs2_holder gh; in gfs2_evict_inode() local
1379 gfs2_holder_mark_uninitialized(&gh); in gfs2_evict_inode()
1380 ret = evict_should_delete(inode, &gh); in gfs2_evict_inode()
1391 if (gfs2_holder_initialized(&gh)) { in gfs2_evict_inode()
1393 gfs2_glock_dq_uninit(&gh); in gfs2_evict_inode()