/freebsd-11-stable/contrib/groff/src/libs/libbib/ |
H A D | index.cpp | 59 void *map_addr; member in class:index_search_item 110 : search_item(filename, fid), out_of_date_files(0), buffer(0), map_addr(0), 120 if (map_addr) { 121 if (unmap(map_addr, map_len) < 0) 164 map_addr = mapread(fd, size); 165 if (map_addr) { 166 addr = (char *)map_addr;
|
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | text_mmap.c | 118 void * map_addr = NULL; 129 map_addr = mmap(NULL, mapinfo->txt_full_size, PROT_READ|PROT_WRITE, 138 map_addr = mmap(NULL, mapinfo->txt_full_size, PROT_READ|PROT_WRITE, 141 if (map_addr == MAP_FAILED_PTR) { 149 mmap(map_addr, mapinfo->txt_size, mapinfo->txt_prot,
|
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | imgact_coff.c | 70 vm_offset_t map_addr; local 76 map_addr = trunc_page((vm_offset_t)vmaddr); 96 __FILE__, __LINE__, (uintmax_t)map_addr, map_len, prot, 100 &map_addr, 124 map_addr = trunc_page((vm_offset_t)vmaddr + filsz); 125 map_len = round_page((vm_offset_t)vmaddr + memsz) - map_addr; 127 DPRINTF(("%s(%d): vm_map_find(&vmspace->vm_map, NULL, 0, &0x%08jx,0x%x, VMFS_NO_SPACE, VM_PROT_ALL, VM_PROT_ALL, 0)\n", __FILE__, __LINE__, (uintmax_t)map_addr, map_len)); 130 error = vm_map_find(&vmspace->vm_map, NULL, 0, &map_addr, 147 error = copyout(data_buf, (caddr_t) map_addr, copy_len);
|
/freebsd-11-stable/tools/tools/pciroms/ |
H A D | pciroms.c | 306 void *map_addr; local 309 map_addr = MAP_FAILED; 316 map_addr = mmap(NULL, romsize, PROT_READ, MAP_SHARED|MAP_NOCORE, 326 if (write(fd, map_addr, romsize) != romsize) 334 if (map_addr != MAP_FAILED)
|
/freebsd-11-stable/tools/tools/pirtool/ |
H A D | pirtool.c | 55 void dump_pir_table(pir_table_t *pir, char *map_addr); 70 void *map_addr = MAP_FAILED; local 94 map_addr = mmap(NULL, PIR_SIZE, PROT_READ, MAP_SHARED, mem_fd, 96 if (map_addr == MAP_FAILED) { 103 if ((pir = find_pir_table(map_addr)) == NULL) { 106 dump_pir_table(pir, map_addr); 111 if (map_addr != MAP_FAILED) 112 munmap(map_addr, PIR_SIZE); 202 dump_pir_table(pir_table_t *pir, char *map_addr) argument 215 (uint32_t)(((char *)pir - map_addr) [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_fuchsia.cpp | 340 uintptr_t map_addr = addr; local 341 uintptr_t map_end = map_addr + map_size; 342 addr = RoundUpTo(map_addr, alignment); 344 if (addr != map_addr) { 357 if (status == ZX_OK && addr != map_addr) 358 status = _zx_vmar_unmap(_zx_vmar_root_self(), map_addr, addr - map_addr);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/ |
H A D | HexagonDYLDRendezvous.cpp | 83 if (!(cursor = ReadPointer(cursor + padding, &info.map_addr))) 114 if (m_current.map_addr == 0) 154 if (m_current.map_addr == 0) 157 for (addr_t cursor = m_current.map_addr; cursor != 0; cursor = entry.next) { 199 if (m_current.map_addr == 0) 202 for (addr_t cursor = m_current.map_addr; cursor != 0; cursor = entry.next) {
|
H A D | HexagonDYLDRendezvous.h | 39 lldb::addr_t map_addr; member in struct:HexagonDYLDRendezvous::Rendezvous 45 : version(0), map_addr(LLDB_INVALID_ADDRESS), brk(LLDB_INVALID_ADDRESS), 89 lldb::addr_t GetLinkMapAddress() const { return m_current.map_addr; }
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
H A D | DYLDRendezvous.cpp | 146 if (!(cursor = ReadPointer(cursor + padding, &info.map_addr))) 163 if (m_current.map_addr == 0) 374 if (m_current.map_addr == 0) 377 for (addr_t cursor = m_current.map_addr; cursor != 0; cursor = entry.next) { 435 if (m_current.map_addr == 0) 441 for (addr_t cursor = m_current.map_addr; cursor != 0; cursor = entry.next) {
|
H A D | DYLDRendezvous.h | 42 lldb::addr_t map_addr; member in struct:DYLDRendezvous::Rendezvous 47 Rendezvous() : version(0), map_addr(0), brk(0), state(0), ldbase(0) {} 87 lldb::addr_t GetLinkMapAddress() const { return m_current.map_addr; }
|
/freebsd-11-stable/sys/kern/ |
H A D | imgact_elf.c | 537 vm_offset_t off, map_addr; local 559 map_addr = trunc_page_ps((vm_offset_t)vmaddr, pagesize); 583 map_addr, /* virtual start */ 584 map_addr + map_len,/* virtual end */ 604 map_addr = trunc_page_ps((vm_offset_t)vmaddr + filsz, pagesize); 606 map_addr; 610 rv = __elfN(map_insert)(imgp, map, NULL, 0, map_addr, 611 map_addr + map_len, prot, 0); 625 (caddr_t)map_addr, copy_len); 636 vm_map_protect(map, trunc_page(map_addr), round_pag [all...] |