/linux-master/tools/testing/selftests/mm/ |
H A D | mkdirty.c | 77 munmap(mmap_mem, mmap_size); 103 goto munmap; 114 goto munmap; 118 munmap: 119 munmap(mem, pagesize); 144 goto munmap; 150 goto munmap; 154 munmap: 155 munmap(mmap_mem, mmap_size); 175 goto munmap; [all...] |
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 | 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 | 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...] |
H A D | cow.c | 181 if (munmap(mem, size) < 0) 336 if (munmap(mem, size) < 0) { 337 ksft_test_result_fail("munmap() failed\n"); 729 goto munmap; 739 goto munmap; 744 munmap: 745 munmap(mem, pagesize); 792 goto munmap; 802 goto munmap; 822 goto munmap; [all...] |
H A D | madv_populate.c | 48 munmap(addr, pagesize); 69 munmap(addr, SIZE); 90 munmap(addr, SIZE); 104 ret = munmap(addr + pagesize, pagesize); 106 ksft_exit_fail_msg("munmap failed\n"); 132 munmap(addr, SIZE); 182 munmap(addr, SIZE); 204 munmap(addr, SIZE); 264 munmap(addr, SIZE);
|
H A D | hugepage-vmemmap.c | 127 munmap(addr, maplength); 135 munmap(addr, maplength); 140 /* munmap() length of MAP_HUGETLB memory must be hugepage aligned */ 141 if (munmap(addr, maplength)) { 142 perror("munmap");
|
H A D | mremap_test.c | 90 munmap(remap_addr, size); 192 munmap(src_addr, c.region_size); 227 munmap(start + page_size, page_size); 231 munmap(start, page_size); 232 munmap(start + 2 * page_size, page_size); 237 munmap(start, 3 * page_size); 267 munmap(start + 2 * page_size, page_size); 271 munmap(start, 2 * page_size); 276 munmap(start, 3 * page_size); 349 if (munmap(pt [all...] |
H A D | on-fault-limit.c | 27 munmap(map, 2 * lims.rlim_max);
|
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 | soft-dirty.c | 61 munmap(map, pagesize); 74 munmap(map2, pagesize); 174 munmap(map, pagesize);
|
H A D | virtual_address_range.c | 140 munmap(ptr[i], MAP_CHUNK_SIZE); 143 munmap(hptr[i], MAP_CHUNK_SIZE);
|
H A D | hugetlb_fault_after_madv.c | 69 munmap(huge_ptr, MMAP_SIZE);
|
H A D | hugepage-mmap.c | 88 munmap(addr, LENGTH);
|
H A D | hugetlb_madv_vs_map.c | 120 munmap(huge_ptr, MMAP_SIZE);
|
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | hugetlb_vs_thp_test.c | 25 * munmap here before continuing. munmap() length of 28 if (munmap(addr, SIZE)) { 29 perror("munmap"); 57 munmap(addr, SIZE);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | mmap.c | 57 munmap(tmp1, page_size); 140 err = munmap(map_mmaped, map_sz); 142 if (CHECK(err, "data_map_munmap", "data_map munmap failed: %d\n", errno)) 168 err = munmap(p, map_sz); 183 munmap(tmp1, map_sz); 209 munmap(tmp0, 4 * page_size); 214 err = munmap(tmp1 + page_size, page_size); 216 munmap(tmp1, 4 * page_size); 224 munmap(tmp1, page_size); 225 munmap(tmp [all...] |
/linux-master/tools/testing/selftests/x86/ |
H A D | sysret_ss_attrs.c | 100 munmap(stack32, 4096);
|
H A D | test_mremap_vdso.c | 44 munmap(dest_addr, size);
|
/linux-master/tools/testing/selftests/prctl/ |
H A D | set-anon-vma-name-test.c | 88 munmap(self->ptr_anon, AREA_SIZE); 89 munmap(self->ptr_not_anon, AREA_SIZE);
|
/linux-master/tools/testing/selftests/sgx/ |
H A D | load.c | 27 munmap((void *)encl->encl_base, encl->encl_size); 30 munmap(encl->bin, encl->bin_size); 37 munmap(heap_seg->src, heap_seg->size); 99 munmap((void *)secs->base, encl->encl_size); 209 munmap(ptr, PAGE_SIZE); 222 munmap(ptr, PAGE_SIZE); 332 munmap(area, encl->encl_base - (uint64_t)area); 333 munmap((void *)(encl->encl_base + encl_size),
|
/linux-master/tools/testing/selftests/mincore/ |
H A D | mincore_selftest.c | 73 munmap(addr, page_size); 125 munmap(addr, page_size); 173 munmap(addr, page_size); 279 munmap(addr, FILE_SIZE); 363 munmap(addr, FILE_SIZE);
|
/linux-master/tools/testing/selftests/powerpc/benchmarks/ |
H A D | mmap_bench.c | 50 munmap(c, MEMSIZE);
|
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-vmxcopy.c | 95 munmap(a, size);
|
/linux-master/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixmap.c | 116 munmap((u8 *)where - offset, (length + offset));
|