Lines Matching refs:gl
933 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() local
934 if (test_bit(GLF_DEMOTE, &gl->gl_flags)) in gfs2_drop_inode()
946 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() local
948 gfs2_glock_hold(gl); in gfs2_drop_inode()
949 if (!gfs2_queue_delete_work(gl, 0)) in gfs2_drop_inode()
950 gfs2_glock_queue_put(gl); in gfs2_drop_inode()
1077 struct gfs2_glock *gl = ip->i_gl; in gfs2_final_release_pages() local
1082 if (atomic_read(&gl->gl_revokes) == 0) { in gfs2_final_release_pages()
1083 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_final_release_pages()
1084 clear_bit(GLF_DIRTY, &gl->gl_flags); in gfs2_final_release_pages()
1146 static void gfs2_glock_put_eventually(struct gfs2_glock *gl) in gfs2_glock_put_eventually() argument
1149 gfs2_glock_queue_put(gl); in gfs2_glock_put_eventually()
1151 gfs2_glock_put(gl); in gfs2_glock_put_eventually()
1405 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_evict_inode() local
1407 glock_clear_object(gl, ip); in gfs2_evict_inode()
1412 gfs2_glock_hold(gl); in gfs2_evict_inode()
1414 gfs2_glock_put_eventually(gl); in gfs2_evict_inode()