Lines Matching refs:slot
35 memb->slot = le16_to_cpu(rf->rf_our_slot); in dlm_slot_save()
41 struct dlm_slot *slot; in dlm_slots_copy_out() local
50 slot = &ls->ls_slots[i]; in dlm_slots_copy_out()
51 if (!slot->nodeid) in dlm_slots_copy_out()
53 ro->ro_nodeid = cpu_to_le32(slot->nodeid); in dlm_slots_copy_out()
54 ro->ro_slot = cpu_to_le16(slot->slot); in dlm_slots_copy_out()
78 array[i].slot, array[i].nodeid); in log_slots()
133 memb->slot = ro->ro_slot; in dlm_slots_copy_in()
134 memb->slot_prev = memb->slot; in dlm_slots_copy_in()
139 if (ls->ls_slot && ls->ls_slot != memb->slot) { in dlm_slots_copy_in()
142 memb->slot); in dlm_slots_copy_in()
147 ls->ls_slot = memb->slot; in dlm_slots_copy_in()
150 if (!memb->slot) { in dlm_slots_copy_in()
180 memb->slot = ls->ls_slot; in dlm_slots_assign()
192 if (memb->slot == -1) in dlm_slots_assign()
197 if (!memb->slot) in dlm_slots_assign()
204 if (!max || max < memb->slot) in dlm_slots_assign()
205 max = memb->slot; in dlm_slots_assign()
209 if (memb->slot_prev && memb->slot && memb->slot_prev != memb->slot) { in dlm_slots_assign()
211 memb->nodeid, memb->slot_prev, memb->slot); in dlm_slots_assign()
214 memb->slot_prev = memb->slot; in dlm_slots_assign()
227 if (!memb->slot) in dlm_slots_assign()
230 if (memb->slot > array_size) { in dlm_slots_assign()
231 log_error(ls, "invalid slot number %d", memb->slot); in dlm_slots_assign()
236 array[memb->slot - 1].nodeid = memb->nodeid; in dlm_slots_assign()
237 array[memb->slot - 1].slot = memb->slot; in dlm_slots_assign()
244 if (memb->slot) in dlm_slots_assign()
251 memb->slot = i + 1; in dlm_slots_assign()
252 memb->slot_prev = memb->slot; in dlm_slots_assign()
254 array[i].slot = memb->slot; in dlm_slots_assign()
258 ls->ls_slot = memb->slot; in dlm_slots_assign()
262 if (!memb->slot) { in dlm_slots_assign()
457 struct dlm_slot slot; in dlm_lsop_recover_slot() local
475 slot.nodeid = memb->nodeid; in dlm_lsop_recover_slot()
476 slot.slot = memb->slot; in dlm_lsop_recover_slot()
478 ls->ls_ops->recover_slot(ls->ls_ops_arg, &slot); in dlm_lsop_recover_slot()
502 slots[i].slot = memb->slot; in dlm_lsop_recover_done()