Searched refs:mmap_size (Results 1 – 5 of 5) sorted by relevance
/external/fio/ |
D | smalloc.c | 44 size_t mmap_size; member 198 pool->mmap_size = alloc_size; in add_pool() 227 munmap(pool->map, pool->mmap_size); in add_pool() 256 munmap(pool->map, pool->mmap_size); in cleanup_pool()
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | session.c | 1265 u64 head, size_t mmap_size, char *buf) in fetch_mmaped_event() argument 1273 if (head + sizeof(event->header) > mmap_size) in fetch_mmaped_event() 1281 if (head + event->header.size > mmap_size) { in fetch_mmaped_event() 1309 size_t mmap_size; in __perf_session__process_events() local 1325 mmap_size = MMAP_SIZE; in __perf_session__process_events() 1326 if (mmap_size > file_size) in __perf_session__process_events() 1327 mmap_size = file_size; in __perf_session__process_events() 1339 buf = mmap(NULL, mmap_size, mmap_prot, mmap_flags, session->fd, in __perf_session__process_events() 1351 event = fetch_mmaped_event(session, head, mmap_size, buf); in __perf_session__process_events() 1354 munmap(mmaps[map_idx], mmap_size); in __perf_session__process_events()
|
/external/e2fsprogs/intl/ |
D | gettextP.h | 88 size_t mmap_size; member
|
D | loadmsgcat.c | 1028 domain->mmap_size = size; in _nl_load_domain() 1411 munmap ((void *) domain->data, domain->mmap_size); in _nl_unload_domain()
|
/external/netperf/ |
D | netlib.c | 1391 int mmap_size; in allocate_exs_buffer_ring() local 1419 mmap_size = width * malloc_size; in allocate_exs_buffer_ring() 1420 mmap_buffer = (char *) mmap ((caddr_t)NULL, mmap_size+NBPG-1, in allocate_exs_buffer_ring() 1431 mmap_size, mmap_buffer, mmap_buffer_aligned); in allocate_exs_buffer_ring() 1435 *mhandlep = exs_mregister ((void *)mmap_buffer_aligned, (size_t)mmap_size, 0); in allocate_exs_buffer_ring()
|