Home
last modified time | relevance | path

Searched refs:llsize (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/vfio/
H A Dcommon.c573 Int128 llend, llsize; in vfio_listener_region_add() local
658 llsize = int128_sub(llend, int128_make64(iova)); in vfio_listener_region_add()
663 if ((iova & pgmask) || (int128_get64(llsize) & pgmask)) { in vfio_listener_region_add()
678 bcontainer, iova, int128_get64(llsize), vaddr, ret, in vfio_listener_region_add()
720 Int128 llend, llsize; in vfio_listener_region_del() local
757 llsize = int128_sub(llend, int128_make64(iova)); in vfio_listener_region_del()
773 if (int128_eq(llsize, int128_2_64())) { in vfio_listener_region_del()
775 llsize = int128_rshift(llsize, 1); in vfio_listener_region_del()
784 iova += int128_get64(llsize); in vfio_listener_region_del()
787 int128_get64(llsize), NULL); in vfio_listener_region_del()
[all …]
/openbmc/qemu/hw/virtio/
H A Dvhost-vdpa.c320 Int128 llend, llsize; in vhost_vdpa_listener_region_add() local
360 llsize = int128_sub(llend, int128_make64(iova)); in vhost_vdpa_listener_region_add()
365 mem_region.size = int128_get64(llsize) - 1, in vhost_vdpa_listener_region_add()
408 Int128 llend, llsize; in vhost_vdpa_listener_region_del() local
439 llsize = int128_sub(llend, int128_make64(iova)); in vhost_vdpa_listener_region_del()
448 .size = int128_get64(llsize) - 1, in vhost_vdpa_listener_region_del()
463 if (int128_eq(llsize, int128_2_64())) { in vhost_vdpa_listener_region_del()
464 llsize = int128_rshift(llsize, 1); in vhost_vdpa_listener_region_del()
466 int128_get64(llsize)); in vhost_vdpa_listener_region_del()
473 iova += int128_get64(llsize); in vhost_vdpa_listener_region_del()
[all …]