Lines Matching refs:gh
866 struct gfs2_holder gh; in __gfs2_lookup() local
879 error = gfs2_glock_nq_init(gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in __gfs2_lookup()
887 gfs2_glock_dq_uninit(&gh); in __gfs2_lookup()
893 gfs2_glock_dq_uninit(&gh); in __gfs2_lookup()
2044 struct gfs2_holder gh; in gfs2_getattr() local
2048 gfs2_holder_mark_uninitialized(&gh); in gfs2_getattr()
2050 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in gfs2_getattr()
2069 if (gfs2_holder_initialized(&gh)) in gfs2_getattr()
2070 gfs2_glock_dq_uninit(&gh); in gfs2_getattr()
2079 struct gfs2_holder gh; in gfs2_fiemap() local
2084 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_fiemap()
2090 gfs2_glock_dq_uninit(&gh); in gfs2_fiemap()
2101 struct gfs2_holder gh; in gfs2_seek_data() local
2105 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_seek_data()
2108 gfs2_glock_dq_uninit(&gh); in gfs2_seek_data()
2120 struct gfs2_holder gh; in gfs2_seek_hole() local
2124 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_seek_hole()
2127 gfs2_glock_dq_uninit(&gh); in gfs2_seek_hole()
2140 struct gfs2_holder *gh; in gfs2_update_time() local
2143 gh = gfs2_glock_is_locked_by_me(gl); in gfs2_update_time()
2144 if (gh && !gfs2_glock_is_held_excl(gl)) { in gfs2_update_time()
2145 gfs2_glock_dq(gh); in gfs2_update_time()
2146 gfs2_holder_reinit(LM_ST_EXCLUSIVE, 0, gh); in gfs2_update_time()
2147 error = gfs2_glock_nq(gh); in gfs2_update_time()