Lines Matching defs:index

100     const char *name, int *index);
102 int index);
714 * its index within the section is written to *index.
720 const char *name, int *index)
726 *index = i;
731 *index = 0;
1296 * validate_section_entry checks that the entry at the specified index
1301 validate_section_entry(rmclomv_cache_section_t *section, int index)
1306 for (i = index; i < section->num_entries; i++) {
1318 } else if (i == index) {
1320 } else if (section->entry[index].handle == entry->handle) {
1325 section->entry[index].handle_name.name) == 0) {
1334 * need to remove the entry at index
1338 for (i = index; i < section->num_entries; i++) {
1362 int index;
1366 for (index = 0; index < section->num_entries; index++) {
1367 entry = &section->entry[index];
1382 for (index = 0; index < section->num_entries; index++) {
1383 while (validate_section_entry(section, index) == B_FALSE)
1408 int index;
1416 for (index = 0; index < psu_section->num_entries; index++) {
1417 src_entry = &psu_section->entry[index];
1418 if ((psu_resp->psu_status[index].mask &
1429 if ((psu_resp->psu_status[index].mask &
1440 if ((psu_resp->psu_status[index].mask &
1451 if ((psu_resp->psu_status[index].mask &
1462 if ((psu_resp->psu_status[index].mask &
1483 for (index = 0; index < psu_section->num_entries; index++) {
1484 int mask = psu_resp->psu_status[index].mask;
1485 src_entry = &psu_section->entry[index];
1511 for (index = 0; index < psu_section->num_entries; index++) {
1512 if ((psu_resp->psu_status[index].mask &
1514 src_entry = &psu_section->entry[index];
1530 for (index = 0; index < psu_section->num_entries; index++) {
1531 int mask = psu_resp->psu_status[index].mask;
1532 src_entry = &psu_section->entry[index];
1613 int index;
1652 for (index = 0; index < fru_r.num_frus; index++) {
1653 fru_section->entry[RMCLOMV_NUM_SPECIAL_FRUS + index].handle =
1654 fru_r.fru_status[index].handle;
1655 fru_section->entry[RMCLOMV_NUM_SPECIAL_FRUS + index].ind_mask =
1669 for (index = 0; index < volts_r.num_volts; index++) {
1670 section->entry[index].handle =
1671 volts_r.volt_status[index].handle;
1684 for (index = 0; index < temp_r.num_temps; index++) {
1685 section->entry[index].handle =
1686 temp_r.temp_status[index].handle;
1698 for (index = 0; index < fan_r.num_fans; index++) {
1699 section->entry[index].handle =
1700 fan_r.fan_status[index].handle;
1713 for (index = 0; index < ampi_r.num_circuit_brks; index++) {
1714 section->entry[index].handle =
1715 ampi_r.circuit_brk_status[index].handle;
1727 for (index = 0; index < led_r.num_leds; index++) {
1728 section->entry[index].handle =
1729 led_r.led_state[index].handle;
1746 for (index = 0; index < alarm_r.num_alarms; index++) {
1747 section->entry[index].handle =
1748 alarm_r.alarm_state[index].handle;
1769 for (index = 0; index < psu_r.num_psus; index++) {
1770 psu_section->entry[index].handle =
1771 psu_r.psu_status[index].handle;
1831 int index;
1856 env_ind->id.name, &index)) != 0) {
1859 } else if (index + 1 < section->num_entries)
1861 section->entry[index + 1].handle_name;
1870 rmc_psu->handle = section->entry[index].handle;
1871 indicator_mask = section->entry[index].ind_mask;
1984 int index;
2066 &index) != 0) {
2069 } else if (index + 1 < section->num_entries)
2071 section->entry[index + 1].handle_name;
2080 rmc_volts.handle = section->entry[index].handle;
2177 &index) != 0) {
2180 } else if (index + 1 < section->num_entries)
2182 section->entry[index + 1].handle_name;
2191 rmc_temp.handle = section->entry[index].handle;
2264 &index) != 0) {
2267 } else if (index + 1 < section->num_entries)
2269 section->entry[index + 1].handle_name;
2278 rmc_fan.handle = section->entry[index].handle;
2358 &index) != 0) {
2363 if (index + 1 < section->num_entries) {
2365 section->entry[index + 1].handle_name;
2383 rmc_ampi.handle = section->entry[index].handle;
2456 &index) != 0) {
2459 } else if (index + 1 < section->num_entries)
2461 section->entry[index + 1].handle_name;
2470 rmc_fru.handle = section->entry[index].handle;
2471 special = section->entry[index].ind_mask;
2570 &index) != 0) {
2573 } else if (index + 1 < section->num_entries)
2575 section->entry[index + 1].handle_name;
2584 rmc_led.handle = section->entry[index].handle;
2674 &index) != 0)) {
2681 rmc_setled.handle = section->entry[index].handle;
2776 &index) != 0) {
2779 } else if (index + 1 < section->num_entries)
2781 section->entry[index + 1].handle_name;
2790 rmc_alarm.handle = section->entry[index].handle;
2868 &index) != 0)) {
2875 rmc_setalarm.handle = section->entry[index].handle;
3448 int index;
3467 index = alarm_type;
3468 if (index >= section->num_entries)
3471 u_rmc_alarm.handle = section->entry[index].handle;
3514 int index;
3533 index = alarm_type;
3534 if (index >= section->num_entries)
3537 u_rmc_setalarm.handle = section->entry[index].handle;