/openbmc/linux/Documentation/translations/zh_CN/mm/ |
H A D | hugetlbfs_reserv.rst | 288 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 D | hugetlbfs_reserv.rst | 378 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 D | proxy-memory-listener.c | 218 proxy_listener->listener.region_add = proxy_memory_listener_region_addnop; in proxy_memory_listener_configure()
|
/openbmc/qemu/hw/intc/ |
H A D | openpic_kvm.c | 235 opp->mem_listener.region_add = kvm_openpic_region_add; in kvm_openpic_realize()
|
/openbmc/qemu/system/ |
H A D | memory_mapping.c | 290 g.listener.region_add = &guest_phys_blocks_region_add; in guest_phys_blocks_append()
|
H A D | memory.c | 1163 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, §ion); in listener_add_address_space()
|
/openbmc/qemu/hw/xen/ |
H A D | xen_pt.c | 693 .region_add = xen_pt_region_add, 700 .region_add = xen_pt_io_region_add,
|
H A D | xen-pvh-common.c | 23 .region_add = xen_region_add,
|
H A D | xen-hvm-common.c | 170 .region_add = xen_io_add,
|
/openbmc/qemu/hw/vfio/ |
H A D | trace-events | 98 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 D | spapr.c | 156 .region_add = vfio_prereg_listener_region_add,
|
H A D | common.c | 899 .region_add = vfio_dirty_tracking_update, 1387 .region_add = vfio_listener_region_add,
|
/openbmc/qemu/hw/mem/ |
H A D | memory-device.c | 544 ms->device_memory->listener.region_add = memory_devices_region_add; in machine_memory_devices_init()
|
/openbmc/qemu/accel/hvf/ |
H A D | hvf-accel-ops.c | 305 .region_add = hvf_region_add,
|
/openbmc/qemu/hw/i386/xen/ |
H A D | xen-hvm.c | 475 .region_add = xen_region_add,
|
/openbmc/linux/mm/ |
H A D | hugetlb.c | 649 * 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 D | vhost.c | 1578 .region_add = vhost_region_addnop, in vhost_dev_init() 1590 .region_add = vhost_iommu_region_add, in vhost_dev_init()
|
H A D | vhost-vdpa.c | 494 .region_add = vhost_vdpa_listener_region_add,
|
/openbmc/qemu/include/exec/ |
H A D | memory.h | 860 void (*region_add)(MemoryListener *listener, MemoryRegionSection *section); member
|
/openbmc/qemu/target/i386/nvmm/ |
H A D | nvmm-all.c | 1126 .region_add = nvmm_region_add,
|
/openbmc/qemu/target/arm/ |
H A D | kvm.c | 686 .region_add = kvm_arm_devlistener_add,
|
/openbmc/qemu/target/i386/whpx/ |
H A D | whpx-all.c | 2406 .region_add = whpx_region_add,
|
/openbmc/qemu/accel/kvm/ |
H A D | kvm-all.c | 1917 kml->listener.region_add = kvm_region_add; in kvm_memory_listener_register()
|