Home | History | Annotate | Download | only in src

Lines Matching refs:mapped

93   if (ei->u.mapped.size <= EI_VERSION) {
97 uint8_t* e_ident = (uint8_t*) ei->u.mapped.image;
98 return (memcmp (ei->u.mapped.image, ELFMAG, SELFMAG) == 0
135 ei->u.mapped.size = stat.st_size;
136 ei->u.mapped.image = mmap (NULL, ei->u.mapped.size, PROT_READ, MAP_PRIVATE, fd, 0);
138 if (ei->u.mapped.image == MAP_FAILED) {
144 munmap (ei->u.mapped.image, ei->u.mapped.size);
148 ei->mapped = true;
214 } else if (map->ei.valid && !map->ei.mapped && map->ei.u.memory.as != as) {