Lines Matching refs:callbacks
221 struct dlm_callback callbacks[DLM_CALLBACKS_SIZE]; in dlm_callback_work() local
224 memset(&callbacks, 0, sizeof(callbacks)); in dlm_callback_work()
235 rv = dlm_rem_lkb_callback(ls, lkb, &callbacks[i], &resid); in dlm_callback_work()
253 if (!callbacks[i].seq) in dlm_callback_work()
255 if (callbacks[i].flags & DLM_CB_SKIP) { in dlm_callback_work()
257 } else if (callbacks[i].flags & DLM_CB_BAST) { in dlm_callback_work()
258 trace_dlm_bast(ls, lkb, callbacks[i].mode); in dlm_callback_work()
259 bastfn(lkb->lkb_astparam, callbacks[i].mode); in dlm_callback_work()
260 } else if (callbacks[i].flags & DLM_CB_CAST) { in dlm_callback_work()
261 lkb->lkb_lksb->sb_status = callbacks[i].sb_status; in dlm_callback_work()
262 lkb->lkb_lksb->sb_flags = callbacks[i].sb_flags; in dlm_callback_work()