Searched refs:pkt_hash (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 1860 hash_obj_t *pkt_hash; in get_checksum_crc() local 1875 for (pkt_hash = seg_hash->u.seg_obj->pkt_obj_list; in get_checksum_crc() 1876 pkt_hash != NULL; pkt_hash = pkt_hash->u.pkt_obj->next) { in get_checksum_crc() 1877 (void) memcpy(buffer + offset, &pkt_hash->u.pkt_obj->tag, in get_checksum_crc() 1878 pkt_hash->u.pkt_obj->tag_size); in get_checksum_crc() 1879 offset += pkt_hash->u.pkt_obj->tag_size; in get_checksum_crc() 1880 (void) memcpy(buffer + offset, pkt_hash->u.pkt_obj->payload, in get_checksum_crc() 1881 pkt_hash->u.pkt_obj->paylen); in get_checksum_crc() 1882 offset += pkt_hash->u.pkt_obj->paylen; in get_checksum_crc() 2277 hash_obj_t *pkt_hash; in fru_update_payload() local [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/ |
H A D | libfruaccess.c | 626 hash_obj_t *pkt_hash; in ipmi_fru_get_packets() local 638 pkt_hash = seg_object->u.seg_obj->pkt_obj_list; in ipmi_fru_get_packets() 641 pkt_hash != NULL; count++, packet++) { in ipmi_fru_get_packets() 643 packet->handle = pkt_hash->obj_hdl; in ipmi_fru_get_packets() 644 (void) memcpy(&packet->tag, &pkt_hash->u.pkt_obj->tag, 4); in ipmi_fru_get_packets() 645 pkt_hash = pkt_hash->u.pkt_obj->next; in ipmi_fru_get_packets() 657 hash_obj_t *pkt_hash; in ipmi_fru_read_segment() local 669 pkt_hash = seg_hash->u.seg_obj->pkt_obj_list; in ipmi_fru_read_segment() 671 if (pkt_hash == NULL) { in ipmi_fru_read_segment() 675 (void) memcpy(buffer, &pkt_hash->u.pkt_obj->payload_data, in ipmi_fru_read_segment() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/ |
H A D | fru_access.c | 1791 hash_obj_t *pkt_hash; in get_checksum_crc() local 1806 for (pkt_hash = seg_hash->u.seg_obj->pkt_obj_list; pkt_hash != NULL; in get_checksum_crc() 1807 pkt_hash = pkt_hash->u.pkt_obj->next) { in get_checksum_crc() 1808 (void) memcpy(buffer + offset, &pkt_hash->u.pkt_obj->tag, in get_checksum_crc() 1809 pkt_hash->u.pkt_obj->tag_size); in get_checksum_crc() 1810 offset += pkt_hash->u.pkt_obj->tag_size; in get_checksum_crc() 1813 payload = malloc(pkt_hash->u.pkt_obj->paylen); in get_checksum_crc() 1817 retval = get_payload(device_fd, pkt_hash, payload); in get_checksum_crc() 1823 pkt_hash->u.pkt_obj->paylen); in get_checksum_crc() 1824 offset += pkt_hash->u.pkt_obj->paylen; in get_checksum_crc() [all …]
|
/titanic_41/usr/src/lib/libfru/libfruraw/ |
H A D | raw_access.c | 741 hash_obj_t *pkt_hash; in get_checksum_crc() local 756 for (pkt_hash = seg_hash->u.seg_obj->pkt_obj_list; pkt_hash != NULL; in get_checksum_crc() 757 pkt_hash = pkt_hash->u.pkt_obj->next) { in get_checksum_crc() 758 (void) memcpy(buffer + offset, &pkt_hash->u.pkt_obj->tag, in get_checksum_crc() 759 pkt_hash->u.pkt_obj->tag_size); in get_checksum_crc() 760 offset += pkt_hash->u.pkt_obj->tag_size; in get_checksum_crc() 761 (void) memcpy(buffer + offset, pkt_hash->u.pkt_obj->payload, in get_checksum_crc() 762 pkt_hash->u.pkt_obj->paylen); in get_checksum_crc() 763 offset += pkt_hash->u.pkt_obj->paylen; in get_checksum_crc()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/frudata/ |
H A D | fru_data.c | 635 hash_obj_t *pkt_hash; in frudata_delete_segment() local 753 pkt_hash = seg_hash->u.seg_node->packet_list; in frudata_delete_segment() 754 if (pkt_hash == NULL) { in frudata_delete_segment() 761 pkt_hash->u.pkt_node->pkt_handle = in frudata_delete_segment() 763 pkt_hash = pkt_hash->u.pkt_node->next; in frudata_delete_segment() 1276 hash_obj_t *pkt_hash; in frudata_add_packet() local 1355 pkt_hash = hash_obj->u.seg_node->packet_list; in frudata_add_packet() 1356 if (pkt_hash == NULL) { in frudata_add_packet() 1362 pkt_hash->u.pkt_node->pkt_handle = pkt_buf[cnt].handle; in frudata_add_packet() 1363 pkt_hash = pkt_hash->u.pkt_node->next; in frudata_add_packet()
|