/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_secondary.h | 87 uptr map_size = RoundUpMapSize(size); local 89 map_size += alignment; 91 if (map_size < size) { 94 SanitizerToolName, map_size, alignment); 98 MmapOrDieOnFatalError(map_size, SecondaryAllocatorName)); 102 MapUnmapCallback().OnMap(map_beg, map_size); 103 uptr map_end = map_beg + map_size; 114 h->map_size = map_size; 115 uptr size_log = MostSignificantSetBitIndex(map_size); 295 uptr map_size; member in struct:LargeMmapAllocator::Header [all...] |
H A D | sanitizer_fuchsia.cpp | 231 static uptr DoMmapFixedOrDie(zx_handle_t vmar, uptr fixed_addr, uptr map_size, argument 234 map_size = RoundUpTo(map_size, PAGE_SIZE); 236 zx_status_t status = _zx_vmo_create(map_size, 0, &vmo); 239 ReportMmapFailureAndDie(map_size, name, "zx_vmo_create", status); 243 DCHECK_GE(base + size_, map_size + offset); 248 offset, vmo, 0, map_size, &addr); 252 ReportMmapFailureAndDie(map_size, name, "zx_vmar_map", status); 256 IncreaseTotalMmap(map_size); 260 uptr ReservedAddressRange::Map(uptr fixed_addr, uptr map_size, argument 266 MapOrDie(uptr fixed_addr, uptr map_size, const char *name) argument 334 size_t map_size = size + alignment; local 411 size_t map_size = RoundUpTo(max_len, PAGE_SIZE); local [all...] |
H A D | sanitizer_posix.cpp | 87 uptr map_size = size + alignment; local 88 uptr map_res = (uptr)MmapOrDieOnFatalError(map_size, mem_type); 91 uptr map_end = map_res + map_size;
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_premap_shadow.cpp | 39 uptr map_size = shadow_size + left_padding + alignment; local 41 uptr map_start = (uptr)MmapNoAccess(map_size); 49 map_start + map_size - shadow_end);
|
H A D | asan_linux.cpp | 125 uptr map_size = shadow_size + left_padding + alignment; local 127 uptr map_start = (uptr)MmapNoAccess(map_size); 132 UnmapFromTo(shadow_start + shadow_size, map_start + map_size);
|
/freebsd-11-stable/sbin/geom/class/virstor/ |
H A D | geom_virstor.c | 222 size_t map_size; /* In bytes. */ local 311 map_size = total_chunks * sizeof(*map); 314 ssize = map_size % secsize; 319 map_size = total_chunks * sizeof(*map); 354 if (msize < (off_t) MAX(md.md_chunk_size*4, map_size)) 373 map_chunks = map_size/md.md_chunk_size; 374 if (map_size % md.md_chunk_size != 0) 377 printf(" (%zu MB, %d chunks) ", map_size/(1024*1024), map_chunks); 396 map_size); 399 written = pwrite(fd, map, map_size, [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_dynamic_shadow.cpp | 53 const uptr map_size = shadow_size + left_padding + alignment; local 55 const uptr map_start = (uptr)MmapNoAccess(map_size); 61 UnmapFromTo(shadow_start + shadow_size, map_start + map_size);
|
/freebsd-11-stable/sys/geom/virstor/ |
H A D | g_virstor.h | 113 size_t chunk_count; /* governs map_size */ 115 size_t map_size; /* (in bytes) */ member in struct:g_virstor_softc
|
H A D | g_virstor.c | 1226 sc->map_size = sc->chunk_count * sizeof *(sc->map); 1228 sc->map = malloc(sc->map_size, M_GVIRSTOR, M_WAITOK); 1230 __func__, sc->map_size, sc->provider->name)); 1231 sc->map_sectors = sc->map_size / sc->sectorsize; 1252 while (count < sc->map_size) { 1256 bs = MIN(MAXPHYS, sc->map_size - count);
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | vdev_indirect_mapping.c | 289 uint64_t map_size = vdev_indirect_mapping_size(vim); local 290 kmem_free(vim->vim_entries, map_size); 356 uint64_t map_size = vdev_indirect_mapping_size(vim); local 357 vim->vim_entries = kmem_alloc(map_size, KM_SLEEP); 358 VERIFY0(dmu_read(os, vim->vim_object, 0, map_size,
|
/freebsd-11-stable/tools/regression/fsx/ |
H A D | fsx.c | 542 unsigned map_size; local 574 map_size = pg_offset + size; 576 if ((p = (char *)mmap(0, map_size, PROT_READ, MAP_FILE | MAP_SHARED, fd, 585 if (munmap(p, map_size) != 0) { 665 unsigned map_size; local 710 map_size = pg_offset + size; 712 if ((p = (char *)mmap(0, map_size, PROT_READ | PROT_WRITE, 719 if (mapped_msync && msync(p, map_size, MS_SYNC) != 0) { 726 if (munmap(p, map_size) != 0) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ |
H A D | LTOModule.h | 107 size_t map_size, off_t offset,
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | lto.h | 238 size_t map_size, off_t offset);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTOModule.cpp | 130 size_t map_size, off_t offset, 134 map_size, offset); 129 createFromOpenFileSlice(LLVMContext &Context, int fd, StringRef path, size_t map_size, off_t offset, const TargetOptions &options) argument
|
/freebsd-11-stable/contrib/groff/src/roff/troff/ |
H A D | node.cpp | 5971 : map_size(10), nm(s) 5973 map = new int[map_size]; 5974 for (int i = 0; i < map_size; i++) 5986 if (i < map_size && map[i] >= 0) 5990 if (i >= map_size) { 5991 int old_map_size = map_size; 5993 map_size *= 3; 5994 map_size /= 2; 5995 if (i >= map_size) 5996 map_size [all...] |
H A D | node.h | 664 int map_size; member in class:font_family
|
/freebsd-11-stable/usr.sbin/bhyvectl/ |
H A D | bhyvectl.c | 485 int error, fd, map_size; local 498 map_size = PAGE_SIZE; 500 map_size = 2 * PAGE_SIZE; 502 bitmap = mmap(NULL, map_size, PROT_READ, MAP_SHARED, fd, addr); 516 munmap((void *)bitmap, map_size);
|
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | sli4.c | 3663 sli4->config.extent[i].map_size = total; 5279 sli4->config.extent[rtype].map_size); 5373 for (i = 0; i < sli4->config.extent[rtype].map_size; i++) {
|
H A D | sli4.h | 3216 uint32_t map_size;/* number of bits in bitmap */ member in struct:sli4_s::__anon7705::__anon7706
|