Home
last modified time | relevance | path

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

/openbmc/qemu/contrib/elf2dmp/
H A Dqemu_elf.c66 uint64_t end_offset; in init_states() local
78 if (uadd64_overflow(offset, phdr[0].p_memsz, &end_offset) || in init_states()
79 end_offset > qe->size) { in init_states()
80 end_offset = qe->size; in init_states()
83 while (offset < end_offset) { in init_states()
86 if (!advance_note_offset(&offset, sizeof(*nhdr), end_offset)) { in init_states()
92 if (!advance_note_offset(&offset, nhdr->n_namesz, end_offset)) { in init_states()
98 if (!advance_note_offset(&offset, nhdr->n_descsz, end_offset)) { in init_states()
/openbmc/qemu/block/
H A Dqed.h288 uint64_t end_offset = offset + (s->header.table_size - 1) * in qed_check_table_offset() local
292 if (end_offset <= offset) { in qed_check_table_offset()
297 qed_check_cluster_offset(s, end_offset); in qed_check_table_offset()
H A Dqcow2-cluster.c2000 uint64_t end_offset = offset + bytes; in qcow2_cluster_discard() local
2007 assert(QEMU_IS_ALIGNED(end_offset, s->cluster_size) || in qcow2_cluster_discard()
2008 end_offset == bs->total_sectors << BDRV_SECTOR_BITS); in qcow2_cluster_discard()
2161 uint64_t end_offset = offset + bytes; in qcow2_subcluster_zeroize() local
2179 assert(offset_into_subcluster(s, end_offset) == 0 || in qcow2_subcluster_zeroize()
2180 end_offset >= bs->total_sectors << BDRV_SECTOR_BITS); in qcow2_subcluster_zeroize()
2194 head = MIN(end_offset, ROUND_UP(offset, s->cluster_size)) - offset; in qcow2_subcluster_zeroize()
2197 tail = (end_offset >= bs->total_sectors << BDRV_SECTOR_BITS) ? 0 : in qcow2_subcluster_zeroize()
2198 end_offset - MAX(offset, start_of_cluster(s, end_offset)); in qcow2_subcluster_zeroize()
2199 end_offset -= tail; in qcow2_subcluster_zeroize()
[all …]
H A Dqcow2.c206 uint64_t end_offset, void **p_feature_table, in qcow2_read_extensions() argument
220 printf("qcow2_read_extensions: start=%ld end=%ld\n", start_offset, end_offset); in qcow2_read_extensions()
223 while (offset < end_offset) { in qcow2_read_extensions()
245 if (offset > end_offset || ext.len > end_offset - offset) { in qcow2_read_extensions()
5020 uint64_t offset, end_offset; in qcow2_make_empty() local
5044 end_offset = bs->total_sectors * BDRV_SECTOR_SIZE; in qcow2_make_empty()
5045 for (offset = 0; offset < end_offset; offset += step) { in qcow2_make_empty()
5051 ret = qcow2_cluster_discard(bs, offset, MIN(step, end_offset - offset), in qcow2_make_empty()
H A Dqcow2-refcount.c541 uint64_t table_offset, block_offset, end_offset; in qcow2_refcount_area() local
612 end_offset = table_offset + table_clusters * s->cluster_size; in qcow2_refcount_area()
644 if (first_offset_covered < end_offset) { in qcow2_refcount_area()
657 end_index = MIN((end_offset - first_offset_covered) / in qcow2_refcount_area()
729 return end_offset; in qcow2_refcount_area()
/openbmc/google-misc/subprojects/libcr51sign/include/libcr51sign/
H A Dlibcr51sign.h99 uint32_t end_offset; // Absolute image end offset member
/openbmc/google-misc/subprojects/libcr51sign/src/
H A Dlibcr51sign.c935 if (limit <= start_offset || limit > ctx->end_offset || in scan_for_magic_8()
1004 ctx->end_offset, DESCRIPTOR_ALIGNMENT, in libcr51sign_validate()
1014 ctx->end_offset - ctx->start_offset, &payload_blob_offset); in libcr51sign_validate()
1078 ctx->end_offset, DESCRIPTOR_ALIGNMENT, in libcr51sign_validate()
/openbmc/qemu/hw/usb/
H A Dhcd-ohci.c587 uint32_t start_offset, next_offset, end_offset = 0; in ohci_service_iso_td() local
700 end_offset = next_offset - 1; in ohci_service_iso_td()
701 if ((end_offset & 0x1000) == 0) { in ohci_service_iso_td()
703 (end_offset & OHCI_OFFSET_MASK); in ohci_service_iso_td()
706 (end_offset & OHCI_OFFSET_MASK); in ohci_service_iso_td()
761 trace_usb_ohci_iso_td_so(start_offset, end_offset, start_addr, end_addr, in ohci_service_iso_td()
/openbmc/qemu/hw/ssi/
H A Daspeed_smc.c1653 uint32_t end_offset = reg & AST2600_SEG_ADDR_MASK; in aspeed_2600_smc_reg_to_segment() local
1658 seg->size = end_offset + MiB - start_offset; in aspeed_2600_smc_reg_to_segment()
1819 uint32_t end_offset = reg & AST1030_SEG_ADDR_MASK; in aspeed_1030_smc_reg_to_segment() local
1824 seg->size = end_offset + (512 * KiB) - start_offset; in aspeed_1030_smc_reg_to_segment()
1980 uint32_t end_offset = reg & AST2700_SEG_ADDR_MASK; in aspeed_2700_smc_reg_to_segment() local
1985 seg->size = end_offset + (64 * KiB) - start_offset; in aspeed_2700_smc_reg_to_segment()