Lines Matching refs:gl_lksb
123 BUG_ON(gl->gl_lksb.sb_flags & DLM_SBF_DEMOTED); in gdlm_ast()
125 if ((gl->gl_lksb.sb_flags & DLM_SBF_VALNOTVALID) && gl->gl_lksb.sb_lvbptr) in gdlm_ast()
126 memset(gl->gl_lksb.sb_lvbptr, 0, GDLM_LVB_SIZE); in gdlm_ast()
128 switch (gl->gl_lksb.sb_status) { in gdlm_ast()
148 if (gl->gl_lksb.sb_flags & DLM_SBF_ALTMODE) { in gdlm_ast()
162 gl->gl_lksb.sb_lkid = 0; in gdlm_ast()
210 if (gl->gl_lksb.sb_lvbptr) in make_flags()
235 if (gl->gl_lksb.sb_lkid != 0) { in make_flags()
265 if (gl->gl_lksb.sb_lkid) { in gdlm_lock()
278 return dlm_lock(ls->ls_dlm, req, &gl->gl_lksb, lkf, strname, in gdlm_lock()
288 if (gl->gl_lksb.sb_lkid == 0) { in gdlm_put_lock()
306 !gl->gl_lksb.sb_lvbptr) { in gdlm_put_lock()
311 error = dlm_unlock(ls->ls_dlm, gl->gl_lksb.sb_lkid, DLM_LKF_VALBLK, in gdlm_put_lock()
324 dlm_unlock(ls->ls_dlm, gl->gl_lksb.sb_lkid, DLM_LKF_CANCEL, NULL, gl); in gdlm_cancel()