Lines Matching refs:map_len
74 size_t map_len; member
618 } else if (dso->map && dso->map_len) { in unmap_library()
619 munmap(dso->map, dso->map_len); in unmap_library()
628 size_t addr_min=SIZE_MAX, addr_max=0, map_len; in map_library() local
730 map_len = 0; in map_library()
737 map_len = addr_max - addr_min + off_start; in map_library()
743 ? mmap((void *)addr_min, map_len, PROT_READ|PROT_WRITE|PROT_EXEC, in map_library()
745 : mmap((void *)addr_min, map_len, prot, in map_library()
749 dso->map_len = map_len; in map_library()
790 if (mprotect(map, map_len, PROT_READ|PROT_WRITE|PROT_EXEC) in map_library()
1397 p->map_len = max_addr - min_addr; in kernel_mapped_dso()
1877 app.loadmap->segs[0].p_memsz = app.map_len; in __dls3()
2186 if (a-(size_t)p->map < p->map_len) in addr2dso()