Lines Matching defs:lksb
227 * for the ast and bast functions. They will pass the lksb to the ast
228 * and bast. The caller can wrap the lksb with their own structure to
233 struct ocfs2_dlm_lksb *lksb,
238 if (!lksb->lksb_conn)
239 lksb->lksb_conn = conn;
241 BUG_ON(lksb->lksb_conn != conn);
242 return active_stack->sp_ops->dlm_lock(conn, mode, lksb, flags,
248 struct ocfs2_dlm_lksb *lksb,
251 BUG_ON(lksb->lksb_conn == NULL);
253 return active_stack->sp_ops->dlm_unlock(conn, lksb, flags);
257 int ocfs2_dlm_lock_status(struct ocfs2_dlm_lksb *lksb)
259 return active_stack->sp_ops->lock_status(lksb);
263 int ocfs2_dlm_lvb_valid(struct ocfs2_dlm_lksb *lksb)
265 return active_stack->sp_ops->lvb_valid(lksb);
269 void *ocfs2_dlm_lvb(struct ocfs2_dlm_lksb *lksb)
271 return active_stack->sp_ops->lock_lvb(lksb);
275 void ocfs2_dlm_dump_lksb(struct ocfs2_dlm_lksb *lksb)
277 active_stack->sp_ops->dump_lksb(lksb);