Home
last modified time | relevance | path

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

12345678910

/freebsd-12.1/usr.sbin/mpsutil/
H A Dmps_flash.c177 munmap(mem, st.st_size); in flash_update()
183 munmap(mem, st.st_size); in flash_update()
192 munmap(mem, st.st_size); in flash_update()
199 munmap(mem, st.st_size); in flash_update()
211 munmap(mem, st.st_size); in flash_update()
221 munmap(mem, st.st_size); in flash_update()
231 munmap(mem, st.st_size); in flash_update()
237 munmap(mem, st.st_size); in flash_update()
/freebsd-12.1/contrib/gcc/config/
H A 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()
H A 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.1/usr.bin/cmp/
H A Dregular.c100 munmap(m1, MMAP_CHUNK); in c_regular()
130 munmap(m2, MMAP_CHUNK); in c_regular()
138 munmap(m1, MMAP_CHUNK); in c_regular()
144 munmap(m1, MMAP_CHUNK); in c_regular()
145 munmap(m2, MMAP_CHUNK); in c_regular()
160 munmap(mem, MMAP_CHUNK); in remmap()
/freebsd-12.1/tests/sys/vm/
H A 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()
/freebsd-12.1/contrib/netbsd-tests/lib/libc/sys/
H A 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()
517 (void)munmap(map, page); in ATF_TC_BODY()
528 ATF_REQUIRE(munmap(map, page) == 0); in ATF_TC_BODY()
H A 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()
H A 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()
H A Dt_msync.c125 (void)munmap(map, page); in msync_sync()
179 (void)munmap(map, page); in ATF_TC_BODY()
H A Dt_clone.c161 ATF_REQUIRE_ERRNO(errno, munmap(allocstack, STACKSIZE) != -1); in ATF_TC_BODY()
211 ATF_REQUIRE_ERRNO(errno, munmap(allocstack, STACKSIZE) != -1); in ATF_TC_BODY()
/freebsd-12.1/contrib/ofed/libcxgb4/
H A 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()
393 munmap(MASKED(qhp->wq.rq.udb), c4iw_page_size); in create_qp_v0()
397 munmap(MASKED(qhp->wq.sq.udb), c4iw_page_size); in create_qp_v0()
544 munmap(MASKED(qhp->wq.rq.udb), c4iw_page_size); in create_qp()
548 munmap(MASKED(qhp->wq.sq.udb), c4iw_page_size); in create_qp()
617 munmap(MASKED(qhp->wq.sq.udb), c4iw_page_size); in c4iw_destroy_qp()
619 munmap(qhp->wq.sq.queue, qhp->wq.sq.memsize); in c4iw_destroy_qp()
[all …]
/freebsd-12.1/contrib/gcclibs/libmudflap/
H A 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.1/contrib/ofed/libmlx4/
H A Dbuf.c53 munmap(buf->buf, buf->length); in mlx4_alloc_buf()
62 munmap(buf->buf, buf->length); in mlx4_free_buf()
H A Dmlx4.c258 munmap(context->uar, to_mdev(&v_device->device)->page_size); in mlx4_uninit_context()
260 munmap(context->bf_page, to_mdev(&v_device->device)->page_size); in mlx4_uninit_context()
262 munmap(context->hca_core_clock - context->core_clock.offset, in mlx4_uninit_context()
/freebsd-12.1/libexec/rtld-elf/
H A Dmap_object.c320 munmap(note_map, note_map_len); in map_object()
321 munmap(hdr, PAGE_SIZE); in map_object()
325 munmap(mapbase, mapsize); in map_object()
328 munmap(note_map, note_map_len); in map_object()
329 munmap(hdr, PAGE_SIZE); in map_object()
393 munmap(hdr, PAGE_SIZE); in get_elf_header()
/freebsd-12.1/lib/libthr/thread/
H A 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.1/lib/libc/tests/string/
H A 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()
H A 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.1/lib/libc/gen/
H A 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.1/usr.sbin/acpi/acpidb/
H A 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.1/tests/sys/posixshm/
H A 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.1/lib/libc/locale/
H A 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.1/usr.bin/patch/
H A Dinp.c85 munmap(i_womp, i_size); in re_input()
123 munmap(i_womp, i_size); in reallocate_lines()
239 munmap(i_womp, i_size); in plan_a()
/freebsd-12.1/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c206 (void) munmap((void *)(addr - pageoff), sp->cts_size + pageoff); in ctf_sect_munmap()
425 (void) munmap(strs_map, strs_mapsz); in ctf_fdopen()
434 (void) munmap(strs_map, strs_mapsz); in ctf_fdopen()
456 (void) munmap(strs_map, strs_mapsz); in ctf_fdopen()
/freebsd-12.1/tests/sys/audit/
H A Dfile-close.c67 ATF_REQUIRE_EQ(0, munmap(addr, sizeof(char))); in ATF_TC_BODY()
88 ATF_REQUIRE_EQ(-1, munmap((void *)SIZE_MAX, -1)); in ATF_TC_BODY()

12345678910