Lines Matching defs:seg_obj

151 	segment_obj_t *seg_obj;
153 seg_obj = malloc(sizeof (segment_obj_t));
154 if (seg_obj == NULL) {
160 free(seg_obj);
164 seg_obj->next = NULL;
165 seg_obj->pkt_obj_list = NULL;
168 hash_obj->u.seg_obj = seg_obj;
245 if (parent_obj->u.seg_obj->pkt_obj_list == NULL) {
246 parent_obj->u.seg_obj->pkt_obj_list = child_obj;
250 for (next_hash = parent_obj->u.seg_obj->pkt_obj_list;
266 next_obj = hash_obj->u.seg_obj->pkt_obj_list;
289 hash_obj->u.seg_obj->pkt_obj_list = NULL;
305 sec_hash->u.sec_obj->seg_obj_list = seg_hash->u.seg_obj->next;
309 seg_hash = seg_hash->u.seg_obj->next;
314 next_hash->u.seg_obj->next = seg_hash->u.seg_obj->next;
330 free(seg_hash->u.seg_obj);
362 child_obj->u.seg_obj->section_hdl = parent_obj->obj_hdl;
369 next_hash->u.seg_obj->next != NULL;
370 next_hash = next_hash->u.seg_obj->next) {
374 next_hash->u.seg_obj->next = child_obj;
542 seg_object->u.seg_obj->segment.name, SEG_NAME_LEN);
543 segment->descriptor = seg_object->u.seg_obj->segment.descriptor;
545 segment->offset = seg_object->u.seg_obj->segment.offset;
546 segment->length = seg_object->u.seg_obj->segment.length;
547 seg_object = seg_object->u.seg_obj->next;
689 copy_segment_layout(&seg_hash->u.seg_obj->segment, seg_hdr);
744 sec_hash = lookup_handle_object(seg_hash->u.seg_obj->section_hdl,
756 for (pkt_hash = seg_hash->u.seg_obj->pkt_obj_list; pkt_hash != NULL;
815 sec_hash = lookup_handle_object(seg_hash->u.seg_obj->section_hdl,
822 seg_hash->u.seg_obj->trailer_offset = offset;
901 segdesc = (fru_segdesc_t *)&seg_hash->u.seg_obj->segment.descriptor;
903 seg_hash->u.seg_obj->trailer_offset = offset;
907 offset = seg_hash->u.seg_obj->segment.offset;
923 seg_hash->u.seg_obj->trailer_offset = offset;
983 segment_object = seg_hash->u.seg_obj;
1003 if (seg_hash->u.seg_obj->pkt_obj_list != NULL) {
1007 sec_hash = lookup_handle_object(seg_hash->u.seg_obj->section_hdl,
1023 seg_hash->u.seg_obj->pkt_obj_list = NULL;
1046 if (seg_hash_obj->u.seg_obj->num_of_packets != maxpackets) {
1050 pkt_hash_obj = seg_hash_obj->u.seg_obj->pkt_obj_list;