Lines Matching defs:lksb
229 * for the ast and bast functions. They will pass the lksb to the ast
230 * and bast. The caller can wrap the lksb with their own structure to
235 struct ocfs2_dlm_lksb *lksb,
240 if (!lksb->lksb_conn)
241 lksb->lksb_conn = conn;
243 BUG_ON(lksb->lksb_conn != conn);
244 return active_stack->sp_ops->dlm_lock(conn, mode, lksb, flags,
250 struct ocfs2_dlm_lksb *lksb,
253 BUG_ON(lksb->lksb_conn == NULL);
255 return active_stack->sp_ops->dlm_unlock(conn, lksb, flags);
259 int ocfs2_dlm_lock_status(struct ocfs2_dlm_lksb *lksb)
261 return active_stack->sp_ops->lock_status(lksb);
265 int ocfs2_dlm_lvb_valid(struct ocfs2_dlm_lksb *lksb)
267 return active_stack->sp_ops->lvb_valid(lksb);
271 void *ocfs2_dlm_lvb(struct ocfs2_dlm_lksb *lksb)
273 return active_stack->sp_ops->lock_lvb(lksb);
277 void ocfs2_dlm_dump_lksb(struct ocfs2_dlm_lksb *lksb)
279 active_stack->sp_ops->dump_lksb(lksb);