• Home
  • Raw
  • Download

Lines Matching refs:gh

187 	struct gfs2_holder gh;  in gfs2_statfs_init()  local
191 &gh); in gfs2_statfs_init()
216 gfs2_glock_dq_uninit(&gh); in gfs2_statfs_init()
276 struct gfs2_holder gh; in gfs2_statfs_sync() local
281 &gh); in gfs2_statfs_sync()
310 gfs2_glock_dq_uninit(&gh); in gfs2_statfs_sync()
317 struct gfs2_holder gh; member
344 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh); in gfs2_lock_fs_check_clean()
378 gfs2_glock_dq_uninit(&lfcc->gh); in gfs2_lock_fs_check_clean()
478 struct gfs2_holder gh; in gfs2_dirty_inode() local
486 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_dirty_inode()
516 gfs2_glock_dq_uninit(&gh); in gfs2_dirty_inode()
783 struct gfs2_holder *gha, *gh; in gfs2_statfs_slow() local
802 gh = gha + x; in gfs2_statfs_slow()
804 if (gfs2_holder_initialized(gh) && gfs2_glock_poll(gh)) { in gfs2_statfs_slow()
805 err = gfs2_glock_wait(gh); in gfs2_statfs_slow()
807 gfs2_holder_uninit(gh); in gfs2_statfs_slow()
812 gfs2_glock2rgrp(gh->gh_gl); in gfs2_statfs_slow()
816 gfs2_glock_dq_uninit(gh); in gfs2_statfs_slow()
820 if (gfs2_holder_initialized(gh)) in gfs2_statfs_slow()
826 gh); in gfs2_statfs_slow()
1101 struct gfs2_holder gh; in gfs2_dinode_dealloc() local
1125 LM_FLAG_NODE_SCOPE, &gh); in gfs2_dinode_dealloc()
1141 gfs2_glock_dq_uninit(&gh); in gfs2_dinode_dealloc()
1167 struct gfs2_holder *gh = &ip->i_iopen_gh; in gfs2_upgrade_iopen_glock() local
1171 gh->gh_flags |= GL_NOCACHE; in gfs2_upgrade_iopen_glock()
1172 gfs2_glock_dq_wait(gh); in gfs2_upgrade_iopen_glock()
1191 gfs2_holder_reinit(LM_ST_EXCLUSIVE, LM_FLAG_TRY_1CB | GL_NOCACHE, gh); in gfs2_upgrade_iopen_glock()
1192 error = gfs2_glock_nq(gh); in gfs2_upgrade_iopen_glock()
1196 gfs2_holder_reinit(LM_ST_EXCLUSIVE, GL_ASYNC | GL_NOCACHE, gh); in gfs2_upgrade_iopen_glock()
1197 error = gfs2_glock_nq(gh); in gfs2_upgrade_iopen_glock()
1202 !test_bit(HIF_WAIT, &gh->gh_iflags) || in gfs2_upgrade_iopen_glock()
1205 if (!test_bit(HIF_HOLDER, &gh->gh_iflags)) { in gfs2_upgrade_iopen_glock()
1206 gfs2_glock_dq(gh); in gfs2_upgrade_iopen_glock()
1209 return gfs2_glock_holder_ready(gh) == 0; in gfs2_upgrade_iopen_glock()
1223 struct gfs2_holder *gh) in evict_should_delete() argument
1243 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, gh); in evict_should_delete()
1257 ret = gfs2_instantiate(gh); in evict_should_delete()
1376 struct gfs2_holder gh; in gfs2_evict_inode() local
1395 gfs2_holder_mark_uninitialized(&gh); in gfs2_evict_inode()
1396 ret = evict_should_delete(inode, &gh); in gfs2_evict_inode()
1407 if (gfs2_holder_initialized(&gh)) { in gfs2_evict_inode()
1409 gfs2_glock_dq_uninit(&gh); in gfs2_evict_inode()