Searched refs:munmap (Results 76 - 100 of 150) sorted by relevance

123456

/linux-master/tools/lib/bpf/
H A Dringbuf.c63 munmap(r->consumer_pos, rb->page_size);
67 munmap(r->producer_pos, rb->page_size + 2 * (r->mask + 1));
425 munmap(rb->consumer_pos, rb->page_size);
429 munmap(rb->producer_pos, rb->page_size + 2 * (rb->mask + 1));
/linux-master/samples/nitro_enclaves/
H A Dne_ioctl_sample.c391 munmap(enclave_image, enclave_image_size);
502 munmap(ne_user_mem_regions[i].userspace_addr,
/linux-master/tools/testing/selftests/arm64/mte/
H A Dmte_common_util.c158 munmap(ptr, size);
243 munmap(ptr - range_before, size + range_before + range_after);
/linux-master/tools/testing/selftests/drivers/s390x/uvdevice/
H A Dtest_uvdevice.c52 munmap((void *)self->fault_page, (size_t)getpagesize());
183 munmap((void *)self->fault_page, (size_t)getpagesize());
/linux-master/include/linux/
H A Dhost1x.h148 void (*munmap)(struct host1x_bo *bo, void *addr); member in struct:host1x_bo_ops
187 bo->ops->munmap(bo, addr);
/linux-master/tools/testing/selftests/proc/
H A Dproc-empty-vm.c421 * munmap() doesn't change it. It can be anything (just link
492 munmap(NULL, ((size_t)1 << 47) - 4096);
498 munmap(NULL, len);
507 * TODO find reliable way to signal parent that munmap(2) completed.
/linux-master/tools/testing/selftests/mm/
H A Dkhugepaged.c354 munmap(p, size);
388 munmap(p, size);
412 munmap(p, size);
463 munmap(p, size);
640 munmap(p, hpage_pmd_size);
H A Dva_high_addr_switch.c282 munmap(p, t->size);
H A Dthuge-gen.c127 if (munmap(map, size * NUM_PAGES))
/linux-master/tools/testing/selftests/x86/
H A Dlam.c343 munmap(ptr, PAGE_SIZE);
416 munmap(sq_ptr, sring->ring_sz);
433 munmap(sq_ptr, sring->ring_sz);
436 munmap(cq_ptr, cring->ring_sz);
1125 if (munmap(wq, 0x1000))
1126 printf("munmap failed %d\n", errno);
/linux-master/tools/testing/selftests/net/
H A Dpsock_fanout.c447 if (munmap(rings[1], RING_NUM_FRAMES * getpagesize()) ||
448 munmap(rings[0], RING_NUM_FRAMES * getpagesize())) {
/linux-master/tools/perf/util/
H A Dmmap.c92 munmap(map->aio.data[idx], mmap__mmap_len(map));
239 munmap(map->data, mmap__mmap_len(map));
/linux-master/tools/testing/vsock/
H A Dutil.c571 * mmap('iov_len'), then munmap('iov_len').
612 if (munmap(iovec[i].iov_base, iovec[i].iov_len)) {
613 perror("munmap");
645 if (munmap(iovec[i].iov_base, iovec[i].iov_len)) {
646 perror("munmap");
H A Dvsock_test.c749 if (munmap(broken_buf + page_size, page_size)) {
798 munmap(broken_buf, page_size);
799 munmap(broken_buf + page_size * 2, page_size);
800 munmap(valid_buf, buf_size);
/linux-master/tools/testing/selftests/kvm/
H A Dset_memory_region_test.c453 munmap(mem, (size_t)max_mem_slots * MEM_REGION_SIZE + alignment);
454 munmap(mem_extra, MEM_REGION_SIZE);
H A Dmax_guest_memory_test.c279 munmap(mem, slot_size / 2);
/linux-master/tools/testing/selftests/ia64/
H A Daliasing-test.c52 rc = munmap(addr, length);
54 perror("munmap");
/linux-master/tools/testing/selftests/powerpc/nx-gzip/
H A Dgzip_vas.c124 rc = munmap(nxhandle->paste_addr - 0x400, 4096);
126 fprintf(stderr, "munmap() failed, errno %d\n", errno);
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dpkey_siginfo.c325 munmap(r.base, r.size);
/linux-master/arch/mips/tools/
H A Dloongson3-llsc-check.c302 munmap(vmlinux, st.st_size);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dskeleton.c132 munmap(m, getpagesize());
/linux-master/scripts/
H A Dsorttable.c385 munmap(addr, size);
/linux-master/tools/testing/selftests/ptrace/
H A Dpeeksiginfo.c101 munmap(addr_rw, 2 * PAGE_SIZE);
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_fdinfo_test.c141 if (munmap(child->stack, CHILD_STACK_SIZE)) {
142 error_set(err, -1, "munmap of child stack failed (errno %d)", errno);
/linux-master/tools/testing/selftests/memfd/
H A Dfuse_test.c180 munmap(global_p, mfd_def_size);

Completed in 432 milliseconds

123456