Home
last modified time | relevance | path

Searched refs:cblocks (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/tools/perf/util/
A Dmmap.c158 map->aio.cblocks = calloc(map->aio.nr_cblocks, sizeof(struct aiocb)); in perf_mmap__aio_mmap()
159 if (!map->aio.cblocks) { in perf_mmap__aio_mmap()
184 map->aio.cblocks[i].aio_fildes = -1; in perf_mmap__aio_mmap()
194 map->aio.cblocks[i].aio_reqprio = prio >= 0 ? prio : 0; in perf_mmap__aio_mmap()
209 zfree(&map->aio.cblocks); in perf_mmap__aio_munmap()
A Dmmap.h35 struct aiocb *cblocks; member
/linux-6.3-rc2/tools/perf/
A Dbuiltin-record.c352 struct aiocb *cblocks = md->aio.cblocks; in record__aio_sync() local
359 if (cblocks[i].aio_fildes == -1 || record__aio_complete(md, &cblocks[i])) { in record__aio_sync()
370 aiocb[i] = &cblocks[i]; in record__aio_sync()
453 ret = record__aio_write(&(map->aio.cblocks[idx]), trace_fd, aio.data, aio.size, *off); in record__aio_push()

Completed in 11 milliseconds