Lines Matching refs:gl_lksb
120 BUG_ON(gl->gl_lksb.sb_flags & DLM_SBF_DEMOTED); in gdlm_ast()
122 if ((gl->gl_lksb.sb_flags & DLM_SBF_VALNOTVALID) && gl->gl_lksb.sb_lvbptr) in gdlm_ast()
123 memset(gl->gl_lksb.sb_lvbptr, 0, GDLM_LVB_SIZE); in gdlm_ast()
125 switch (gl->gl_lksb.sb_status) { in gdlm_ast()
145 if (gl->gl_lksb.sb_flags & DLM_SBF_ALTMODE) { in gdlm_ast()
159 gl->gl_lksb.sb_lkid = 0; in gdlm_ast()
207 if (gl->gl_lksb.sb_lvbptr) in make_flags()
232 if (gl->gl_lksb.sb_lkid != 0) { in make_flags()
262 if (gl->gl_lksb.sb_lkid) { in gdlm_lock()
275 return dlm_lock(ls->ls_dlm, req, &gl->gl_lksb, lkf, strname, in gdlm_lock()
285 if (gl->gl_lksb.sb_lkid == 0) { in gdlm_put_lock()
303 !gl->gl_lksb.sb_lvbptr) { in gdlm_put_lock()
308 error = dlm_unlock(ls->ls_dlm, gl->gl_lksb.sb_lkid, DLM_LKF_VALBLK, in gdlm_put_lock()
321 dlm_unlock(ls->ls_dlm, gl->gl_lksb.sb_lkid, DLM_LKF_CANCEL, NULL, gl); in gdlm_cancel()