Lines Matching refs:gen
62 static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_slots() argument
94 log_rinfo(ls, "generation %u slots %d%s", gen, num_slots, line); in log_slots()
105 uint32_t gen; in dlm_slots_copy_in() local
110 gen = le32_to_cpu(rf->rf_generation); in dlm_slots_copy_in()
111 if (gen <= ls->ls_generation) { in dlm_slots_copy_in()
113 gen, ls->ls_generation); in dlm_slots_copy_in()
115 ls->ls_generation = gen; in dlm_slots_copy_in()
128 log_slots(ls, gen, num_slots, ro0, NULL, 0); in dlm_slots_copy_in()
175 uint32_t gen = 0; in dlm_slots_assign() local
188 if (memb->generation > gen) in dlm_slots_assign()
189 gen = memb->generation; in dlm_slots_assign()
270 gen++; in dlm_slots_assign()
272 log_slots(ls, gen, num, NULL, array, array_size); in dlm_slots_assign()
284 *gen_out = gen; in dlm_slots_assign()