Lines Matching defs:segment
510 fru_get_segments(section_hdl_t section, segment_t *segment, int maxseg,
540 segment->handle = seg_object->obj_hdl;
541 (void) memcpy(segment->name,
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;
548 segment++;
634 /* size = section layout + total sizeof segment header */
643 /* segment header buffer */
649 /* read segment header */
661 /* copy segment header layout */
689 copy_segment_layout(&seg_hash->u.seg_obj->segment, seg_hdr);
901 segdesc = (fru_segdesc_t *)&seg_hash->u.seg_obj->segment.descriptor;
907 offset = seg_hash->u.seg_obj->segment.offset;
967 fru_get_num_packets(segment_hdl_t segment, door_cred_t *cred)
978 seg_hash = lookup_handle_object(segment, SEGMENT_TYPE);
988 segdesc = (fru_segdesc_t *)&segment_object->segment.descriptor;
993 offset = segment_object->segment.offset;
994 length = segment_object->segment.length;
1013 /* valid segment header b'cos crc8 already validated */
1033 fru_get_packets(segment_hdl_t segment, packet_t *packet, int maxpackets,
1040 /* segment hash object */
1041 seg_hash_obj = lookup_handle_object(segment, SEGMENT_TYPE);
1177 /* traverse segment hash object in the section */
1179 /* object handle of the segment hash object */