Lines Matching refs:abi_ulong
167 int target_mprotect(abi_ulong start, abi_ulong len, int target_prot) in target_mprotect()
170 abi_ulong starts[3]; in target_mprotect()
171 abi_ulong lens[3]; in target_mprotect()
173 abi_ulong host_start, host_last, last; in target_mprotect()
203 for (abi_ulong a = host_start; a < start; a += TARGET_PAGE_SIZE) { in target_mprotect()
206 for (abi_ulong a = last; a < host_last; a += TARGET_PAGE_SIZE) { in target_mprotect()
217 for (abi_ulong a = host_start; a < start; a += TARGET_PAGE_SIZE) { in target_mprotect()
233 for (abi_ulong a = last; a < host_last; a += TARGET_PAGE_SIZE) { in target_mprotect()
330 static bool mmap_frag(abi_ulong real_start, abi_ulong start, abi_ulong last, in mmap_frag()
334 abi_ulong real_last; in mmap_frag()
355 for (abi_ulong a = real_start; a < start; a += TARGET_PAGE_SIZE) { in mmap_frag()
358 for (abi_ulong a = real_last; a > last; a -= TARGET_PAGE_SIZE) { in mmap_frag()
406 abi_ulong task_unmapped_base;
407 abi_ulong elf_et_dyn_base;
408 abi_ulong mmap_next_start;
414 static abi_ulong mmap_find_vma_reserved(abi_ulong start, abi_ulong size, in mmap_find_vma_reserved()
415 abi_ulong align) in mmap_find_vma_reserved()
434 abi_ulong mmap_find_vma(abi_ulong start, abi_ulong size, abi_ulong align) in mmap_find_vma()
438 abi_ulong addr; in mmap_find_vma()
473 return (abi_ulong)-1; in mmap_find_vma()
531 if (addr == (abi_ulong)-1) { in mmap_find_vma()
532 return (abi_ulong)-1; in mmap_find_vma()
535 return (abi_ulong)-1; in mmap_find_vma()
546 return (abi_ulong)-1; in mmap_find_vma()
554 static abi_long mmap_end(abi_ulong start, abi_ulong last, in mmap_end()
555 abi_ulong passthrough_start, in mmap_end()
556 abi_ulong passthrough_last, in mmap_end()
592 static abi_long mmap_h_eq_g(abi_ulong start, abi_ulong len, in mmap_h_eq_g()
597 abi_ulong last; in mmap_h_eq_g()
646 static abi_long mmap_h_lt_g(abi_ulong start, abi_ulong len, int host_prot, in mmap_h_lt_g()
653 abi_ulong last, pass_last; in mmap_h_lt_g()
779 static abi_long mmap_h_gt_g(abi_ulong start, abi_ulong len, in mmap_h_gt_g()
786 abi_ulong last, real_start, real_last; in mmap_h_gt_g()
833 abi_ulong real_page_last = real_start + host_page_size - 1; in mmap_h_gt_g()
851 abi_ulong real_page_start = real_last - host_page_size + 1; in mmap_h_gt_g()
901 static abi_long target_mmap__locked(abi_ulong start, abi_ulong len, in target_mmap__locked()
921 abi_ulong real_start = start & -host_page_size; in target_mmap__locked()
924 abi_ulong align = MAX(host_page_size, TARGET_PAGE_SIZE); in target_mmap__locked()
927 if (start == (abi_ulong)-1) { in target_mmap__locked()
951 abi_long target_mmap(abi_ulong start, abi_ulong len, int target_prot, in target_mmap()
1016 static int mmap_reserve_or_unmap(abi_ulong start, abi_ulong len) in mmap_reserve_or_unmap()
1019 abi_ulong real_start; in mmap_reserve_or_unmap()
1020 abi_ulong real_last; in mmap_reserve_or_unmap()
1021 abi_ulong real_len; in mmap_reserve_or_unmap()
1022 abi_ulong last; in mmap_reserve_or_unmap()
1023 abi_ulong a; in mmap_reserve_or_unmap()
1074 int target_munmap(abi_ulong start, abi_ulong len) in target_munmap()
1101 abi_long target_mremap(abi_ulong old_addr, abi_ulong old_size, in target_mremap()
1102 abi_ulong new_size, unsigned long flags, in target_mremap()
1103 abi_ulong new_addr) in target_mremap()
1131 abi_ulong mmap_start; in target_mremap()
1149 abi_ulong addr; in target_mremap()
1194 abi_long target_madvise(abi_ulong start, abi_ulong len_in, int advice) in target_madvise()
1196 abi_ulong len; in target_madvise()
1278 static inline abi_ulong target_shmlba(CPUArchState *cpu_env) in target_shmlba()
1290 abi_ulong target_shmat(CPUArchState *cpu_env, int shmid, in target_shmat()
1291 abi_ulong shmaddr, int shmflg) in target_shmat()
1365 abi_ulong last; in target_shmat()
1463 abi_long target_shmdt(abi_ulong shmaddr) in target_shmdt()
1470 abi_ulong last = shm_region_find(shmaddr); in target_shmdt()
1477 abi_ulong size = last - shmaddr + 1; in target_shmdt()