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()
282 gfs2_glock_dq_uninit(&gh); in do_gfs2_set_flags()
391 struct gfs2_holder gh; in gfs2_page_mkwrite() local
410 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_page_mkwrite()
411 ret = gfs2_glock_nq(&gh); in gfs2_page_mkwrite()
482 gfs2_glock_dq(&gh); in gfs2_page_mkwrite()
484 gfs2_holder_uninit(&gh); in gfs2_page_mkwrite()
713 struct gfs2_holder gh; in gfs2_file_write_iter() local
715 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_file_write_iter()
718 gfs2_glock_dq_uninit(&gh); in gfs2_file_write_iter()
917 struct gfs2_holder gh; in gfs2_fallocate() local
925 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_fallocate()
926 ret = gfs2_glock_nq(&gh); in gfs2_fallocate()
951 gfs2_glock_dq(&gh); in gfs2_fallocate()
953 gfs2_holder_uninit(&gh); in gfs2_fallocate()