Lines Matching defs:gl
720 struct gfs2_glock *gl;
724 gl = rgd->rd_gl;
728 if (gl) {
729 if (gl->gl_state != LM_ST_UNLOCKED) {
730 gfs2_glock_cb(gl, LM_ST_UNLOCKED);
731 flush_delayed_work(&gl->gl_work);
734 glock_clear_object(gl, rgd);
735 gfs2_glock_put(gl);
1037 struct gfs2_glock *gl = ip->i_gl;
1044 if (!gfs2_glock_is_locked_by_me(gl)) {
1045 error = gfs2_glock_nq_init(gl, LM_ST_SHARED, 0, &ri_gh);
1191 * @gl: the glock representing the rgrpd to read in
1199 int gfs2_rgrp_go_instantiate(struct gfs2_glock *gl)
1201 struct gfs2_rgrpd *rgd = gl->gl_object;
1213 error = gfs2_meta_read(gl, rgd->rd_addr + x, 0, 0, &bi->bi_bh);
1846 struct gfs2_glock *gl;
1869 error = gfs2_glock_get(sdp, block, &gfs2_iopen_glops, CREATE, &gl);
1880 ip = gl->gl_object;
1882 if (ip || !gfs2_queue_try_to_evict(gl))
1883 gfs2_glock_put(gl);
1925 const struct gfs2_glock *gl = rgd->rd_gl;
1926 const struct gfs2_sbd *sdp = gl->gl_name.ln_sbd;
1948 gl->gl_stats.stats[GFS2_LKS_SRTTVARB];
1951 l_srttb = gl->gl_stats.stats[GFS2_LKS_SRTTB];
1952 l_dcount = gl->gl_stats.stats[GFS2_LKS_DCOUNT];
2019 struct gfs2_glock *gl = rgd->rd_gl;
2021 if (gl->gl_state != LM_ST_UNLOCKED && list_empty(&gl->gl_holders) &&
2022 !test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) &&
2023 !test_bit(GLF_DEMOTE, &gl->gl_flags))