Searched refs:ROUND_DOWN (Results 1 – 15 of 15) sorted by relevance
| /openbmc/qemu/bsd-user/aarch64/ |
| H A D | target_arch_thread.h | 33 sp = ROUND_DOWN(stack_base + stack_size, 16); in target_thread_set_upcall() 58 regs->sp = ROUND_DOWN(stack, 16); in target_thread_init()
|
| /openbmc/qemu/bsd-user/riscv/ |
| H A D | target_arch_thread.h | 30 sp = ROUND_DOWN(stack_base + stack_size, 16); in target_thread_set_upcall() 44 regs->regs[xSP] = ROUND_DOWN(infop->start_stack, 16); in target_thread_init()
|
| /openbmc/qemu/include/qemu/ |
| H A D | osdep.h | 484 #ifndef ROUND_DOWN 485 #define ROUND_DOWN(n, d) ((n) & -(0 ? (n) : (d))) macro 494 #define ROUND_UP(n, d) ROUND_DOWN((n) + (d) - 1, (d))
|
| /openbmc/qemu/tests/fp/ |
| H A D | fp-bench.c | 64 ROUND_DOWN, enumerator 73 [ROUND_DOWN] = "down", 577 case ROUND_DOWN: in set_host_precision() 606 case ROUND_DOWN: in set_soft_precision()
|
| /openbmc/qemu/hw/rx/ |
| H A D | rx-gdbsim.c | 147 dtb_offset = ROUND_DOWN(machine->ram_size - dtb_size, 16); in rx_gdbsim_init()
|
| /openbmc/qemu/linux-user/loongarch64/ |
| H A D | signal.c | 116 sp = ROUND_DOWN(sp, align); in extframe_alloc() 340 sp = ROUND_DOWN(sp, 16); in get_sigframe()
|
| /openbmc/qemu/migration/ |
| H A D | postcopy-ram.c | 945 (void *)(uintptr_t)ROUND_DOWN(client_addr, pagesize), in postcopy_wake_shared() 956 void *aligned = (void *)(uintptr_t)ROUND_DOWN(haddr, qemu_ram_pagesize(rb)); in postcopy_request_page() 984 uint64_t aligned_rbo = ROUND_DOWN(rb_offset, qemu_ram_pagesize(rb)); in postcopy_request_shared_page() 1382 rb_offset = ROUND_DOWN(rb_offset, qemu_ram_pagesize(rb)); in postcopy_ram_fault_thread()
|
| H A D | ram.c | 2037 pss->host_page_start = ROUND_DOWN(pss->page, guest_pfns); in pss_host_page_prepare()
|
| H A D | migration.c | 582 void *aligned = (void *)(uintptr_t)ROUND_DOWN(haddr, qemu_ram_pagesize(rb)); in migrate_send_rp_req_pages()
|
| /openbmc/qemu/hw/loongarch/ |
| H A D | boot.c | 118 map[i].num_pages = ROUND_DOWN(memmap_table[i].address + in init_efi_boot_memmap()
|
| /openbmc/qemu/linux-user/i386/ |
| H A D | signal.c | 271 sp = ROUND_DOWN(sp - math_size, 64); in get_sigframe() 287 sp = ROUND_DOWN(sp, 16); in get_sigframe()
|
| /openbmc/qemu/bsd-user/ |
| H A D | signal.c | 741 return ROUND_DOWN(sp - frame_size, TARGET_SIGSTACK_ALIGN); in get_sigframe()
|
| /openbmc/qemu/hw/cxl/ |
| H A D | cxl-mailbox-utils.c | 2227 start = MAX(ROUND_DOWN(ent->start, 64ull), query_start); in cmd_media_get_poison_list() 2228 stop = MIN(ROUND_DOWN(ent->start, 64ull) + ent->length, in cmd_media_get_poison_list() 2629 start = ROUND_DOWN(ent->start, 64ull); in cmd_media_get_scan_media_results() 2630 stop = ROUND_DOWN(ent->start, 64ull) + ent->length; in cmd_media_get_scan_media_results()
|
| /openbmc/qemu/block/ |
| H A D | block-backend.c | 2330 return ROUND_DOWN(max, blk_get_request_alignment(blk)); in blk_get_max_hw_transfer() 2343 return ROUND_DOWN(max, blk_get_request_alignment(blk)); in blk_get_max_transfer()
|
| /openbmc/qemu/target/arm/tcg/ |
| H A D | sve_helper.c | 7749 reg_off_split = ROUND_DOWN(page_split, esize); in DO_ST1_ZPZ_S() 7758 info->reg_off_last[0] = ROUND_DOWN(reg_off_split - esize, b_stride); in DO_ST1_ZPZ_S()
|