Lines Matching refs:data_offset
564 unsigned long offset, data_offset;
573 data_offset = hdr->in_length - len;
574 offset = hdr->in_offset + data_offset;
595 *(uint64_t *)(hdr->out_buf + data_offset) = be64_to_cpu(data[0]);
598 *(uint32_t *)(hdr->out_buf + data_offset) = be32_to_cpu(data[0] & 0xffffffff);
602 *(uint16_t *)(hdr->out_buf + data_offset) = be16_to_cpu(data[0] & 0xffff);
606 *(uint8_t *)(hdr->out_buf + data_offset) = (data[0] & 0xff);
616 unsigned long offset, data_offset;
627 data_offset = hdr->in_length - len;
628 offset = hdr->in_offset + data_offset;
631 data = *(uint64_t *)(hdr->in_buf + data_offset);
635 data = *(uint32_t *)(hdr->in_buf + data_offset);
640 data = *(uint16_t *)(hdr->in_buf + data_offset);
645 data_be = *(uint8_t *)(hdr->in_buf + data_offset);