Home
last modified time | relevance | path

Searched refs:pkt_hash_obj (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libfru/libfruraw/
H A Draw_access.c803 hash_obj_t *pkt_hash_obj; in get_packets() local
856 pkt_hash_obj = create_packet_hash_object(); in get_packets()
857 if (pkt_hash_obj == NULL) { in get_packets()
861 pkt_hash_obj->u.pkt_obj->payload = malloc(paylen); in get_packets()
862 if (pkt_hash_obj->u.pkt_obj->payload == NULL) { in get_packets()
863 free(pkt_hash_obj); in get_packets()
869 retval = raw_memcpy(pkt_hash_obj->u.pkt_obj->payload, rawlist, in get_packets()
873 free(pkt_hash_obj->u.pkt_obj->payload); in get_packets()
874 free(pkt_hash_obj); in get_packets()
879 pkt_hash_obj->u.pkt_obj->tag.raw_data = 0; in get_packets()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c428 hash_obj_t *seg_hash_obj, *sec_hash_obj, *pkt_hash_obj; in initialize_ipmi_container() local
475 pkt_hash_obj = create_packet_hash_object(); in initialize_ipmi_container()
476 if (pkt_hash_obj == NULL) { in initialize_ipmi_container()
479 add_hashobject_to_hashtable(pkt_hash_obj, PACKET_TYPE); in initialize_ipmi_container()
481 pkt_hash_obj->u.pkt_obj->payload_data = manr; in initialize_ipmi_container()
482 if (mk_tag(FRU_F, 0x001, 0x0B7, &pkt_hash_obj->u.pkt_obj->tag) == 4) { in initialize_ipmi_container()
483 add_to_pkt_object_list(seg_hash_obj, pkt_hash_obj); in initialize_ipmi_container()
2170 hash_obj_t *pkt_hash_obj; in get_packets() local
2217 pkt_hash_obj = create_packet_hash_object(); in get_packets()
2218 if (pkt_hash_obj == NULL) { in get_packets()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c1908 hash_obj_t *pkt_hash_obj; in get_dev_or_buffered_packets() local
1953 pkt_hash_obj = create_packet_hash_object(); in get_dev_or_buffered_packets()
1954 if (pkt_hash_obj == NULL) { in get_dev_or_buffered_packets()
1958 pkt_hash_obj->u.pkt_obj->payload = malloc(paylen); in get_dev_or_buffered_packets()
1959 if (pkt_hash_obj->u.pkt_obj->payload == NULL) { in get_dev_or_buffered_packets()
1960 free(pkt_hash_obj); in get_dev_or_buffered_packets()
1967 pkt_hash_obj->u.pkt_obj->payload, paylen, offset); in get_dev_or_buffered_packets()
1971 (void) memcpy(pkt_hash_obj->u.pkt_obj->payload, in get_dev_or_buffered_packets()
1976 free(pkt_hash_obj->u.pkt_obj->payload); in get_dev_or_buffered_packets()
1977 free(pkt_hash_obj); in get_dev_or_buffered_packets()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c1850 hash_obj_t *pkt_hash_obj; in get_packets() local
1888 pkt_hash_obj = create_packet_hash_object(); in get_packets()
1889 if (pkt_hash_obj == NULL) { in get_packets()
1896 pkt_hash_obj->u.pkt_obj->tag.raw_data = 0; in get_packets()
1897 (void) memcpy(&pkt_hash_obj->u.pkt_obj->tag, &tag, tag_size); in get_packets()
1898 pkt_hash_obj->u.pkt_obj->paylen = paylen; in get_packets()
1899 pkt_hash_obj->u.pkt_obj->tag_size = tag_size; in get_packets()
1900 pkt_hash_obj->u.pkt_obj->payload_offset = offset; in get_packets()
1904 add_hashobject_to_hashtable(pkt_hash_obj); in get_packets()
1905 add_to_pkt_object_list(seg_hash, pkt_hash_obj); in get_packets()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c977 hash_obj_t *pkt_hash_obj; in frudata_delete_packet() local
996 pkt_hash_obj = lookup_node_object(rowproph, PACKET_NODE, cont_tbl); in frudata_delete_packet()
997 if (pkt_hash_obj == NULL) { in frudata_delete_packet()
1003 tag = pkt_hash_obj->u.pkt_node->tag.raw_data; in frudata_delete_packet()
1012 retval = fru_delete_packet(pkt_hash_obj->u.pkt_node->pkt_handle, in frudata_delete_packet()