Lines Matching refs:gh

486 	struct gfs2_holder gh;  in gfs2_statfs_init()  local
490 &gh); in gfs2_statfs_init()
521 gfs2_glock_dq_uninit(&gh); in gfs2_statfs_init()
589 struct gfs2_holder gh; in gfs2_statfs_sync() local
595 &gh); in gfs2_statfs_sync()
630 gfs2_glock_dq_uninit(&gh); in gfs2_statfs_sync()
638 struct gfs2_holder gh; member
668 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh); in gfs2_lock_fs_check_clean()
699 gfs2_glock_dq_uninit(&lfcc->gh); in gfs2_lock_fs_check_clean()
798 struct gfs2_holder gh; in gfs2_dirty_inode() local
808 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_dirty_inode()
837 gfs2_glock_dq_uninit(&gh); in gfs2_dirty_inode()
1096 struct gfs2_holder *gha, *gh; in gfs2_statfs_slow() local
1115 gh = gha + x; in gfs2_statfs_slow()
1117 if (gfs2_holder_initialized(gh) && gfs2_glock_poll(gh)) { in gfs2_statfs_slow()
1118 err = gfs2_glock_wait(gh); in gfs2_statfs_slow()
1120 gfs2_holder_uninit(gh); in gfs2_statfs_slow()
1125 gfs2_glock2rgrp(gh->gh_gl); in gfs2_statfs_slow()
1129 gfs2_glock_dq_uninit(gh); in gfs2_statfs_slow()
1133 if (gfs2_holder_initialized(gh)) in gfs2_statfs_slow()
1139 gh); in gfs2_statfs_slow()
1494 struct gfs2_holder gh; in gfs2_dinode_dealloc() local
1517 error = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_dinode_dealloc()
1533 gfs2_glock_dq_uninit(&gh); in gfs2_dinode_dealloc()
1581 struct gfs2_holder gh; in gfs2_evict_inode() local
1603 gfs2_holder_mark_uninitialized(&gh); in gfs2_evict_inode()
1612 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, &gh); in gfs2_evict_inode()
1710 if (gfs2_holder_initialized(&gh)) { in gfs2_evict_inode()
1712 gfs2_glock_dq_uninit(&gh); in gfs2_evict_inode()