Home
last modified time | relevance | path

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

12345678910>>...13

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dmmap.c43 munmap(tmp1, 4096); in test_mmap()
126 err = munmap(map_mmaped, map_sz); in test_mmap()
154 err = munmap(p, map_sz); in test_mmap()
169 munmap(tmp1, map_sz); in test_mmap()
195 munmap(tmp0, 4 * page_size); in test_mmap()
200 err = munmap(tmp1 + page_size, page_size); in test_mmap()
202 munmap(tmp1, 4 * page_size); in test_mmap()
210 munmap(tmp1, page_size); in test_mmap()
211 munmap(tmp1 + 2*page_size, 2 * page_size); in test_mmap()
221 munmap(tmp1, 4 * page_size); /* unmap page 1 */ in test_mmap()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/vm/
H A Dmremap_dontunmap.c61 BUG_ON(munmap(dest_mapping, num_pages * page_size) == -1, in kernel_support_for_mremap_dontunmap()
65 BUG_ON(munmap(source_mapping, num_pages * page_size) == -1, in kernel_support_for_mremap_dontunmap()
124 BUG_ON(munmap(dest_mapping, num_pages * page_size) == -1, in mremap_dontunmap_simple()
126 BUG_ON(munmap(source_mapping, num_pages * page_size) == -1, in mremap_dontunmap_simple()
156 BUG_ON(munmap(source_mapping, num_pages * page_size) == -1, in mremap_dontunmap_simple_shmem()
175 BUG_ON(munmap(dest_mapping, num_pages * page_size) == -1, in mremap_dontunmap_simple_shmem()
177 BUG_ON(munmap(source_mapping, num_pages * page_size) == -1, in mremap_dontunmap_simple_shmem()
221 BUG_ON(munmap(dest_mapping, num_pages * page_size) == -1, in mremap_dontunmap_simple_fixed()
223 BUG_ON(munmap(source_mapping, num_pages * page_size) == -1, in mremap_dontunmap_simple_fixed()
271 BUG_ON(munmap(dest_mapping, 5 * page_size) == -1, in mremap_dontunmap_partial_mapping()
[all …]
H A Dkhugepaged.c532 munmap(p, hpage_pmd_size); in alloc_at_fault()
548 munmap(p, hpage_pmd_size); in collapse_full()
562 munmap(p, hpage_pmd_size); in collapse_empty()
578 munmap(p, hpage_pmd_size); in collapse_single_pte_entry()
610 munmap(p, hpage_pmd_size); in collapse_max_ptes_none()
640 munmap(p, hpage_pmd_size); in collapse_swapin_single_pte()
692 munmap(p, hpage_pmd_size); in collapse_max_ptes_swap()
724 munmap(p, hpage_pmd_size); in collapse_single_pte_entry_compound()
756 munmap(p, hpage_pmd_size); in collapse_full_of_compound()
798 munmap(BASE_ADDR, hpage_pmd_size); in collapse_compound_extreme()
[all …]
H A Dmlock2-tests.c225 munmap(map, 2 * page_size); in test_mlock_lock()
291 munmap(map, 2 * page_size); in test_mlock_onfault()
327 munmap(map, 2 * page_size); in test_lock_onfault_of_present()
362 munmap(map, 2 * page_size); in test_munlockall()
404 munmap(map, 2 * page_size); in test_munlockall()
492 munmap(map, 3 * page_size); in test_vma_management()
H A Dmap_fixed_noreplace.c40 if (munmap(addr, size) != 0) { in find_base_addr()
80 if (munmap((void *)addr, 5 * page_size) != 0) { in main()
222 if (munmap((void *)addr, size) != 0) { in main()
H A Dvirtual_address_range.c133 munmap(ptr[i], MAP_CHUNK_SIZE); in main()
136 munmap(hptr[i], MAP_CHUNK_SIZE); in main()
H A Dcompaction_test.c204 munmap(map, MAP_SIZE); in main()
221 munmap(entry->map, MAP_SIZE); in main()
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/dvb/
H A Ddmx-munmap.rst4 .. _dmx-munmap:
7 DVB munmap()
13 dmx-munmap - Unmap device memory
25 .. c:function:: int munmap( void *start, size_t length )
47 On success :c:func:`munmap()` returns 0, on failure -1 and the
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/pxaregs/pxaregs-1.14/
H A Dmunmap.patch9 - munmap(0,MAP_SIZE);
10 + munmap(map,MAP_SIZE);
18 - munmap(0,MAP_SIZE);
19 + munmap(map,MAP_SIZE);
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dfunc-munmap.rst4 .. _func-munmap:
7 V4L2 munmap()
13 v4l2-munmap - Unmap device memory
23 .. c:function:: int munmap( void *start, size_t length )
49 On success :c:func:`munmap()` returns 0, on failure -1 and the
/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/testdir/
H A Dlarge.txt526 munmap(0xb7859000, 136911) = 0
543 munmap(0xb787a000, 4096) = 0
658 munmap(0xb7259000, 4096) = 0
676 munmap(0xb7259000, 4096) = 0
688 munmap(0xb7259000, 4096) = 0
697 munmap(0xb7259000, 4096) = 0
708 munmap(0xb7259000, 4096) = 0
1014 munmap(0xb7869000, 4096) = 0
1028 munmap(0xb7869000, 4096) = 0
2302 munmap(0xb7862000, 32768) = 0
[all …]
/OK3568_Linux_fs/kernel/tools/io_uring/
H A Dsetup.c37 munmap(sq->khead, sq->ring_sz); in io_uring_mmap()
46 munmap(sq->sqes, p->sq_entries * sizeof(struct io_uring_sqe)); in io_uring_mmap()
103 munmap(sq->sqes, *sq->kring_entries * sizeof(struct io_uring_sqe)); in io_uring_queue_exit()
104 munmap(sq->khead, sq->ring_sz); in io_uring_queue_exit()
105 munmap(cq->khead, cq->ring_sz); in io_uring_queue_exit()
/OK3568_Linux_fs/kernel/tools/testing/selftests/memfd/
H A Dmemfd_test.c258 munmap(p, mfd_def_size); in mfd_assert_read()
271 munmap(p, mfd_def_size); in mfd_assert_read()
290 munmap(p, mfd_def_size); in mfd_assert_read_shared()
324 munmap(p, mfd_def_size); in mfd_assert_fork_private_write()
358 munmap(p, mfd_def_size); in mfd_assert_write()
372 munmap(p, mfd_def_size); in mfd_assert_write()
394 munmap(p, mfd_def_size); in mfd_assert_write()
458 munmap(p, mfd_def_size); in mfd_fail_write()
800 munmap(p, mfd_def_size); in test_seal_future_write()
946 munmap(p, mfd_def_size); in test_share_mmap()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/mincore/
H A Dmincore_selftest.c74 munmap(addr, page_size); in TEST()
126 munmap(addr, page_size); in TEST()
174 munmap(addr, page_size); in TEST()
280 munmap(addr, FILE_SIZE); in TEST()
364 munmap(addr, FILE_SIZE); in TEST()
/OK3568_Linux_fs/kernel/arch/um/kernel/
H A Dtlb.c31 } munmap; member
85 op->u.munmap.addr, in do_ops()
86 op->u.munmap.len, finished, in do_ops()
90 (void *) op->u.munmap.addr, in do_ops()
91 op->u.munmap.len); in do_ops()
174 (last->u.munmap.addr + last->u.mmap.len == addr)) { in add_munmap()
175 last->u.munmap.len += len; in add_munmap()
187 .u = { .munmap = { .addr = addr, in add_munmap()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/mm/
H A Dhugetlb_vs_thp_test.c28 if (munmap(addr, SIZE)) { in test_body()
57 munmap(addr, SIZE); in test_body()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/libx86-1/libx86-1.1/
H A Dlibx86-mmap-offset.patch96 - munmap((void *)REAL_MEM_BASE, REAL_MEM_SIZE);
97 + munmap(mem_info.offset, REAL_MEM_SIZE);
168 - munmap((void *)0, 0x502);
169 + munmap(offset, 0x502);
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/
H A Dlibdrm_macros.h64 munmap(addr, length)
83 return munmap(addr, length); in drm_munmap()
/OK3568_Linux_fs/u-boot/tools/
H A Dfit_check_sign.c95 (void) munmap((void *)fit_blob, fsbuf.st_size); in main()
96 (void) munmap((void *)key_blob, ksbuf.st_size); in main()
/OK3568_Linux_fs/external/recovery/update_engine/
H A Ddo_patch.c341 munmap(new_ptr, newsize); in do_patch_rkimg()
342 munmap(old, oldsize); in do_patch_rkimg()
354 munmap(new_ptr, newsize); in do_patch_rkimg()
356 munmap(old, oldsize); in do_patch_rkimg()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dxsk.c272 munmap(map, off.fr.desc + umem->config.fill_size * sizeof(__u64)); in xsk_create_umem_rings()
649 munmap(ctx->fill->ring - off.fr.desc, off.fr.desc + umem->config.fill_size * in xsk_put_ctx()
651 munmap(ctx->comp->ring - off.cr.desc, off.cr.desc + umem->config.comp_size * in xsk_put_ctx()
865 munmap(tx_map, off.tx.desc + in xsk_socket__create_shared()
869 munmap(rx_map, off.rx.desc + in xsk_socket__create_shared()
907 munmap(umem->fill_save->ring - off.fr.desc, in xsk_umem__delete()
909 munmap(umem->comp_save->ring - off.cr.desc, in xsk_umem__delete()
943 munmap(xsk->rx->ring - off.rx.desc, in xsk_socket__delete()
947 munmap(xsk->tx->ring - off.tx.desc, in xsk_socket__delete()
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/apr/apr/
H A D0001-configure-Remove-runtime-test-for-mmap-that-can-map-.patch22 @@ -1303,36 +1303,6 @@ AC_CHECK_FUNCS([mmap munmap shm_open shm_unlink shmget shmat shmdt shmctl \
49 - if (munmap(m, sizeof(void*)) < 0) {
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bsd/
H A Dalpha_video.c118 munmap((caddr_t) base, 4096); in checkDevMem()
138 munmap((caddr_t) base, 4096); in checkDevMem()
H A Di386_video.c88 munmap((caddr_t) base, 4096); in checkDevMem()
118 munmap((caddr_t) base, 4096); in checkDevMem()
/OK3568_Linux_fs/kernel/tools/perf/tests/
H A Dmmap-thread-lookup.c75 munmap(td->map, page_size); in thread_fn()
122 munmap(td0->map, page_size); in threads_destroy()

12345678910>>...13