Lines Matching refs:offset

409 	seghdr->offset = BE_16(seg_layout->offset);
545 segment->offset = seg_object->u.seg_obj->segment.offset;
555 raw_memcpy(void *buffer, raw_list_t *rawlist, int offset, int size)
557 if (offset + size > rawlist->size) {
558 size = rawlist->size - offset;
561 (void) memcpy(buffer, &rawlist->raw[offset], size);
613 section->offset = sec_obj->section.offset;
619 retval = raw_memcpy(&sec_hdr, rawlist, sec_obj->section.offset,
651 sec_obj->section.offset + sizeof (sec_hdr),
738 int offset = 0;
758 (void) memcpy(buffer + offset, &pkt_hash->u.pkt_obj->tag,
760 offset += pkt_hash->u.pkt_obj->tag_size;
761 (void) memcpy(buffer + offset, pkt_hash->u.pkt_obj->payload,
763 offset += pkt_hash->u.pkt_obj->paylen;
778 get_packet(raw_list_t *rawlist, void *buffer, int size, int offset)
782 retval = raw_memcpy(buffer, rawlist, offset, size);
792 get_packets(hash_obj_t *seg_hash, raw_list_t *rawlist, int offset, int length)
809 retval = get_packet(rawlist, &tag, sizeof (fru_tag_t), offset);
822 seg_hash->u.seg_obj->trailer_offset = offset;
850 if ((offset + tag_size + paylen) >
851 (sec_hash->u.sec_obj->section.offset +
867 offset += tag_size;
870 offset, paylen);
883 pkt_hash_obj->u.pkt_obj->payload_offset = offset;
885 offset += paylen;
893 offset);
903 seg_hash->u.seg_obj->trailer_offset = offset;
907 offset = seg_hash->u.seg_obj->segment.offset;
909 retval = raw_memcpy(&origcrc, rawlist, offset + seg_limit + 1,
923 seg_hash->u.seg_obj->trailer_offset = offset;
971 uint16_t offset;
993 offset = segment_object->segment.offset;
1014 if (offset < sec_hash->u.sec_obj->section.offset) {
1020 pktcnt = get_packets(seg_hash, g_raw, offset, length);
1139 sec_hash_obj->u.sec_obj->section.offset =