Lines Matching defs:end_idx
216 * @end_idx: place holder for end index
225 _mapping_get_ir_maprange(struct mps_softc *sc, u32 *start_idx, u32 *end_idx)
238 *end_idx = *start_idx + sc->max_volumes - 1;
329 u32 start_idx, end_idx, start_idx_ir, end_idx_ir;
336 end_idx = sc->max_devices;
344 end_idx = start_idx_ir;
347 for (map_idx = start_idx; map_idx < end_idx; map_idx++, mt_entry++) {
366 u32 start_idx, end_idx, map_idx;
369 _mapping_get_ir_maprange(sc, &start_idx, &end_idx);
371 for (map_idx = start_idx; map_idx <= end_idx; map_idx++, mt_entry++)
409 u32 start_idx, end_idx, map_idx;
412 _mapping_get_ir_maprange(sc, &start_idx, &end_idx);
414 for (map_idx = start_idx; map_idx <= end_idx; map_idx++, mt_entry++)
455 u32 start_idx, end_idx, map_idx;
459 _mapping_get_ir_maprange(sc, &start_idx, &end_idx);
462 for (map_idx = start_idx; map_idx <= end_idx; map_idx++, mt_entry++)
467 for (map_idx = start_idx; map_idx <= end_idx; map_idx++, mt_entry++) {
1471 u32 map_idx, dev_idx, start_idx, end_idx;
1481 _mapping_get_ir_maprange(sc, &start_idx, &end_idx);
1502 (dev_idx <= end_idx)) {
1607 u32 start_idx, end_idx;
1649 _mapping_get_ir_maprange(sc, &start_idx, &end_idx);
1651 for (i = start_idx; i < (end_idx + 1); i++, mt_entry++) {
2099 u32 st_idx, end_idx, mt_idx = *map_idx;
2106 _mapping_get_ir_maprange(sc, &st_idx, &end_idx);
2130 if (mt_idx > end_idx)