Home
last modified time | relevance | path

Searched refs:mapped_size (Results 1 – 10 of 10) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/mmap/
Dmmap18.c86 static void *allocate_stack(size_t stack_size, size_t mapped_size) in allocate_stack() argument
96 SAFE_MMAP((start + reserved_size - mapped_size), mapped_size, PROT_READ | PROT_WRITE, in allocate_stack()
106 mapped_size/page_size, stack_size/page_size); in allocate_stack()
151 static void grow_stack_success(size_t stack_size, size_t mapped_size) in grow_stack_success() argument
159 stack = allocate_stack(stack_size, mapped_size); in grow_stack_success()
175 static void grow_stack_fail(size_t stack_size, size_t mapped_size) in grow_stack_fail() argument
184 stack = allocate_stack(stack_size, mapped_size); in grow_stack_fail()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D24-1.c44 size_t mapped_size = 0; in main() local
64 mapped_size = 0; in main()
65 while (mapped_size < SIZE_MAX) { in main()
69 (unsigned long)mapped_size); in main()
74 mapped_size += shm_size; in main()
/third_party/elfutils/libdwfl/
Dopen.c64 const size_t mapped_size = (*elf)->maximum_size; in decompress() local
65 if (mapped_size == 0) in decompress()
68 error = __libdw_gunzip (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
70 error = __libdw_bunzip2 (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
72 error = __libdw_unlzma (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
74 error = __libdw_unzstd (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
Dimage-header.c62 void *mapped, size_t mapped_size) in __libdw_image_header() argument
64 if (likely (mapped_size > H_END)) in __libdw_image_header()
103 if (offset > H_END && offset < mapped_size in __libdw_image_header()
104 && mapped_size - offset >= length) in __libdw_image_header()
Dgzip.c82 size_t mapped_size; member
115 if (state->input_pos == (off_t) state->mapped_size) in fail()
188 .mapped_size = _mapped_size, in unzip()
210 state.mapped_size = n; in unzip()
215 state.input_pos = state.mapped_size = *whole_size; in unzip()
220 (state.mapped_size <= sizeof magic || \ in unzip()
237 size_t avail_in = state.mapped_size; in unzip()
305 z_stream z = { .next_in = mapped, .avail_in = state.mapped_size }; in unzip()
DlibdwflP.h605 void *mapped, size_t mapped_size,
609 void *mapped, size_t mapped_size,
613 void *mapped, size_t mapped_size,
617 void *mapped, size_t mapped_size,
623 void *mapped, size_t mapped_size)
/third_party/gstreamer/gstplugins_bad/sys/ipcpipeline/
Dgstipcpipelinecomm.c413 guint32 mapped_size = size; in gst_ipc_pipeline_comm_read_query_result() local
420 payload = gst_adapter_map (comm->adapter, mapped_size); in gst_ipc_pipeline_comm_read_query_result()
449 gst_adapter_flush (comm->adapter, mapped_size); in gst_ipc_pipeline_comm_read_query_result()
653 guint32 mapped_size, buffer_data_size; in gst_ipc_pipeline_comm_read_buffer() local
659 mapped_size = sizeof (CommBufferMetadata) + sizeof (buffer_data_size); in gst_ipc_pipeline_comm_read_buffer()
660 payload = gst_adapter_map (comm->adapter, mapped_size); in gst_ipc_pipeline_comm_read_buffer()
666 size -= mapped_size; in gst_ipc_pipeline_comm_read_buffer()
668 gst_adapter_flush (comm->adapter, mapped_size); in gst_ipc_pipeline_comm_read_buffer()
689 mapped_size = size; in gst_ipc_pipeline_comm_read_buffer()
690 payload = gst_adapter_map (comm->adapter, mapped_size); in gst_ipc_pipeline_comm_read_buffer()
[all …]
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
Dpvr_srv_bo.c564 vma->mapped_size = aligned_virt_size; in pvr_srv_winsys_vma_map()
588 vma->mapped_size >> srv_ws->base.log2_page_size); in pvr_srv_winsys_vma_unmap()
/third_party/mesa3d/src/imagination/vulkan/winsys/
Dpvr_winsys.h135 uint64_t mapped_size; member
/third_party/libabigail/tests/data/test-read-dwarf/
DPR25042-libgdbm-clang-dwarf5.so.6.0.0.abi424 …<var-decl name='mapped_size' type-id='type-id-6' visibility='default' filepath='./gdbmdefs.h' line…