Searched refs:num_slots (Results 1 – 5 of 5) sorted by relevance
/fs/dlm/ |
D | member.c | 63 static void log_debug_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_debug_slots() argument 89 for (i = 0; i < num_slots; i++) { in log_debug_slots() 98 log_debug(ls, "generation %u slots %d%s", gen, num_slots, line); in log_debug_slots() 108 int i, num_slots; in dlm_slots_copy_in() local 121 num_slots = le16_to_cpu(rf->rf_num_slots); in dlm_slots_copy_in() 122 if (!num_slots) in dlm_slots_copy_in() 127 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { in dlm_slots_copy_in() 132 log_debug_slots(ls, gen, num_slots, ro0, NULL, 0); in dlm_slots_copy_in() 135 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { in dlm_slots_copy_in() 169 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, in dlm_slots_assign() argument [all …]
|
D | rcom.c | 87 uint32_t num_slots) in set_rcom_config() argument 93 rf->rf_num_slots = cpu_to_le16(num_slots); in set_rcom_config() 201 int num_slots = 0; in receive_rcom_status() local 218 num_slots = ls->ls_num_slots; in receive_rcom_status() 220 len += num_slots * sizeof(struct rcom_slot); in receive_rcom_status() 232 set_rcom_config(ls, (struct rcom_config *)rc->rc_buf, num_slots); in receive_rcom_status() 234 if (!num_slots) in receive_rcom_status() 238 if (ls->ls_num_slots != num_slots) { in receive_rcom_status() 241 num_slots, ls->ls_num_slots); in receive_rcom_status()
|
D | member.h | 28 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size,
|
D | recover.c | 178 int num_slots, slots_size; in dlm_recover_members_wait() local 194 rv = dlm_slots_assign(ls, &num_slots, &slots_size, &slots, &gen); in dlm_recover_members_wait() 198 ls->ls_num_slots = num_slots; in dlm_recover_members_wait()
|
/fs/gfs2/ |
D | lock_dlm.c | 1001 int num_slots) in set_recover_size() argument 1010 for (i = 0; i < num_slots; i++) { in set_recover_size() 1098 static void gdlm_recover_done(void *arg, struct dlm_slot *slots, int num_slots, in gdlm_recover_done() argument 1105 set_recover_size(sdp, slots, num_slots); in gdlm_recover_done()
|