/linux-master/tools/testing/selftests/mm/ |
H A D | split_huge_page_test.c | 199 munmap(one_page, len); 347 munmap(*addr, fd_size); 396 munmap(addr, fd_size);
|
H A D | protection_keys.c | 684 ret = munmap(rec->ptr, rec->size); 685 dprintf3("munmap ret: %d\n", ret); 1300 munmap(buf, 1*MB);
|
H A D | mdwe_test.c | 215 munmap(self->p, self->size);
|
H A D | uffd-common.c | 154 munmap(*alloc_area, bytes); 261 if (munmap(*area, nr_pages * page_size)) 262 err("munmap");
|
H A D | soft-dirty.c | 61 munmap(map, pagesize); 74 munmap(map2, pagesize); 174 munmap(map, pagesize);
|
H A D | thuge-gen.c | 127 if (munmap(map, size * NUM_PAGES))
|
H A D | virtual_address_range.c | 140 munmap(ptr[i], MAP_CHUNK_SIZE); 143 munmap(hptr[i], MAP_CHUNK_SIZE);
|
H A D | mremap_dontunmap.c | 58 BUG_ON(munmap(dest_mapping, num_pages * page_size) == -1, 62 BUG_ON(munmap(source_mapping, num_pages * page_size) == -1, 121 BUG_ON(munmap(dest_mapping, num_pages * page_size) == -1, 123 BUG_ON(munmap(source_mapping, num_pages * page_size) == -1, 154 BUG_ON(munmap(source_mapping, num_pages * page_size) == -1, 173 BUG_ON(munmap(dest_mapping, num_pages * page_size) == -1, 175 BUG_ON(munmap(source_mapping, num_pages * page_size) == -1, 220 BUG_ON(munmap(dest_mapping, num_pages * page_size) == -1, 222 BUG_ON(munmap(source_mapping, num_pages * page_size) == -1, 271 BUG_ON(munmap(dest_mappin [all...] |
H A D | on-fault-limit.c | 27 munmap(map, 2 * lims.rlim_max);
|
H A D | mlock2-tests.c | 200 munmap(map, 2 * page_size); 208 munmap(map, 2 * page_size); 213 munmap(map, 2 * page_size); 251 munmap(map, 2 * page_size); 259 munmap(map, 2 * page_size); 264 munmap(map, 2 * page_size); 280 munmap(map, 2 * page_size); 287 munmap(map, 2 * page_size); 301 munmap(map, 2 * page_size); 308 munmap(ma [all...] |
H A D | mrelease_test.c | 45 munmap(buf, nr_pages * psize());
|
H A D | map_hugetlb.c | 67 /* munmap with fail if the length is not page aligned */ 97 /* munmap() length of MAP_HUGETLB memory must be hugepage aligned */ 98 if (munmap(addr, length)) 99 ksft_exit_fail_msg("munmap: %s\n", strerror(errno));
|
H A D | map_fixed_noreplace.c | 35 if (munmap(addr, size) != 0) 36 ksft_exit_fail_msg("Error: munmap failed\n"); 66 if (munmap((void *)addr, 5 * page_size) != 0) { 68 ksft_exit_fail_msg("Error: munmap failed!?\n"); 186 if (munmap((void *)addr, size) != 0) { 188 ksft_exit_fail_msg("Error: munmap failed!?\n");
|
H A D | ksm_functional_tests.c | 218 munmap(map, size); 241 munmap(map, size); 305 munmap(map, size); 333 munmap(map, size); 395 munmap(map, size); 560 munmap(map, size); 593 munmap(map, size);
|
H A D | hugetlb-madvise.c | 105 if (munmap(addr, huge_page_size) || 106 munmap(addr + (NR_HUGE_PAGES + 1) * huge_page_size, 108 perror("munmap"); 134 (void)munmap(addr, NR_HUGE_PAGES * huge_page_size); 171 (void)munmap(addr, NR_HUGE_PAGES * huge_page_size); 196 (void)munmap(addr, NR_HUGE_PAGES * huge_page_size); 255 (void)munmap(addr, NR_HUGE_PAGES * huge_page_size); 295 (void)munmap(addr, NR_HUGE_PAGES * huge_page_size); 363 (void)munmap(addr, NR_HUGE_PAGES * huge_page_size); 364 (void)munmap(addr [all...] |
/linux-master/tools/testing/selftests/ |
H A D | kselftest_harness.h | 1267 munmap(results, sizeof(*results));
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | set_memory_region_test.c | 442 munmap(mem, (size_t)max_mem_slots * MEM_REGION_SIZE + alignment); 443 munmap(mem_extra, MEM_REGION_SIZE);
|
H A D | max_guest_memory_test.c | 281 munmap(mem, slot_size / 2);
|
/linux-master/fs/bcachefs/ |
H A D | btree_cache.c | 69 munmap(b->aux_data, btree_aux_data_bytes(b));
|
/linux-master/scripts/mod/ |
H A D | modpost.c | 412 munmap(file, size);
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 1739 munmap(map->mmaped, old_sz); 8872 munmap(map->mmaped, bpf_map_mmap_sz(map)); 12877 munmap(cpu_buf->base, pb->mmap_size + pb->page_size)) 12878 pr_warn("failed to munmap cpu_buf #%d\n", cpu_buf->cpu);
|
/linux-master/tools/bpf/bpftool/ |
H A D | gen.c | 1508 munmap(obj_data, mmap_sz); 1823 munmap(obj_data, mmap_sz);
|
/linux-master/mm/ |
H A D | mmap.c | 2491 * do_vmi_align_munmap() - munmap the aligned region from @start to @end. 2495 * @start: The aligned start address to munmap. 2496 * @end: The aligned end address to munmap. 2530 * Make sure that map_count on return from munmap() will 2656 * do_vmi_munmap() - munmap a given range. 2659 * @start: The start address to munmap 2660 * @len: The length of the range to munmap 2701 * @start: The start address to munmap 2986 SYSCALL_DEFINE2(munmap, unsigned long, addr, size_t, len)
|
/linux-master/tools/testing/selftests/user_events/ |
H A D | abi_test.c | 416 munmap(stack, stack_size);
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 673 ret = munmap(vcpu->dirty_gfns, vm->dirty_ring_size); 674 TEST_ASSERT(!ret, __KVM_SYSCALL_ERROR("munmap()", ret)); 678 ret = munmap(vcpu->run, vcpu_mmap_sz()); 679 TEST_ASSERT(!ret, __KVM_SYSCALL_ERROR("munmap()", ret)); 722 ret = munmap(region->mmap_start, region->mmap_size); 723 TEST_ASSERT(!ret, __KVM_SYSCALL_ERROR("munmap()", ret)); 726 ret = munmap(region->mmap_alias, region->mmap_size); 727 TEST_ASSERT(!ret, __KVM_SYSCALL_ERROR("munmap()", ret));
|