/external/fio/engines/ |
splice.c | 78 int ret , buflen, mmap_len; local 84 mmap_len = buflen = io_u->xfer_buflen; 127 munmap(map, mmap_len); 153 if (sd->vmsplice_to_user_map && munmap(map, mmap_len) < 0) {
|
/system/extras/simpleperf/ |
event_fd.cpp | 124 size_t mmap_len = (mmap_pages + 1) * page_size; local 125 void* mmap_addr = mmap(nullptr, mmap_len, PROT_READ | PROT_WRITE, MAP_SHARED, perf_event_fd_, 0); 131 mmap_len_ = mmap_len;
|
record_file.cpp | 203 size_t mmap_len = file_size; local 204 void* mmap_addr = mmap(nullptr, mmap_len, PROT_READ, MAP_SHARED, fileno(record_fp_), 0); 213 if (munmap(mmap_addr, mmap_len) == -1) { 363 size_t mmap_len = file_size; local 364 void* mmap_addr = mmap(nullptr, mmap_len, PROT_READ, MAP_SHARED, record_fd_, 0); 371 mmap_len_ = mmap_len;
|
/external/linux-tools-perf/src/tools/perf/util/ |
evlist.h | 34 int mmap_len; member in struct:perf_evlist
|