Home
last modified time | relevance | path

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

12345

/Linux-v4.19/Documentation/media/uapi/dvb/
Ddmx-munmap.rst1 .. _dmx-munmap:
4 DVB munmap()
10 dmx-munmap - Unmap device memory
24 .. c:function:: int munmap( void *start, size_t length )
25 :name: dmx-munmap
49 On success :ref:`munmap() <dmx-munmap>` returns 0, on failure -1 and the
Ddmx_fcalls.rst17 dmx-munmap
/Linux-v4.19/Documentation/media/uapi/v4l/
Dfunc-munmap.rst3 .. _func-munmap:
6 V4L2 munmap()
12 v4l2-munmap - Unmap device memory
24 .. c:function:: int munmap( void *start, size_t length )
25 :name: v4l2-munmap
53 On success :ref:`munmap() <func-munmap>` returns 0, on failure -1 and the
Dlibv4l-introduction.rst120 :c:func:`mmap() <v4l2-mmap>` and :c:func:`munmap() <v4l2-munmap>`:
144 operates like the :c:func:`munmap() <v4l2-munmap>` function.
148 operates like the :c:func:`munmap() <v4l2-munmap>` function.
178 :c:func:`munmap() <v4l2-munmap>`
Dmmap.rst53 possible with the :ref:`munmap() <func-munmap>` function.
105 buffers[i].length = buffer.length; /* remember for munmap() */
123 munmap(buffers[i].start, buffers[i].length);
186 buffers[i].length[j] = buffer.m.planes[j].length; /* remember for munmap() */
206 munmap(buffers[i].start[j], buffers[i].length[j]);
262 <func-mmap>`, :ref:`munmap() <func-munmap>`, :ref:`select()
/Linux-v4.19/tools/testing/selftests/powerpc/mm/
Dhugetlb_vs_thp_test.c28 if (munmap(addr, SIZE)) { in test_body()
57 munmap(addr, SIZE); in test_body()
/Linux-v4.19/tools/testing/selftests/vm/
Dvirtual_address_range.c133 munmap(ptr[i], MAP_CHUNK_SIZE); in main()
136 munmap(hptr[i], MAP_CHUNK_SIZE); in main()
Dmlock2-tests.c326 munmap(map, 2 * page_size); in test_mlock_lock()
438 munmap(map, 2 * page_size); in test_mlock_onfault()
486 munmap(map, 2 * page_size); in test_lock_onfault_of_present()
521 munmap(map, 2 * page_size); in test_munlockall()
563 munmap(map, 2 * page_size); in test_munlockall()
651 munmap(map, 3 * page_size); in test_vma_management()
Dcompaction_test.c203 munmap(map, MAP_SIZE); in main()
220 munmap(entry->map, MAP_SIZE); in main()
Don-fault-limit.c35 munmap(map, 2 * lims.rlim_max); in test_limit()
Dmap_hugetlb.c78 if (munmap(addr, LENGTH)) { in main()
Dhugepage-mmap.c88 munmap(addr, LENGTH); in main()
/Linux-v4.19/tools/testing/selftests/memfd/
Dmemfd_test.c242 munmap(p, mfd_def_size); in mfd_assert_read()
255 munmap(p, mfd_def_size); in mfd_assert_read()
289 munmap(p, mfd_def_size); in mfd_assert_write()
303 munmap(p, mfd_def_size); in mfd_assert_write()
325 munmap(p, mfd_def_size); in mfd_assert_write()
836 munmap(p, mfd_def_size); in test_share_mmap()
842 munmap(p, mfd_def_size); in test_share_mmap()
/Linux-v4.19/arch/um/kernel/
Dtlb.c32 } munmap; member
76 ret = unmap(hvc->id, op->u.munmap.addr, in do_ops()
77 op->u.munmap.len, finished, &hvc->data); in do_ops()
145 (last->u.munmap.addr + last->u.mmap.len == addr)) { in add_munmap()
146 last->u.munmap.len += len; in add_munmap()
158 .u = { .munmap = { .addr = addr, in add_munmap()
/Linux-v4.19/tools/perf/tests/
Dmmap-thread-lookup.c72 munmap(td->map, page_size); in thread_fn()
119 munmap(td0->map, page_size); in threads_destroy()
/Linux-v4.19/arch/sparc/vdso/
Dvdso2c.c229 munmap(raw_addr, raw_len); in main()
230 munmap(stripped_addr, stripped_len); in main()
/Linux-v4.19/Documentation/dev-tools/
Dkcov.rst97 if (munmap(cover, COVER_SIZE * sizeof(unsigned long)))
98 perror("munmap"), exit(1);
196 if (munmap(cover, COVER_SIZE * sizeof(unsigned long)))
197 perror("munmap"), exit(1);
/Linux-v4.19/tools/testing/selftests/x86/
Dsysret_ss_attrs.c108 munmap(stack32, 4096); in main()
Dtest_mremap_vdso.c52 munmap(dest_addr, size); in try_to_remap()
/Linux-v4.19/arch/x86/entry/vdso/
Dvdso2c.c255 munmap(raw_addr, raw_len); in main()
256 munmap(stripped_addr, stripped_len); in main()
/Linux-v4.19/tools/testing/selftests/android/ion/
Dionutils.c132 munmap(map_buffer, maplen); in ion_export_buffer_fd()
195 munmap(ion_info->buffer, ion_info->buflen); in ion_close_buffer_fd()
/Linux-v4.19/arch/um/os-Linux/
Dprocess.c169 err = munmap(addr, len); in os_unmap_memory()
219 munmap(addr, UM_KERN_PAGE_SIZE); in can_drop_memory()
/Linux-v4.19/tools/testing/selftests/powerpc/tm/
Dtm-vmxcopy.c94 munmap(a, size); in test_vmxcopy()
/Linux-v4.19/tools/testing/selftests/powerpc/benchmarks/
Dmmap_bench.c50 munmap(c, MEMSIZE); in test_mmap()
/Linux-v4.19/tools/power/acpi/os_specific/service_layers/
Dosunixmap.c116 munmap((u8 *)where - offset, (length + offset)); in acpi_os_unmap_memory()

12345