Lines Matching refs:num_slots
381 int num_slots, uint32_t *free_slot)
395 if ((mcc->next_slot + num_slots) > tot_slots) {
401 /* search for enough (num_slots) consecutive zero bits, indicating
420 if ((cur + num_slots) > tot_slots) {
425 /* check if we have at least num_slots empty starting from the first
427 for (t = cur + num_slots; cur < t; cur++) {
432 /* ok found num_slots consecutive free bits */
433 *free_slot = cur - num_slots;
439 if ((mcc->next_slot + num_slots) > tot_slots) {
444 for (i = 0; i < num_slots; i++) {
463 mcc->next_slot = cur + num_slots;
585 int num_slots;
590 num_slots = MC_SIZE_TO_SLOTS(rec_len);
596 if (old_slots == num_slots) {
607 ret = sss_mc_find_free_slots(mcc, num_slots, &base_slot);
628 for (i = 0; i < num_slots; i++) {