Lines Matching refs:gh
156 struct gfs2_holder gh; in gfs2_get_flags() local
160 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_get_flags()
161 error = gfs2_glock_nq(&gh); in gfs2_get_flags()
171 gfs2_glock_dq(&gh); in gfs2_get_flags()
172 gfs2_holder_uninit(&gh); in gfs2_get_flags()
218 struct gfs2_holder gh; in do_gfs2_set_flags() local
226 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in do_gfs2_set_flags()
284 gfs2_glock_dq_uninit(&gh); in do_gfs2_set_flags()
393 struct gfs2_holder gh; in gfs2_page_mkwrite() local
412 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_page_mkwrite()
413 ret = gfs2_glock_nq(&gh); in gfs2_page_mkwrite()
484 gfs2_glock_dq(&gh); in gfs2_page_mkwrite()
486 gfs2_holder_uninit(&gh); in gfs2_page_mkwrite()
715 struct gfs2_holder gh; in gfs2_file_write_iter() local
717 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_file_write_iter()
720 gfs2_glock_dq_uninit(&gh); in gfs2_file_write_iter()
920 struct gfs2_holder gh; in gfs2_fallocate() local
928 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_fallocate()
929 ret = gfs2_glock_nq(&gh); in gfs2_fallocate()
954 gfs2_glock_dq(&gh); in gfs2_fallocate()
956 gfs2_holder_uninit(&gh); in gfs2_fallocate()