Lines Matching refs:gl
1035 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() local
1036 if (test_bit(GLF_DEMOTE, &gl->gl_flags)) in gfs2_drop_inode()
1048 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() local
1050 gfs2_glock_hold(gl); in gfs2_drop_inode()
1051 if (!gfs2_queue_try_to_evict(gl)) in gfs2_drop_inode()
1052 gfs2_glock_queue_put(gl); in gfs2_drop_inode()
1192 struct gfs2_glock *gl = ip->i_gl; in gfs2_final_release_pages() local
1194 if (unlikely(!gl)) { in gfs2_final_release_pages()
1200 truncate_inode_pages(gfs2_glock2aspace(gl), 0); in gfs2_final_release_pages()
1203 if (atomic_read(&gl->gl_revokes) == 0) { in gfs2_final_release_pages()
1204 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_final_release_pages()
1205 clear_bit(GLF_DIRTY, &gl->gl_flags); in gfs2_final_release_pages()
1265 static void gfs2_glock_put_eventually(struct gfs2_glock *gl) in gfs2_glock_put_eventually() argument
1268 gfs2_glock_queue_put(gl); in gfs2_glock_put_eventually()
1270 gfs2_glock_put(gl); in gfs2_glock_put_eventually()
1540 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_evict_inode() local
1542 glock_clear_object(gl, ip); in gfs2_evict_inode()
1543 gfs2_glock_hold(gl); in gfs2_evict_inode()
1546 gfs2_glock_put_eventually(gl); in gfs2_evict_inode()