Searched refs:mmap_size (Results 1 – 6 of 6) sorted by relevance
/external/fio/ |
D | smalloc.c | 43 size_t mmap_size; member 196 pool->mmap_size = alloc_size; in add_pool() 219 munmap(pool->map, pool->mmap_size); in add_pool() 238 munmap(pool->map, pool->mmap_size); in cleanup_pool()
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | session.c | 1260 u64 head, size_t mmap_size, char *buf) in fetch_mmaped_event() argument 1268 if (head + sizeof(event->header) > mmap_size) in fetch_mmaped_event() 1276 if (head + event->header.size > mmap_size) { in fetch_mmaped_event() 1304 size_t mmap_size; in __perf_session__process_events() local 1320 mmap_size = MMAP_SIZE; in __perf_session__process_events() 1321 if (mmap_size > file_size) in __perf_session__process_events() 1322 mmap_size = file_size; in __perf_session__process_events() 1334 buf = mmap(NULL, mmap_size, mmap_prot, mmap_flags, session->fd, in __perf_session__process_events() 1346 event = fetch_mmaped_event(session, head, mmap_size, buf); in __perf_session__process_events() 1349 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/qemu/ |
D | kvm-all.c | 164 long mmap_size; in kvm_init_vcpu() local 178 mmap_size = kvm_ioctl(s, KVM_GET_VCPU_MMAP_SIZE, 0); in kvm_init_vcpu() 179 if (mmap_size < 0) { in kvm_init_vcpu() 184 cpu->kvm_run = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE, MAP_SHARED, in kvm_init_vcpu()
|
/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()
|