Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c172 packet_obj_t *pkt_obj; in create_packet_hash_object() local
174 pkt_obj = malloc(sizeof (packet_obj_t)); in create_packet_hash_object()
175 if (pkt_obj == NULL) { in create_packet_hash_object()
181 free(pkt_obj); in create_packet_hash_object()
185 pkt_obj->next = NULL; in create_packet_hash_object()
188 hash_obj->u.pkt_obj = pkt_obj; in create_packet_hash_object()
268 child_obj->u.pkt_obj->segment_hdl = parent_obj->obj_hdl; in add_to_pkt_object_list()
276 next_hash->u.pkt_obj->next != NULL; in add_to_pkt_object_list()
277 next_hash = next_hash->u.pkt_obj->next) { in add_to_pkt_object_list()
281 next_hash->u.pkt_obj->next = child_obj; in add_to_pkt_object_list()
[all …]
H A Dfru_access_impl.h195 packet_obj_t *pkt_obj; member
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Draw_access.c180 packet_obj_t *pkt_obj; in create_packet_hash_object() local
182 pkt_obj = malloc(sizeof (packet_obj_t)); in create_packet_hash_object()
183 if (pkt_obj == NULL) { in create_packet_hash_object()
189 free(pkt_obj); in create_packet_hash_object()
193 pkt_obj->next = NULL; in create_packet_hash_object()
196 hash_obj->u.pkt_obj = pkt_obj; in create_packet_hash_object()
243 child_obj->u.pkt_obj->segment_hdl = parent_obj->obj_hdl; in add_to_pkt_object_list()
251 next_hash->u.pkt_obj->next != NULL; in add_to_pkt_object_list()
252 next_hash = next_hash->u.pkt_obj->next) { in add_to_pkt_object_list()
256 next_hash->u.pkt_obj->next = child_obj; in add_to_pkt_object_list()
[all …]
H A Dfru_access_impl.h191 packet_obj_t *pkt_obj; member
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c2367 free_packet_hash_object(hash_obj_t *pkt_obj) in free_packet_hash_object() argument
2371 while (pkt_obj != NULL) { in free_packet_hash_object()
2372 tmp_obj = pkt_obj->u.pkt_node->next; in free_packet_hash_object()
2373 free(pkt_obj->u.pkt_node); in free_packet_hash_object()
2374 free(pkt_obj); in free_packet_hash_object()
2375 pkt_obj = tmp_obj; in free_packet_hash_object()