Home
last modified time | relevance | path

Searched refs:mmap_size (Results 1 – 11 of 11) sorted by relevance

/external/adhd/cras/src/common/
Dcras_shm.c134 size_t mmap_size, in cras_shm_setup() argument
138 int rw_shm_fd = cras_shm_open_rw(name, mmap_size); in cras_shm_setup()
143 void *exp_state = mmap(NULL, mmap_size, in cras_shm_setup()
Dcras_shm.h526 size_t mmap_size,
/external/strace/tests/
Dioctl_kvm_run_common.c171 run_kvm(const int vcpu_fd, struct kvm_run *const run, const size_t mmap_size, in run_kvm() argument
223 && run->io.data_offset < mmap_size in run_kvm()
364 const size_t mmap_size = (ret + page_size - 1) & -page_size; in main() local
365 run = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE, in main()
397 run_kvm(vcpu_fd, run, mmap_size, mem); in main()
/external/strace/tests-m32/
Dioctl_kvm_run_common.c171 run_kvm(const int vcpu_fd, struct kvm_run *const run, const size_t mmap_size, in run_kvm() argument
223 && run->io.data_offset < mmap_size in run_kvm()
364 const size_t mmap_size = (ret + page_size - 1) & -page_size; in main() local
365 run = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE, in main()
397 run_kvm(vcpu_fd, run, mmap_size, mem); in main()
/external/strace/tests-mx32/
Dioctl_kvm_run_common.c171 run_kvm(const int vcpu_fd, struct kvm_run *const run, const size_t mmap_size, in run_kvm() argument
223 && run->io.data_offset < mmap_size in run_kvm()
364 const size_t mmap_size = (ret + page_size - 1) & -page_size; in main() local
365 run = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE, in main()
397 run_kvm(vcpu_fd, run, mmap_size, mem); in main()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtrace_helpers.c95 int mmap_size; in perf_event_mmap_header() local
98 mmap_size = page_size * (page_cnt + 1); in perf_event_mmap_header()
100 base = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in perf_event_mmap_header()
/external/bcc/src/cc/
Dperf_reader.c88 int mmap_size = reader->page_size * (reader->page_cnt + 1); in perf_reader_mmap() local
95 reader->base = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE , MAP_SHARED, reader->fd, 0); in perf_reader_mmap()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h35 size_t mmap_size; member
Dkvm_util.c400 ret = munmap(region->mmap_start, region->mmap_size); in kvm_vm_free()
570 region->mmap_size = npages * vm->page_size; in vm_userspace_mem_region_add()
574 region->mmap_size += huge_page_size; in vm_userspace_mem_region_add()
575 region->mmap_start = mmap(NULL, region->mmap_size, in vm_userspace_mem_region_add()
/external/e2fsprogs/intl/
DgettextP.h88 size_t mmap_size; member
Dloadmsgcat.c1028 domain->mmap_size = size; in _nl_load_domain()
1411 munmap ((void *) domain->data, domain->mmap_size); in _nl_unload_domain()