Lines Matching defs:gl
1037 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl;
1038 if (test_bit(GLF_DEMOTE, &gl->gl_flags))
1050 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl;
1052 gfs2_glock_hold(gl);
1053 if (!gfs2_queue_try_to_evict(gl))
1054 gfs2_glock_queue_put(gl);
1194 struct gfs2_glock *gl = ip->i_gl;
1196 if (unlikely(!gl)) {
1202 truncate_inode_pages(gfs2_glock2aspace(gl), 0);
1205 if (atomic_read(&gl->gl_revokes) == 0) {
1206 clear_bit(GLF_LFLUSH, &gl->gl_flags);
1207 clear_bit(GLF_DIRTY, &gl->gl_flags);
1261 * @gl: The glock to put
1267 static void gfs2_glock_put_eventually(struct gfs2_glock *gl)
1270 gfs2_glock_queue_put(gl);
1272 gfs2_glock_put(gl);
1542 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl;
1544 glock_clear_object(gl, ip);
1545 gfs2_glock_hold(gl);
1548 gfs2_glock_put_eventually(gl);