Lines Matching refs:lksb
1194 if (!lock->lksb) in dlm_prepare_lvb_for_migration()
1206 memcpy(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN); in dlm_prepare_lvb_for_migration()
1211 if (!memcmp(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN)) in dlm_prepare_lvb_for_migration()
1238 if (lock->lksb) { in dlm_add_lock_to_array()
1239 ml->flags = lock->lksb->flags; in dlm_add_lock_to_array()
1259 dummy.lksb = NULL; in dlm_add_dummy_lock()
1814 struct dlm_lockstatus *lksb = NULL; in dlm_process_recovery_data() local
1840 lksb = NULL; in dlm_process_recovery_data()
1936 lksb = newlock->lksb; in dlm_process_recovery_data()
1943 lksb->flags |= (ml->flags & in dlm_process_recovery_data()
1957 if (lksb->flags & DLM_LKSB_PUT_LVB) { in dlm_process_recovery_data()
1961 memcpy(lksb->lvb, mres->lvb, DLM_LVB_LEN); in dlm_process_recovery_data()
2262 memset(lock->lksb->lvb, 0, DLM_LVB_LEN); in dlm_revalidate_lvb()
2578 struct dlm_lockstatus lksb; in dlm_pick_recovery_master() local
2584 memset(&lksb, 0, sizeof(lksb)); in dlm_pick_recovery_master()
2586 ret = dlmlock(dlm, LKM_EXMODE, &lksb, LKM_NOQUEUE|LKM_RECOVERY, in dlm_pick_recovery_master()
2591 dlm->name, ret, lksb.status); in dlm_pick_recovery_master()
2642 ret = dlmunlock(dlm, &lksb, 0, dlm_reco_unlock_ast, dlm); in dlm_pick_recovery_master()
2645 ret = dlmunlock(dlm, &lksb, LKM_CANCEL, dlm_reco_unlock_ast, dlm); in dlm_pick_recovery_master()
2684 dlm_errname(lksb.status)); in dlm_pick_recovery_master()