Home
last modified time | relevance | path

Searched refs:qemu_memalign (Results 1 – 24 of 24) sorted by relevance

/openbmc/qemu/rust/qemu-api/src/
H A Dlib.rs56 fn qemu_memalign(alignment: usize, size: usize) -> *mut c_void; in qemu_memalign() function
146 unsafe { qemu_memalign(layout.align(), layout.size()).cast::<u8>() } in alloc()
/openbmc/qemu/include/qemu/
H A Dmemalign.h36 void *qemu_memalign(size_t alignment, size_t size);
/openbmc/qemu/util/
H A Dmemalign.c71 void *qemu_memalign(size_t alignment, size_t size) in qemu_memalign() function
H A Datomic64.c79 lock_array = qemu_memalign(qemu_dcache_linesize, lock_size * NR_LOCKS);
H A Dqht.c457 map->buckets = qemu_memalign(QHT_BUCKET_ALIGN, in qht_map_create()
652 b = qemu_memalign(QHT_BUCKET_ALIGN, sizeof(*b)); in qht_insert__locked()
H A Dtrace-events50 qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p"
/openbmc/qemu/hw/tpm/
H A Dtpm_ppi.c52 tpmppi->buf = qemu_memalign(host_page_size, in tpm_ppi_init()
/openbmc/qemu/tests/bench/
H A Datomic_add-bench.c101 counts = qemu_memalign(64, sizeof(*counts) * range); in create_threads()
H A Dqht-bench.c253 info = qemu_memalign(64, sizeof(*info) * n); in th_create_n()
/openbmc/qemu/plugins/
H A Dloader.c189 ctx = qemu_memalign(qemu_dcache_linesize, sizeof(*ctx)); in plugin_load()
/openbmc/qemu/net/
H A Daf-xdp.c305 s->buffer = qemu_memalign(qemu_real_host_page_size(), size); in af_xdp_umem_create()
H A Dl2tpv3.c485 iov->iov_base = qemu_memalign(BUFFER_ALIGN, BUFFER_SIZE); in build_l2tpv3_vector()
/openbmc/qemu/docs/devel/
H A Dtracing.rst105 ptr = qemu_memalign(align, size);
406 ptr = qemu_memalign(align, size);
H A Dstyle.rst432 or QEMU's ``qemu_memalign/qemu_blockalign/qemu_vfree`` APIs.
472 Memory allocated by ``qemu_memalign`` or ``qemu_blockalign`` must be freed with
/openbmc/qemu/tcg/
H A Dregion.c185 region_trees = qemu_memalign(qemu_dcache_linesize, region.n * tree_size); in tcg_region_trees_init()
/openbmc/qemu/target/i386/hvf/
H A Dhvf.c317 x86cpu->env.xsave_buf = qemu_memalign(4096, x86cpu->env.xsave_buf_len); in hvf_arch_init_vcpu()
/openbmc/qemu/hw/block/dataplane/
H A Dxen-block.c106 request->buf = qemu_memalign(XEN_PAGE_SIZE, in xen_block_start_request()
/openbmc/qemu/block/
H A Dfile-posix.c446 buf = qemu_memalign(max_align, max_align); in raw_probe_alignment()
461 buf = qemu_memalign(max_align, 2 * max_align); in raw_probe_alignment()
2264 buf = qemu_memalign(max_align, write_size); in allocate_first_block()
H A Dio.c3295 return qemu_memalign(bdrv_opt_mem_align(bs), size); in qemu_blockalign()
/openbmc/qemu/hw/block/
H A Dfdc.c2367 fdctrl->fifo = qemu_memalign(512, FD_SECTOR_LEN); in fdctrl_realize_common()
/openbmc/qemu/qom/
H A Dobject.c776 obj = qemu_memalign(align, size); in object_new_with_type()
/openbmc/qemu/hw/ide/
H A Dcore.c2682 s->io_buffer = qemu_memalign(2048, s->io_buffer_total_len); in ide_init1()
/openbmc/qemu/hw/ppc/
H A Dspapr.c1612 spapr->htab = qemu_memalign(size, size); in spapr_reallocate_hpt()
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c1794 env->xsave_buf = qemu_memalign(4096, env->xsave_buf_len); in kvm_init_xsave()