Home
last modified time | relevance | path

Searched refs:reserved_va (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/bsd-user/
H A Dmain.c91 unsigned long reserved_va; variable
488 if (reserved_va != 0) { in main()
489 if ((reserved_va + 1) % host_page_size) { in main()
495 if (max_reserved_va && reserved_va > max_reserved_va) { in main()
501 reserved_va = max_reserved_va; in main()
539 if (reserved_va) { in main()
543 p = mmap((void *)guest_base, reserved_va + 1, PROT_NONE, in main()
546 p = mmap(NULL, reserved_va + 1, PROT_NONE, in main()
551 char *sz = size_to_str(reserved_va + 1); in main()
566 if (reserved_va <= mmap_next_start) { in main()
[all …]
H A Dmmap.c261 ret = page_find_range_empty(start, reserved_va, size, alignment); in mmap_find_vma_reserved()
294 if (reserved_va) { in mmap_find_vma_aligned()
763 if (reserved_va) { in target_munmap()
/openbmc/qemu/linux-user/
H A Dmain.c123 unsigned long reserved_va; variable
412 reserved_va = val ? val - 1 : 0; in handle_arg_reserved_va()
834 if (reserved_va != 0) { in main()
835 if ((reserved_va + 1) % host_page_size) { in main()
841 if (max_reserved_va && reserved_va > max_reserved_va) { in main()
847 reserved_va = max_reserved_va; in main()
862 if (reserved_va) { in main()
863 if (TASK_UNMAPPED_BASE < reserved_va) { in main()
867 task_unmapped_base = TARGET_PAGE_ALIGN(reserved_va / 3); in main()
878 if (reserved_va) { in main()
[all …]
H A Dmmap.c277 if (reserved_va) { in do_munmap()
419 ret = page_find_range_empty(start, reserved_va, size, align); in mmap_find_vma_reserved()
452 if (reserved_va) { in mmap_find_vma()
912 if (reserved_va) { in target_mmap__locked()
1123 if (reserved_va && host_addr != MAP_FAILED) { in target_mremap()
1142 if (reserved_va) { in target_mremap()
1148 if (reserved_va && old_size < new_size) { in target_mremap()
1168 } else if (reserved_va && old_size > new_size) { in target_mremap()
1372 mapped = !reserved_va; in target_shmat()
1402 | (reserved_va || mapped || (shmflg & SHM_REMAP) in target_shmat()
[all …]
H A Delfload.c230 if (reserved_va != 0 && in init_guest_commpage()
231 TARGET_VSYSCALL_PAGE + TARGET_PAGE_SIZE - 1 > reserved_va) { in init_guest_commpage()
483 (commpage < reserved_va ? MAP_FIXED : MAP_FIXED_NOREPLACE), in init_guest_commpage()
1910 if (!reserved_va) { in init_guest_commpage()
2758 brk, i == 0 && reserved_va) <= 0) { in pgb_try_mmap_set()
2795 if (reserved_va) { in pgb_addr_set()
2797 ga->bounds[n][1] = reserved_va; in pgb_addr_set()
2829 if (reserved_va < HI_COMMPAGE) { in pgb_addr_set()
3013 if (reserved_va) { in probe_guest_base()
3014 if (guest_hiaddr > reserved_va) { in probe_guest_base()
[all …]
/openbmc/qemu/include/exec/
H A Dcpu-all.h78 extern unsigned long reserved_va;
97 #define GUEST_ADDR_MAX (reserved_va ? : GUEST_ADDR_MAX_)