Home
last modified time | relevance | path

Searched refs:seg_obj (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/lib/libfru/libfruraw/
H A Draw_access.c151 segment_obj_t *seg_obj; in create_segment_hash_object() local
153 seg_obj = malloc(sizeof (segment_obj_t)); in create_segment_hash_object()
154 if (seg_obj == NULL) { in create_segment_hash_object()
160 free(seg_obj); in create_segment_hash_object()
164 seg_obj->next = NULL; in create_segment_hash_object()
165 seg_obj->pkt_obj_list = NULL; in create_segment_hash_object()
168 hash_obj->u.seg_obj = seg_obj; in create_segment_hash_object()
245 if (parent_obj->u.seg_obj->pkt_obj_list == NULL) { in add_to_pkt_object_list()
246 parent_obj->u.seg_obj->pkt_obj_list = child_obj; in add_to_pkt_object_list()
250 for (next_hash = parent_obj->u.seg_obj->pkt_obj_list; in add_to_pkt_object_list()
[all …]
H A Dfru_access_impl.h190 segment_obj_t *seg_obj; member
/titanic_50/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c145 segment_obj_t *seg_obj; in create_segment_hash_object() local
147 seg_obj = malloc(sizeof (segment_obj_t)); in create_segment_hash_object()
148 if (seg_obj == NULL) { in create_segment_hash_object()
154 free(seg_obj); in create_segment_hash_object()
158 seg_obj->next = NULL; in create_segment_hash_object()
159 seg_obj->pkt_obj_list = NULL; in create_segment_hash_object()
162 hash_obj->u.seg_obj = seg_obj; in create_segment_hash_object()
248 child_obj->u.seg_obj->section_hdl = parent_obj->obj_hdl; in add_to_seg_object_list()
255 next_hash->u.seg_obj->next != NULL; in add_to_seg_object_list()
256 next_hash = next_hash->u.seg_obj->next) { in add_to_seg_object_list()
[all …]
H A Dfru_access_impl.h192 segment_obj_t *seg_obj; member
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c283 segment_obj_t *seg_obj; in create_segment_hash_object() local
285 seg_obj = malloc(sizeof (segment_obj_t)); in create_segment_hash_object()
286 if (seg_obj == NULL) { in create_segment_hash_object()
292 free(seg_obj); in create_segment_hash_object()
296 seg_obj->next = NULL; in create_segment_hash_object()
297 seg_obj->pkt_obj_list = NULL; in create_segment_hash_object()
300 hash_obj->u.seg_obj = seg_obj; in create_segment_hash_object()
384 child_obj->u.seg_obj->section_hdl = parent_obj->obj_hdl; in add_to_seg_object_list()
391 next_hash->u.seg_obj->next != NULL; in add_to_seg_object_list()
392 next_hash = next_hash->u.seg_obj->next) { in add_to_seg_object_list()
[all …]
H A Dfru_access_impl.h248 segment_obj_t *seg_obj; member
/titanic_50/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c144 segment_obj_t *seg_obj; in create_segment_hash_object() local
146 seg_obj = malloc(sizeof (segment_obj_t)); in create_segment_hash_object()
147 if (seg_obj == NULL) { in create_segment_hash_object()
153 free(seg_obj); in create_segment_hash_object()
157 seg_obj->next = NULL; in create_segment_hash_object()
158 seg_obj->pkt_obj_list = NULL; in create_segment_hash_object()
161 hash_obj->u.seg_obj = seg_obj; in create_segment_hash_object()
247 child_obj->u.seg_obj->section_hdl = parent_obj->obj_hdl; in add_to_seg_object_list()
254 next_hash->u.seg_obj->next != NULL; in add_to_seg_object_list()
255 next_hash = next_hash->u.seg_obj->next) { in add_to_seg_object_list()
[all …]
H A Dfru_access_impl.h196 segment_obj_t *seg_obj; member
/titanic_50/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c1109 add_row_to_table(hash_obj_t *seg_obj, picl_nodehdl_t tblhdl, packet_t *pkt, in add_row_to_table() argument
1183 add_to_packet_list(seg_obj, hash_obj); in add_row_to_table()
2380 free_segment_hash_object(hash_obj_t *seg_obj) in free_segment_hash_object() argument
2384 while (seg_obj != NULL) { in free_segment_hash_object()
2385 free_packet_hash_object(seg_obj->u.seg_node->packet_list); in free_segment_hash_object()
2386 tmp_obj = seg_obj->u.seg_node->next; in free_segment_hash_object()
2387 free(seg_obj->u.seg_node); in free_segment_hash_object()
2388 free(seg_obj); in free_segment_hash_object()
2389 seg_obj = tmp_obj; in free_segment_hash_object()