Home
last modified time | relevance | path

Searched refs:region_add (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/Documentation/translations/zh_CN/mm/
H A Dhugetlbfs_reserv.rst288 long region_add(struct resv_map *resv, long f, long t);
299 a) 如果操作能够成功,region_add()将被调用,以实际修改先前传递给region_chg()的相同范围
303 注意,这是一个两步的过程, region_add()和 region_abort()在事先调用 region_chg()后保证
304 成功。 region_chg()负责预先分配任何必要的数据结构以确保后续操作(特别是 region_add())的
307 如上所述,region_chg()确定该范围内当前没有在映射中表示的页面的数量。region_add()返回添加
308 到映射中的范围内的页数。在大多数情况下, region_add() 的返回值与 region_chg() 的返回值相
309 同。然而,在共享映射的情况下,有可能在调用 region_chg() 和 region_add() 之间对预留映射进
310 行更改。在这种情况下,region_add()的返回值将与region_chg()的返回值不符。在这种情况下,全局计数
354 这将调用 region_add(),用于指定的页面。与region_chg和region_add的情况一样,该函数应在
372 了私有和共享映射的不同预留映射语义。因此,region_add被调用用于共享映射(因为映射中的条目表
/openbmc/linux/Documentation/mm/
H A Dhugetlbfs_reserv.rst378 long region_add(struct resv_map *resv, long f, long t);
391 a) If the operation can succeed, region_add() is called to actually modify
397 Note that this is a two step process where region_add() and region_abort()
400 necessary to ensure the subsequent operations (specifically region_add()))
405 the caller. region_add() returns the number of pages in the range added to
406 the map. In most cases, the return value of region_add() is the same as the
409 region_chg() and region_add(). In this case, the return value of region_add()
477 This calls region_add() for the specified page. As in the case of region_chg
478 and region_add, this routine is to be called after a previous call to
503 region_add is called for shared mappings (as an entry present in the map
/openbmc/qemu/hw/remote/
H A Dproxy-memory-listener.c218 proxy_listener->listener.region_add = proxy_memory_listener_region_addnop; in proxy_memory_listener_configure()
/openbmc/qemu/hw/intc/
H A Dopenpic_kvm.c235 opp->mem_listener.region_add = kvm_openpic_region_add; in kvm_openpic_realize()
/openbmc/qemu/system/
H A Dmemory_mapping.c290 g.listener.region_add = &guest_phys_blocks_region_add; in guest_phys_blocks_append()
H A Dmemory.c1163 MEMORY_LISTENER_UPDATE_REGION(frnew, as, Forward, region_add); in address_space_update_topology_pass()
3204 if (listener->region_add) { in listener_add_address_space()
3205 listener->region_add(listener, &section); in listener_add_address_space()
/openbmc/qemu/hw/xen/
H A Dxen_pt.c693 .region_add = xen_pt_region_add,
700 .region_add = xen_pt_io_region_add,
H A Dxen-pvh-common.c23 .region_add = xen_region_add,
H A Dxen-hvm-common.c170 .region_add = xen_io_add,
/openbmc/qemu/hw/vfio/
H A Dtrace-events98 vfio_listener_region_add_iommu(const char* name, uint64_t start, uint64_t end) "region_add [iommu] …
100 vfio_listener_region_add_ram(uint64_t iova_start, uint64_t iova_end, void *vaddr) "region_add [ram]…
H A Dspapr.c156 .region_add = vfio_prereg_listener_region_add,
H A Dcommon.c899 .region_add = vfio_dirty_tracking_update,
1387 .region_add = vfio_listener_region_add,
/openbmc/qemu/hw/mem/
H A Dmemory-device.c544 ms->device_memory->listener.region_add = memory_devices_region_add; in machine_memory_devices_init()
/openbmc/qemu/accel/hvf/
H A Dhvf-accel-ops.c305 .region_add = hvf_region_add,
/openbmc/qemu/hw/i386/xen/
H A Dxen-hvm.c475 .region_add = xen_region_add,
/openbmc/linux/mm/
H A Dhugetlb.c649 * to region_add or region_del may have consumed some region_entries, in allocate_file_region_entries()
693 * have sufficient entries due to races with other code doing region_add or
701 * region_add of regions of length 1 never allocate file_regions and cannot
702 * fail; region_chg will always allocate at least 1 entry and a region_add for
705 static long region_add(struct resv_map *resv, long f, long t, in region_add() function
731 /* region_add operation of range 1 should never need to in region_add()
756 * call to region_add that will actually modify the reserve
760 * placeholder, for the subsequent region_add call to use. At least 1
765 * to region_add or region_abort for proper accounting.
798 * calls to region_chg and region_add
[all...]
/openbmc/qemu/hw/virtio/
H A Dvhost.c1578 .region_add = vhost_region_addnop, in vhost_dev_init()
1590 .region_add = vhost_iommu_region_add, in vhost_dev_init()
H A Dvhost-vdpa.c494 .region_add = vhost_vdpa_listener_region_add,
/openbmc/qemu/include/exec/
H A Dmemory.h860 void (*region_add)(MemoryListener *listener, MemoryRegionSection *section); member
/openbmc/qemu/target/i386/nvmm/
H A Dnvmm-all.c1126 .region_add = nvmm_region_add,
/openbmc/qemu/target/arm/
H A Dkvm.c686 .region_add = kvm_arm_devlistener_add,
/openbmc/qemu/target/i386/whpx/
H A Dwhpx-all.c2406 .region_add = whpx_region_add,
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c1917 kml->listener.region_add = kvm_region_add; in kvm_memory_listener_register()