Lines Matching defs:entry

125  * Driver entry points
602 size_t len = offsetof(rmclomv_cache_section_t, entry[0]) +
725 if (strcmp(name, section->entry[i].handle_name.name) == 0) {
750 if (next->entry[i].handle == hdl) {
751 *envhdl = next->entry[i].handle_name;
1296 * validate_section_entry checks that the entry at the specified index
1297 * is valid and not duplicated by an entry above. If these tests fail
1298 * the entry is removed and B_FALSE returned. Otherwise returns B_TRUE.
1304 rmclomv_cache_entry_t *entry;
1307 entry = &section->entry[i];
1308 if (entry->handle_name.name[0] == '\0') {
1311 entry->handle, section->sensor_type);
1312 } else if (entry->ind_mask != 0) {
1314 } else if (entry->handle == DP_NULL_HANDLE) {
1317 entry->handle_name.name, section->sensor_type);
1320 } else if (section->entry[index].handle == entry->handle) {
1323 entry->handle, section->sensor_type);
1324 } else if (strcmp(entry->handle_name.name,
1325 section->entry[index].handle_name.name) == 0) {
1328 "handle 0x%x type %x", entry->handle_name.name,
1329 entry->handle, section->sensor_type);
1334 * need to remove the entry at index
1339 section->entry[i] = section->entry[i + 1];
1364 rmclomv_cache_entry_t *entry;
1367 entry = &section->entry[index];
1368 if (entry->ind_mask != 0)
1370 handle_name_r.handle = entry->handle;
1376 entry->handle_name.name, DP_MAX_HANDLE_NAME);
1417 src_entry = &psu_section->entry[index];
1420 dst_entry = &subsection->entry[subindex++];
1431 dst_entry = &subsection->entry[subindex++];
1442 dst_entry = &subsection->entry[subindex++];
1453 dst_entry = &subsection->entry[subindex++];
1464 dst_entry = &subsection->entry[subindex++];
1485 src_entry = &psu_section->entry[index];
1487 dst_entry = &subsection->entry[subindex++];
1496 dst_entry = &subsection->entry[subindex++];
1514 src_entry = &psu_section->entry[index];
1515 dst_entry = &subsection->entry[subindex++];
1532 src_entry = &psu_section->entry[index];
1534 dst_entry = &subsection->entry[subindex++];
1542 dst_entry = &subsection->entry[subindex++];
1620 rmclomv_cache_entry_t *entry;
1641 * add special entry for RMC itself
1643 entry = &fru_section->entry[0];
1644 (void) snprintf(entry->handle_name.name, sizeof (envmon_handle_t),
1646 entry->handle = 0;
1647 entry->ind_mask = 1; /* flag as a special entry */
1653 fru_section->entry[RMCLOMV_NUM_SPECIAL_FRUS + index].handle =
1655 fru_section->entry[RMCLOMV_NUM_SPECIAL_FRUS + index].ind_mask =
1670 section->entry[index].handle =
1685 section->entry[index].handle =
1699 section->entry[index].handle =
1714 section->entry[index].handle =
1728 section->entry[index].handle =
1747 section->entry[index].handle =
1770 psu_section->entry[index].handle =
1850 env_ind->next_id = section->entry[0].handle_name;
1861 section->entry[index + 1].handle_name;
1870 rmc_psu->handle = section->entry[index].handle;
1871 indicator_mask = section->entry[index].ind_mask;
2060 section->entry[0].handle_name;
2071 section->entry[index + 1].handle_name;
2080 rmc_volts.handle = section->entry[index].handle;
2171 section->entry[0].handle_name;
2182 section->entry[index + 1].handle_name;
2191 rmc_temp.handle = section->entry[index].handle;
2258 section->entry[0].handle_name;
2269 section->entry[index + 1].handle_name;
2278 rmc_fan.handle = section->entry[index].handle;
2352 env_ind.next_id = section->entry[0].handle_name;
2365 section->entry[index + 1].handle_name;
2375 sub_section->entry[0].handle_name;
2383 rmc_ampi.handle = section->entry[index].handle;
2450 section->entry[0].handle_name;
2461 section->entry[index + 1].handle_name;
2470 rmc_fru.handle = section->entry[index].handle;
2471 special = section->entry[index].ind_mask;
2564 section->entry[0].handle_name;
2575 section->entry[index + 1].handle_name;
2584 rmc_led.handle = section->entry[index].handle;
2681 rmc_setled.handle = section->entry[index].handle;
2770 section->entry[0].handle_name;
2781 section->entry[index + 1].handle_name;
2790 rmc_alarm.handle = section->entry[index].handle;
2875 rmc_setalarm.handle = section->entry[index].handle;
2951 * Initial entry to this for loop is made with
3471 u_rmc_alarm.handle = section->entry[index].handle;
3537 u_rmc_setalarm.handle = section->entry[index].handle;