/dports/sysutils/testdisk/testdisk-7.1/src/ |
H A D | fat_cluster.c | 104 cluster_offset_t *cluster_offset; in find_sectors_per_cluster_aux() local 140 cluster_offset[sol_cur].nbr++; in find_sectors_per_cluster_aux() 150 cluster_offset[nbr_sol].nbr=1; in find_sectors_per_cluster_aux() 151 cluster_offset[nbr_sol].first_sol=i; in find_sectors_per_cluster_aux() 169 cluster_offset[i].sectors_per_cluster, in find_sectors_per_cluster_aux() 170 cluster_offset[i].offset, in find_sectors_per_cluster_aux() 171 cluster_offset[i].nbr); in find_sectors_per_cluster_aux() 188 cluster_offset[i].nbr>nbr_max) in find_sectors_per_cluster_aux() 190 nbr_max=cluster_offset[i].nbr; in find_sectors_per_cluster_aux() 192 *offset=cluster_offset[i].offset; in find_sectors_per_cluster_aux() [all …]
|
/dports/emulators/x49gp/x49gp/x49gp-code/ |
H A D | block-qcow.c | 254 if (!cluster_offset || in get_cluster_offset() 267 cluster_offset = (cluster_offset + s->cluster_size - 1) & in get_cluster_offset() 277 cluster_offset = (cluster_offset + s->cluster_size - 1) & in get_cluster_offset() 292 return cluster_offset; in get_cluster_offset() 300 uint64_t cluster_offset; in qcow_is_allocated() local 308 return (cluster_offset != 0); in qcow_is_allocated() 364 uint64_t cluster_offset; in qcow_read() local 372 if (!cluster_offset) { in qcow_read() 402 uint64_t cluster_offset; in qcow_write() local 412 if (!cluster_offset) in qcow_write() [all …]
|
/dports/sysutils/afflib/AFFLIBv3-3.7.16/lib/qemu/ |
H A D | block-qcow.c | 321 if (!cluster_offset || in get_cluster_offset() 334 cluster_offset = (cluster_offset + s->cluster_size - 1) & in get_cluster_offset() 344 cluster_offset = (cluster_offset + s->cluster_size - 1) & in get_cluster_offset() 378 return cluster_offset; in get_cluster_offset() 386 uint64_t cluster_offset; in qcow_is_allocated() local 452 uint64_t cluster_offset; 495 uint64_t cluster_offset; in qcow_write() local 505 if (!cluster_offset) in qcow_write() 531 uint64_t cluster_offset; member 630 acb->cluster_offset = 0; in qcow_aio_read() [all …]
|
H A D | block-qcow2.c | 575 if (!cluster_offset) { in get_cluster_offset() 630 return cluster_offset; in get_cluster_offset() 638 uint64_t cluster_offset; in qcow_is_allocated() local 719 uint64_t cluster_offset; in qcow_read() local 764 uint64_t cluster_offset; in qcow_write() local 774 if (!cluster_offset) in qcow_write() 959 if (!cluster_offset || (cluster_offset & 511) != 0) { in qcow_aio_write_cb() 1041 for(cluster_offset = start; cluster_offset <= last; in create_refcount_update() 1177 cluster_offset = (cluster_offset + 511) & ~511; in qcow_write_compressed() 2031 for(cluster_offset = start; cluster_offset <= last; in update_refcount() [all …]
|
H A D | block-vmdk.c | 526 uint64_t cluster_offset; in get_cluster_offset() local 569 if (!cluster_offset) { in get_cluster_offset() 577 cluster_offset >>= 9; in get_cluster_offset() 581 activeBDRV.cluster_offset = cluster_offset; in get_cluster_offset() 600 cluster_offset <<= 9; in get_cluster_offset() 601 return cluster_offset; in get_cluster_offset() 609 uint64_t cluster_offset; in vmdk_is_allocated() local 625 uint64_t cluster_offset; in vmdk_read() local 633 if (!cluster_offset) { in vmdk_read() 661 uint64_t cluster_offset; in vmdk_write() local [all …]
|
/dports/emulators/qemu/qemu-6.2.0/block/ |
H A D | qcow.c | 433 if (!cluster_offset || in get_cluster_offset() 452 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 467 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 523 *result = cluster_offset; in get_cluster_offset() 536 uint64_t cluster_offset; in qcow_co_block_status() local 550 if (!cluster_offset) { in qcow_co_block_status() 627 uint64_t cluster_offset; in qcow_co_preadv() local 656 if (!cluster_offset) { in qcow_co_preadv() 723 uint64_t cluster_offset; in qcow_co_pwritev() local 757 if (!cluster_offset || (cluster_offset & 511) != 0) { in qcow_co_pwritev() [all …]
|
H A D | qcow2-cluster.c | 833 int64_t cluster_offset; in qcow2_alloc_compressed_cluster_offset() local 854 if (cluster_offset < 0) { in qcow2_alloc_compressed_cluster_offset() 856 return cluster_offset; in qcow2_alloc_compressed_cluster_offset() 864 assert((cluster_offset & s->cluster_offset_mask) == cluster_offset); in qcow2_alloc_compressed_cluster_offset() 1493 uint64_t l2_entry, cluster_offset; in handle_copied() local 1615 int64_t cluster_offset = in do_alloc_cluster_offset() local 1617 if (cluster_offset < 0) { in do_alloc_cluster_offset() 1618 return cluster_offset; in do_alloc_cluster_offset() 1620 *host_offset = cluster_offset; in do_alloc_cluster_offset() 1780 uint64_t cluster_offset; in qcow2_alloc_host_offset() local [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/block/ |
H A D | qcow.c | 433 if (!cluster_offset || in get_cluster_offset() 452 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 467 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 523 *result = cluster_offset; in get_cluster_offset() 536 uint64_t cluster_offset; in qcow_co_block_status() local 550 if (!cluster_offset) { in qcow_co_block_status() 627 uint64_t cluster_offset; in qcow_co_preadv() local 656 if (!cluster_offset) { in qcow_co_preadv() 723 uint64_t cluster_offset; in qcow_co_pwritev() local 757 if (!cluster_offset || (cluster_offset & 511) != 0) { in qcow_co_pwritev() [all …]
|
H A D | qcow2-cluster.c | 821 int64_t cluster_offset; in qcow2_alloc_compressed_cluster_offset() local 842 if (cluster_offset < 0) { in qcow2_alloc_compressed_cluster_offset() 844 return cluster_offset; in qcow2_alloc_compressed_cluster_offset() 852 assert((cluster_offset & s->cluster_offset_mask) == cluster_offset); in qcow2_alloc_compressed_cluster_offset() 1463 uint64_t l2_entry, cluster_offset; in handle_copied() local 1585 int64_t cluster_offset = in do_alloc_cluster_offset() local 1587 if (cluster_offset < 0) { in do_alloc_cluster_offset() 1588 return cluster_offset; in do_alloc_cluster_offset() 1590 *host_offset = cluster_offset; in do_alloc_cluster_offset() 1750 uint64_t cluster_offset; in qcow2_alloc_host_offset() local [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/block/ |
H A D | qcow.c | 433 if (!cluster_offset || in get_cluster_offset() 452 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 467 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 523 *result = cluster_offset; in get_cluster_offset() 536 uint64_t cluster_offset; in qcow_co_block_status() local 550 if (!cluster_offset) { in qcow_co_block_status() 627 uint64_t cluster_offset; in qcow_co_preadv() local 656 if (!cluster_offset) { in qcow_co_preadv() 723 uint64_t cluster_offset; in qcow_co_pwritev() local 757 if (!cluster_offset || (cluster_offset & 511) != 0) { in qcow_co_pwritev() [all …]
|
H A D | qcow2-cluster.c | 821 int64_t cluster_offset; in qcow2_alloc_compressed_cluster_offset() local 842 if (cluster_offset < 0) { in qcow2_alloc_compressed_cluster_offset() 844 return cluster_offset; in qcow2_alloc_compressed_cluster_offset() 852 assert((cluster_offset & s->cluster_offset_mask) == cluster_offset); in qcow2_alloc_compressed_cluster_offset() 1463 uint64_t l2_entry, cluster_offset; in handle_copied() local 1585 int64_t cluster_offset = in do_alloc_cluster_offset() local 1587 if (cluster_offset < 0) { in do_alloc_cluster_offset() 1588 return cluster_offset; in do_alloc_cluster_offset() 1590 *host_offset = cluster_offset; in do_alloc_cluster_offset() 1750 uint64_t cluster_offset; in qcow2_alloc_host_offset() local [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/block/ |
H A D | qcow.c | 436 if (!cluster_offset || in get_cluster_offset() 455 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 470 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 526 *result = cluster_offset; in get_cluster_offset() 539 uint64_t cluster_offset; in qcow_co_block_status() local 553 if (!cluster_offset) { in qcow_co_block_status() 630 uint64_t cluster_offset; in qcow_co_preadv() local 661 if (!cluster_offset) { in qcow_co_preadv() 734 uint64_t cluster_offset; in qcow_co_pwritev() local 770 if (!cluster_offset || (cluster_offset & 511) != 0) { in qcow_co_pwritev() [all …]
|
H A D | qcow2-cluster.c | 554 *cluster_offset = 0; in qcow2_get_cluster_offset() 615 *cluster_offset = 0; in qcow2_get_cluster_offset() 752 int64_t cluster_offset; in qcow2_alloc_compressed_cluster_offset() local 769 if (cluster_offset < 0) { in qcow2_alloc_compressed_cluster_offset() 789 return cluster_offset; in qcow2_alloc_compressed_cluster_offset() 1133 uint64_t cluster_offset; in handle_copied() local 1247 int64_t cluster_offset = in do_alloc_cluster_offset() local 1249 if (cluster_offset < 0) { in do_alloc_cluster_offset() 1250 return cluster_offset; in do_alloc_cluster_offset() 1473 uint64_t cluster_offset; in qcow2_alloc_cluster_offset() local [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/block/ |
H A D | qcow.c | 444 if (!cluster_offset || in get_cluster_offset() 463 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 478 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 534 *result = cluster_offset; in get_cluster_offset() 547 uint64_t cluster_offset; in qcow_co_block_status() local 561 if (!cluster_offset) { in qcow_co_block_status() 638 uint64_t cluster_offset; in qcow_co_preadv() local 667 if (!cluster_offset) { in qcow_co_preadv() 734 uint64_t cluster_offset; in qcow_co_pwritev() local 768 if (!cluster_offset || (cluster_offset & 511) != 0) { in qcow_co_pwritev() [all …]
|
H A D | qcow2-cluster.c | 536 *cluster_offset = 0; in qcow2_get_cluster_offset() 605 *cluster_offset = 0; in qcow2_get_cluster_offset() 750 int64_t cluster_offset; in qcow2_alloc_compressed_cluster_offset() local 771 if (cluster_offset < 0) { in qcow2_alloc_compressed_cluster_offset() 773 return cluster_offset; in qcow2_alloc_compressed_cluster_offset() 1150 uint64_t cluster_offset; in handle_copied() local 1271 int64_t cluster_offset = in do_alloc_cluster_offset() local 1273 if (cluster_offset < 0) { in do_alloc_cluster_offset() 1274 return cluster_offset; in do_alloc_cluster_offset() 1486 uint64_t cluster_offset; in qcow2_alloc_cluster_offset() local [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/block/ |
H A D | qcow.c | 444 if (!cluster_offset || in get_cluster_offset() 463 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 478 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 534 *result = cluster_offset; in get_cluster_offset() 547 uint64_t cluster_offset; in qcow_co_block_status() local 561 if (!cluster_offset) { in qcow_co_block_status() 638 uint64_t cluster_offset; in qcow_co_preadv() local 667 if (!cluster_offset) { in qcow_co_preadv() 734 uint64_t cluster_offset; in qcow_co_pwritev() local 768 if (!cluster_offset || (cluster_offset & 511) != 0) { in qcow_co_pwritev() [all …]
|
H A D | qcow2-cluster.c | 536 *cluster_offset = 0; in qcow2_get_cluster_offset() 605 *cluster_offset = 0; in qcow2_get_cluster_offset() 750 int64_t cluster_offset; in qcow2_alloc_compressed_cluster_offset() local 771 if (cluster_offset < 0) { in qcow2_alloc_compressed_cluster_offset() 773 return cluster_offset; in qcow2_alloc_compressed_cluster_offset() 1150 uint64_t cluster_offset; in handle_copied() local 1271 int64_t cluster_offset = in do_alloc_cluster_offset() local 1273 if (cluster_offset < 0) { in do_alloc_cluster_offset() 1274 return cluster_offset; in do_alloc_cluster_offset() 1486 uint64_t cluster_offset; in qcow2_alloc_cluster_offset() local [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/block/ |
H A D | qcow.c | 444 if (!cluster_offset || in get_cluster_offset() 463 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 478 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 534 *result = cluster_offset; in get_cluster_offset() 547 uint64_t cluster_offset; in qcow_co_block_status() local 561 if (!cluster_offset) { in qcow_co_block_status() 638 uint64_t cluster_offset; in qcow_co_preadv() local 667 if (!cluster_offset) { in qcow_co_preadv() 734 uint64_t cluster_offset; in qcow_co_pwritev() local 768 if (!cluster_offset || (cluster_offset & 511) != 0) { in qcow_co_pwritev() [all …]
|
H A D | qcow2-cluster.c | 540 *cluster_offset = 0; in qcow2_get_cluster_offset() 609 *cluster_offset = 0; in qcow2_get_cluster_offset() 754 int64_t cluster_offset; in qcow2_alloc_compressed_cluster_offset() local 775 if (cluster_offset < 0) { in qcow2_alloc_compressed_cluster_offset() 777 return cluster_offset; in qcow2_alloc_compressed_cluster_offset() 785 assert((cluster_offset & s->cluster_offset_mask) == cluster_offset); in qcow2_alloc_compressed_cluster_offset() 1161 uint64_t cluster_offset; in handle_copied() local 1282 int64_t cluster_offset = in do_alloc_cluster_offset() local 1284 if (cluster_offset < 0) { in do_alloc_cluster_offset() 1497 uint64_t cluster_offset; in qcow2_alloc_cluster_offset() local [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/block/ |
H A D | qcow.c | 444 if (!cluster_offset || in get_cluster_offset() 463 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 478 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 534 *result = cluster_offset; in get_cluster_offset() 547 uint64_t cluster_offset; in qcow_co_block_status() local 561 if (!cluster_offset) { in qcow_co_block_status() 638 uint64_t cluster_offset; in qcow_co_preadv() local 667 if (!cluster_offset) { in qcow_co_preadv() 734 uint64_t cluster_offset; in qcow_co_pwritev() local 768 if (!cluster_offset || (cluster_offset & 511) != 0) { in qcow_co_pwritev() [all …]
|
H A D | qcow2-cluster.c | 540 *cluster_offset = 0; in qcow2_get_cluster_offset() 609 *cluster_offset = 0; in qcow2_get_cluster_offset() 754 int64_t cluster_offset; in qcow2_alloc_compressed_cluster_offset() local 775 if (cluster_offset < 0) { in qcow2_alloc_compressed_cluster_offset() 777 return cluster_offset; in qcow2_alloc_compressed_cluster_offset() 785 assert((cluster_offset & s->cluster_offset_mask) == cluster_offset); in qcow2_alloc_compressed_cluster_offset() 1161 uint64_t cluster_offset; in handle_copied() local 1282 int64_t cluster_offset = in do_alloc_cluster_offset() local 1284 if (cluster_offset < 0) { in do_alloc_cluster_offset() 1497 uint64_t cluster_offset; in qcow2_alloc_cluster_offset() local [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/block/ |
H A D | qcow.c | 433 if (!cluster_offset || in get_cluster_offset() 452 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 467 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset() 523 *result = cluster_offset; in get_cluster_offset() 536 uint64_t cluster_offset; in qcow_co_block_status() local 550 if (!cluster_offset) { in qcow_co_block_status() 627 uint64_t cluster_offset; in qcow_co_preadv() local 656 if (!cluster_offset) { in qcow_co_preadv() 723 uint64_t cluster_offset; in qcow_co_pwritev() local 757 if (!cluster_offset || (cluster_offset & 511) != 0) { in qcow_co_pwritev() [all …]
|
H A D | qcow2-cluster.c | 820 int64_t cluster_offset; in qcow2_alloc_compressed_cluster_offset() local 841 if (cluster_offset < 0) { in qcow2_alloc_compressed_cluster_offset() 843 return cluster_offset; in qcow2_alloc_compressed_cluster_offset() 851 assert((cluster_offset & s->cluster_offset_mask) == cluster_offset); in qcow2_alloc_compressed_cluster_offset() 1480 uint64_t l2_entry, cluster_offset; in handle_copied() local 1602 int64_t cluster_offset = in do_alloc_cluster_offset() local 1604 if (cluster_offset < 0) { in do_alloc_cluster_offset() 1605 return cluster_offset; in do_alloc_cluster_offset() 1607 *host_offset = cluster_offset; in do_alloc_cluster_offset() 1767 uint64_t cluster_offset; in qcow2_alloc_host_offset() local [all …]
|
/dports/devel/roboctl/roboctl-0.3.8/Libs/C/ |
H A D | vex.c | 44 cluster_offset, in vex_upload_program() local 136 cluster_offset = c * VEX_WRITE_CLUSTER_SIZE; in vex_upload_program() 137 address = start_address + cluster_offset; in vex_upload_program() 141 pic_write_program_mem(pic, address, blocks_per_write, code + cluster_offset); in vex_upload_program() 143 printf("Bytes: %4lu\r",cluster_offset + VEX_WRITE_CLUSTER_SIZE); in vex_upload_program() 149 cluster_offset = c * VEX_WRITE_CLUSTER_SIZE; in vex_upload_program()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/clk/mvebu/ |
H A D | ap-cpu-clk.c | 45 unsigned int cluster_offset; member 83 .cluster_offset = AP806_CA72MP2_0_PLL_CR_CLUSTER_OFFSET, 117 .cluster_offset = AP807_CA72MP2_0_PLL_CR_CLUSTER_OFFSET, 152 (clk->cluster * clk->pll_regs->cluster_offset); in ap_cpu_clk_recalc_rate() 168 (clk->cluster * clk->pll_regs->cluster_offset); in ap_cpu_clk_set_rate() 170 (clk->cluster * clk->pll_regs->cluster_offset); in ap_cpu_clk_set_rate() 172 (clk->cluster * clk->pll_regs->cluster_offset); in ap_cpu_clk_set_rate()
|