Lines Matching defs:real_map
1732 /* if reserved_params does not exist, we should use real_map as prefered result to do the mmap operation */
1741 unsigned char *real_map = (unsigned char*)ALIGN((uintptr_t)temp_map, mapping_align);
1743 ? mmap(real_map, map_len, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)
1745 : mmap(real_map, map_len, prot, map_flags | MAP_FIXED, fd, off_start);
1746 if (map == MAP_FAILED || map != real_map) {
1755 * temp_map real_map(aligned) temp_map_end
1758 size_t unused_part_1 = real_map - temp_map;
1759 size_t unused_part_2 = temp_map_end - (real_map + map_len);
1768 int res2 = munmap(real_map + map_len, unused_part_2);
5352 /* if reserved_params does not exist, we should use real_map as prefered result to do the mmap operation */
5363 unsigned char *real_map = (unsigned char*)ALIGN((uintptr_t)temp_map, mapping_align);
5366 ? mmap(real_map, map_len, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)
5368 : mmap(real_map, map_len, prot, map_flags | MAP_FIXED, task->fd, off_start + task->file_offset);
5369 if (map == MAP_FAILED || map != real_map) {
5380 * temp_map real_map(aligned) temp_map_end
5383 size_t unused_part_1 = real_map - temp_map;
5384 size_t unused_part_2 = temp_map_end - (real_map + map_len);
5393 int res2 = munmap(real_map + map_len, unused_part_2);