Home
last modified time | relevance | path

Searched refs:munmap (Results 1 – 25 of 251) sorted by relevance

1234567891011

/freebsd-12-stable/usr.sbin/mpsutil/
Dmps_flash.c178 munmap(mem, st.st_size); in flash_update()
184 munmap(mem, st.st_size); in flash_update()
193 munmap(mem, st.st_size); in flash_update()
200 munmap(mem, st.st_size); in flash_update()
212 munmap(mem, st.st_size); in flash_update()
222 munmap(mem, st.st_size); in flash_update()
232 munmap(mem, st.st_size); in flash_update()
238 munmap(mem, st.st_size); in flash_update()
/freebsd-12-stable/contrib/gcc/config/
Dhost-linux.c111 munmap (addr, size); in linux_gt_pch_get_address()
147 munmap (buffer, buffer_size); in linux_gt_pch_get_address()
150 munmap (addr, size); in linux_gt_pch_get_address()
188 munmap (addr, size); in linux_gt_pch_use_address()
197 munmap (addr, size); in linux_gt_pch_use_address()
Dhost-hpux.c67 munmap (addr, size); in hpux_gt_pch_get_address()
105 munmap (addr, size); in hpux_gt_pch_use_address()
114 munmap (addr, size); in hpux_gt_pch_use_address()
/freebsd-12-stable/usr.bin/cmp/
Dregular.c98 munmap(m1, MMAP_CHUNK); in c_regular()
145 munmap(m2, MMAP_CHUNK); in c_regular()
153 munmap(m1, MMAP_CHUNK); in c_regular()
159 munmap(m1, MMAP_CHUNK); in c_regular()
160 munmap(m2, MMAP_CHUNK); in c_regular()
175 munmap(mem, MMAP_CHUNK); in remmap()
/freebsd-12-stable/tests/sys/vm/
Dmmap_test.c108 munmap(p, pagesize); in checked_mmap()
216 munmap(p1, pagesize); in ATF_TC_BODY()
217 munmap(p2, pagesize); in ATF_TC_BODY()
218 munmap(p3, pagesize); in ATF_TC_BODY()
256 munmap(p1, pagesize); in ATF_TC_BODY()
257 munmap(p2, pagesize); in ATF_TC_BODY()
258 munmap(p3, pagesize); in ATF_TC_BODY()
Dpage_fault_signal.c78 r = munmap(p, sz); in ATF_TC_BODY()
101 (void)munmap(p, sz); in ATF_TC_BODY()
120 (void)munmap(p, sz); in ATF_TC_BODY()
141 (void)munmap(p, sz); in ATF_TC_BODY()
166 (void)munmap(p, sz * 2); in ATF_TC_BODY()
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/
Dt_mmap.c99 ATF_REQUIRE(munmap(map, page) == 0); in map_check()
205 ATF_REQUIRE(munmap(map, 4096) == 0); in ATF_TC_BODY()
267 ATF_REQUIRE(munmap(vp, BUFSIZE) == 0); in ATF_TC_BODY()
280 ATF_REQUIRE(munmap(vp, BUFSIZE) == 0); in ATF_TC_BODY()
281 ATF_REQUIRE(munmap(vp2, BUFSIZE) == 0); in ATF_TC_BODY()
357 ATF_REQUIRE(munmap(map, page) == 0); in ATF_TC_BODY()
412 ATF_REQUIRE(munmap(map, 3) == 0); in ATF_TC_BODY()
460 (void)munmap(map, page); in ATF_TC_BODY()
513 (void)munmap(map, page); in ATF_TC_BODY()
524 ATF_REQUIRE(munmap(map, page) == 0); in ATF_TC_BODY()
Dt_mincore.c137 ATF_REQUIRE(munmap(map, page) == 0); in ATF_TC_BODY()
195 ATF_REQUIRE(munmap(addr, st.st_size) == 0); in ATF_TC_BODY()
217 ATF_REQUIRE(munmap(addr, npgs * page) == 0); in ATF_TC_BODY()
271 (void)munmap(addr, npgs * page); in ATF_TC_BODY()
272 (void)munmap(addr2, npgs * page); in ATF_TC_BODY()
273 (void)munmap(addr3, npgs * page); in ATF_TC_BODY()
Dt_mprotect.c137 ATF_REQUIRE(munmap(map, page) == 0); in ATF_TC_BODY()
233 ATF_REQUIRE(munmap(map, page) == 0); in ATF_TC_BODY()
300 (void)munmap(map, page); in ATF_TC_BODY()
351 ATF_REQUIRE(munmap(map, page) == 0); in ATF_TC_BODY()
Dt_msync.c125 (void)munmap(map, page); in msync_sync()
179 (void)munmap(map, page); in ATF_TC_BODY()
/freebsd-12-stable/contrib/ofed/libcxgb4/
Dverbs.c232 munmap(MASKED(chp->cq.ugts), c4iw_page_size); in c4iw_create_cq()
234 munmap(chp->cq.queue, chp->cq.memsize); in c4iw_create_cq()
268 munmap(MASKED(chp->cq.ugts), c4iw_page_size); in c4iw_destroy_cq()
269 munmap(chp->cq.queue, chp->cq.memsize); in c4iw_destroy_cq()
391 munmap((void *)qhp->wq.rq.queue, qhp->wq.rq.memsize); in create_qp_v0()
393 munmap(MASKED(qhp->wq.rq.udb), c4iw_page_size); in create_qp_v0()
395 munmap((void *)qhp->wq.sq.queue, qhp->wq.sq.memsize); in create_qp_v0()
397 munmap(MASKED(qhp->wq.sq.udb), c4iw_page_size); in create_qp_v0()
542 munmap((void *)qhp->wq.rq.queue, qhp->wq.rq.memsize); in create_qp()
544 munmap(MASKED(qhp->wq.rq.udb), c4iw_page_size); in create_qp()
[all …]
/freebsd-12-stable/contrib/gcclibs/libmudflap/
Dmf-hooks1.c372 #undef munmap
373 WRAPPER(int , munmap, void *start, size_t length) in WRAPPER() argument
375 DECLARE(int, munmap, void *, size_t); in WRAPPER()
377 BEGIN_PROTECT (munmap, start, length); in WRAPPER()
379 result = CALL_REAL (munmap, start, length); in WRAPPER()
/freebsd-12-stable/libexec/rtld-elf/
Dmap_object.c327 munmap(note_map, note_map_len); in map_object()
328 munmap(hdr, PAGE_SIZE); in map_object()
332 munmap(mapbase, mapsize); in map_object()
335 munmap(note_map, note_map_len); in map_object()
337 munmap(phdr, hdr->e_phnum * sizeof(phdr[0])); in map_object()
338 munmap(hdr, PAGE_SIZE); in map_object()
412 munmap(hdr, PAGE_SIZE); in get_elf_header()
/freebsd-12-stable/contrib/ofed/libmlx4/
Dbuf.c53 munmap(buf->buf, buf->length); in mlx4_alloc_buf()
62 munmap(buf->buf, buf->length); in mlx4_free_buf()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/dfsan/
Ddfsan_interceptors.cpp185 INTERCEPTOR(int, munmap, void *addr, SIZE_T length) { in INTERCEPTOR() argument
188 COMMON_INTERCEPTOR_ENTER(munmap, addr, length); in INTERCEPTOR()
189 int res = REAL(munmap)(addr, length); in INTERCEPTOR()
234 INTERCEPT_FUNCTION(munmap); in initialize_interceptors()
/freebsd-12-stable/lib/libthr/thread/
Dthr_pshared.c115 munmap(h->val, PAGE_SIZE); in pshared_gc()
167 munmap(*val, PAGE_SIZE); in pshared_insert()
207 munmap(val, PAGE_SIZE); in pshared_clean()
/freebsd-12-stable/lib/libc/gen/
Dnlist.c145 munmap(a_out_mmap, (size_t)st.st_size); in __aout_fdnlist()
195 munmap(a_out_mmap, (size_t)st.st_size); in __aout_fdnlist()
362 munmap(strtab, symstrsize); in __elf_fdnlist()
364 munmap(shdr, shdr_size); in __elf_fdnlist()
/freebsd-12-stable/lib/libc/tests/string/
Dwcsnlen_test.c49 ATF_CHECK(munmap(buf + alloc_size - PAGE_SIZE, PAGE_SIZE) == 0); in makebuf()
52 ATF_CHECK(munmap(buf, PAGE_SIZE) == 0); in makebuf()
Dstpncpy_test.c48 assert(munmap(buf + alloc_size - PAGE_SIZE, PAGE_SIZE) == 0); in makebuf()
51 assert(munmap(buf, PAGE_SIZE) == 0); in makebuf()
/freebsd-12-stable/usr.sbin/acpi/acpidb/
Dacpidb.c409 munmap(code, (size_t)sb.st_size); in load_dsdt()
426 munmap(code, (size_t)sb.st_size); in load_dsdt()
432 munmap(code, (size_t)sb.st_size); in load_dsdt()
440 munmap(code, (size_t)sb.st_size); in load_dsdt()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/safestack/
Dsafestack_platform.h106 DEFINE__REAL(int, munmap, void *a, size_t b); in Munmap()
107 return _REAL(munmap, addr, length); in Munmap()
/freebsd-12-stable/tests/sys/posixshm/
Dposixshm_test.c121 ATF_REQUIRE_MSG(munmap(page, pagesize) == 0, "munmap failed; errno=%d", in scribble_object()
145 ATF_REQUIRE_MSG(munmap(page, pagesize) == 0, "munmap failed; errno=%d", in ATF_TC_BODY()
174 ATF_REQUIRE_MSG(munmap(page, pagesize) == 0, "munmap failed; errno=%d", in ATF_TC_BODY()
392 ATF_REQUIRE_MSG(munmap(page, pagesize) == 0, "munmap failed; errno=%d", in ATF_TC_BODY()
607 ATF_REQUIRE_MSG(munmap(region, psize) == 0, "munmap failed; errno=%d", in ATF_TC_BODY()
/freebsd-12-stable/lib/libc/locale/
Dcollate.c79 (void) munmap(table->map, table->maplen); in destruct_collate()
155 (void) munmap(map, sbuf.st_size); in __collate_load_tables_l()
167 (void) munmap(map, sbuf.st_size); in __collate_load_tables_l()
179 (void) munmap(map, sbuf.st_size); in __collate_load_tables_l()
185 (void) munmap(table->map, table->maplen); in __collate_load_tables_l()
Drune.c157 munmap(fdata, sb.st_size); in _Read_RuneMagi()
229 munmap(fdata, sb.st_size); in _Read_RuneMagi()
249 munmap(fdata, sb.st_size); in _Read_RuneMagi()
/freebsd-12-stable/lib/libgeom/
Dgeom_stats.c59 munmap(statp, npages * pagesize); in geom_stats_close()
78 munmap(statp, npages * pagesize); in geom_stats_resync()

1234567891011