Lines Matching refs:max_idx
122 ids->max_idx = -1;
224 int max_idx;
226 max_idx = max(ids->in_use*3/2, ipc_min_cycle);
227 max_idx = min(max_idx, ipc_mni);
230 idx = idr_alloc_cyclic(&ids->ipcs_idr, NULL, 0, max_idx,
324 if (idx > ids->max_idx)
325 ids->max_idx = idx;
460 * to be called when ids->max_idx needs to be updated.
461 * Updating ids->max_idx is necessary when the current highest index ipc
506 if (unlikely(idx == ids->max_idx)) {
507 idx = ids->max_idx-1;
510 ids->max_idx = idx;