Searched refs:max_align (Results 1 – 3 of 3) sorted by relevance
| /openbmc/qemu/linux-user/ |
| H A D | thunk.c | 68 int nb_fields, offset, max_align, align, size, i, j; in thunk_register_struct() local 92 max_align = 1; in thunk_register_struct() 101 if (align > max_align) in thunk_register_struct() 102 max_align = align; in thunk_register_struct() 105 offset = (offset + max_align - 1) & ~(max_align - 1); in thunk_register_struct() 107 se->align[i] = max_align; in thunk_register_struct() 110 i == THUNK_HOST ? "host" : "target", offset, max_align); in thunk_register_struct()
|
| /openbmc/qemu/block/ |
| H A D | file-posix.c | 423 size_t max_align = MAX(MAX_BLOCKSIZE, qemu_real_host_page_size()); in raw_probe_alignment() local 470 buf = qemu_memalign(max_align, max_align); in raw_probe_alignment() 475 bs->bl.request_alignment = (align != 1) ? align : max_align; in raw_probe_alignment() 485 buf = qemu_memalign(max_align, 2 * max_align); in raw_probe_alignment() 488 if (raw_is_io_aligned(fd, buf + align, max_align)) { in raw_probe_alignment() 2363 size_t max_align = MAX(MAX_BLOCKSIZE, qemu_real_host_page_size()); in allocate_first_block() local 2368 buf = qemu_memalign(max_align, write_size); in allocate_first_block()
|
| /openbmc/qemu/tcg/ |
| H A D | tcg-op-gvec.c | 41 uint32_t max_align; in check_size_align() local 55 max_align = maxsz >= 16 ? 15 : 7; in check_size_align() 56 tcg_debug_assert((maxsz & max_align) == 0); in check_size_align() 57 tcg_debug_assert((ofs & max_align) == 0); in check_size_align()
|