Searched refs:nr_cblocks (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/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 49 int nr_cblocks, affinity, flush, comp_level; member
|
D | record.h | 71 int nr_cblocks; member
|
D | evlist.h | 197 bool auxtrace_overwrite, int nr_cblocks,
|
D | evlist.c | 993 bool auxtrace_overwrite, int nr_cblocks, int affinity, int flush, in evlist__mmap_ex() argument 1002 .nr_cblocks = nr_cblocks, in evlist__mmap_ex()
|
/Linux-v6.6/tools/perf/ |
D | builtin-record.c | 357 for (i = 0; i < md->aio.nr_cblocks; ++i) { in record__aio_sync() 376 while (aio_suspend((const struct aiocb **)aiocb, md->aio.nr_cblocks, &timeout)) { in record__aio_sync() 508 opts->nr_cblocks = 0; in record__aio_parse() 511 opts->nr_cblocks = strtol(str, NULL, 0); in record__aio_parse() 512 if (!opts->nr_cblocks) in record__aio_parse() 513 opts->nr_cblocks = nr_cblocks_default; in record__aio_parse() 543 return rec->opts.nr_cblocks > 0; in record__aio_enabled() 1231 opts->nr_cblocks, opts->affinity, in record__mmap_evlist() 2934 rec->opts.nr_cblocks = strtol(value, NULL, 0); in perf_record_config() 2935 if (!rec->opts.nr_cblocks) in perf_record_config() [all …]
|