Home
last modified time | relevance | path

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

/illumos-gate/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 …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c1906 hash_obj_t *pkt_hash_obj; in get_dev_or_buffered_packets() local
1951 pkt_hash_obj = create_packet_hash_object(); in get_dev_or_buffered_packets()
1952 if (pkt_hash_obj == NULL) { in get_dev_or_buffered_packets()
1956 pkt_hash_obj->u.pkt_obj->payload = malloc(paylen); in get_dev_or_buffered_packets()
1957 if (pkt_hash_obj->u.pkt_obj->payload == NULL) { in get_dev_or_buffered_packets()
1958 free(pkt_hash_obj); in get_dev_or_buffered_packets()
1965 pkt_hash_obj->u.pkt_obj->payload, paylen, offset); in get_dev_or_buffered_packets()
1969 (void) memcpy(pkt_hash_obj->u.pkt_obj->payload, in get_dev_or_buffered_packets()
1974 free(pkt_hash_obj->u.pkt_obj->payload); in get_dev_or_buffered_packets()
1975 free(pkt_hash_obj); in get_dev_or_buffered_packets()
[all …]
/illumos-gate/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()