Lines Matching refs:gh
146 struct gfs2_holder gh; in gfs2_get_flags() local
150 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_get_flags()
151 error = gfs2_glock_nq(&gh); in gfs2_get_flags()
167 gfs2_glock_dq(&gh); in gfs2_get_flags()
169 gfs2_holder_uninit(&gh); in gfs2_get_flags()
214 struct gfs2_holder gh; in do_gfs2_set_flags() local
222 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in do_gfs2_set_flags()
279 gfs2_glock_dq_uninit(&gh); in do_gfs2_set_flags()
402 struct gfs2_holder gh; in gfs2_page_mkwrite() local
414 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_page_mkwrite()
415 ret = gfs2_glock_nq(&gh); in gfs2_page_mkwrite()
489 gfs2_glock_dq(&gh); in gfs2_page_mkwrite()
491 gfs2_holder_uninit(&gh); in gfs2_page_mkwrite()
698 struct gfs2_holder gh; in gfs2_file_direct_read() local
704 gfs2_holder_init(ip->i_gl, LM_ST_DEFERRED, 0, &gh); in gfs2_file_direct_read()
705 ret = gfs2_glock_nq(&gh); in gfs2_file_direct_read()
711 gfs2_glock_dq(&gh); in gfs2_file_direct_read()
713 gfs2_holder_uninit(&gh); in gfs2_file_direct_read()
724 struct gfs2_holder gh; in gfs2_file_direct_write() local
735 gfs2_holder_init(ip->i_gl, LM_ST_DEFERRED, 0, &gh); in gfs2_file_direct_write()
736 ret = gfs2_glock_nq(&gh); in gfs2_file_direct_write()
747 gfs2_glock_dq(&gh); in gfs2_file_direct_write()
749 gfs2_holder_uninit(&gh); in gfs2_file_direct_write()
792 struct gfs2_holder gh; in gfs2_file_write_iter() local
794 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_file_write_iter()
797 gfs2_glock_dq_uninit(&gh); in gfs2_file_write_iter()
1058 struct gfs2_holder gh; in gfs2_fallocate() local
1069 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_fallocate()
1070 ret = gfs2_glock_nq(&gh); in gfs2_fallocate()
1101 gfs2_glock_dq(&gh); in gfs2_fallocate()
1103 gfs2_holder_uninit(&gh); in gfs2_fallocate()