Searched refs:nr_cblocks (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/tools/perf/util/ |
D | mmap.c | 73 return map->aio.nr_cblocks > 0; in perf_mmap__aio_enabled() 151 map->aio.nr_cblocks = mp->nr_cblocks; in perf_mmap__aio_mmap() 152 if (map->aio.nr_cblocks) { in perf_mmap__aio_mmap() 153 map->aio.aiocb = calloc(map->aio.nr_cblocks, sizeof(struct aiocb *)); in perf_mmap__aio_mmap() 158 map->aio.cblocks = calloc(map->aio.nr_cblocks, sizeof(struct aiocb)); in perf_mmap__aio_mmap() 163 map->aio.data = calloc(map->aio.nr_cblocks, sizeof(void *)); in perf_mmap__aio_mmap() 169 for (i = 0; i < map->aio.nr_cblocks; ++i) { in perf_mmap__aio_mmap() 205 for (i = 0; i < map->aio.nr_cblocks; ++i) in perf_mmap__aio_munmap()
|
D | mmap.h | 37 int nr_cblocks; member 48 int nr_cblocks, affinity, flush, comp_level; member
|
D | record.h | 71 int nr_cblocks; member
|
D | evlist.h | 199 bool auxtrace_overwrite, int nr_cblocks,
|
D | evlist.c | 1006 bool auxtrace_overwrite, int nr_cblocks, int affinity, int flush, in evlist__mmap_ex() argument 1015 .nr_cblocks = nr_cblocks, in evlist__mmap_ex()
|
/linux-6.12.1/tools/perf/ |
D | builtin-record.c | 367 for (i = 0; i < md->aio.nr_cblocks; ++i) { in record__aio_sync() 386 while (aio_suspend((const struct aiocb **)aiocb, md->aio.nr_cblocks, &timeout)) { in record__aio_sync() 522 opts->nr_cblocks = 0; in record__aio_parse() 525 opts->nr_cblocks = strtol(str, NULL, 0); in record__aio_parse() 526 if (!opts->nr_cblocks) in record__aio_parse() 527 opts->nr_cblocks = nr_cblocks_default; in record__aio_parse() 557 return rec->opts.nr_cblocks > 0; in record__aio_enabled() 1310 opts->nr_cblocks, opts->affinity, in record__mmap_evlist() 2973 rec->opts.nr_cblocks = strtol(value, NULL, 0); in perf_record_config() 2974 if (!rec->opts.nr_cblocks) in perf_record_config() [all …]
|