Home
last modified time | relevance | path

Searched refs:aiocb (Results 1 – 5 of 5) sorted by relevance

/linux/tools/build/feature/
A Dtest-libaio.c6 struct aiocb aiocb; in main() local
8 aiocb.aio_fildes = 0; in main()
9 aiocb.aio_offset = 0; in main()
10 aiocb.aio_buf = 0; in main()
11 aiocb.aio_nbytes = 0; in main()
12 aiocb.aio_reqprio = 0; in main()
13 aiocb.aio_sigevent.sigev_notify = 1 /*SIGEV_NONE*/; in main()
15 return (int)aio_return(&aiocb); in main()
/linux/tools/perf/util/
A Dmmap.h18 struct aiocb;
39 struct aiocb *cblocks;
40 struct aiocb **aiocb; member
A Dmmap.c153 map->aio.aiocb = calloc(map->aio.nr_cblocks, sizeof(struct aiocb *)); in perf_mmap__aio_mmap()
154 if (!map->aio.aiocb) { in perf_mmap__aio_mmap()
158 map->aio.cblocks = calloc(map->aio.nr_cblocks, sizeof(struct aiocb)); in perf_mmap__aio_mmap()
210 zfree(&map->aio.aiocb); in perf_mmap__aio_munmap()
/linux/fs/
A Daio.c1716 struct aio_kiocb *aiocb = container_of(iocb, struct aio_kiocb, rw); in aio_poll_cancel() local
1717 struct poll_iocb *req = &aiocb->poll; in aio_poll_cancel()
1722 schedule_work(&aiocb->poll.work); in aio_poll_cancel()
1838 static int aio_poll(struct aio_kiocb *aiocb, const struct iocb *iocb) in aio_poll() argument
1840 struct kioctx *ctx = aiocb->ki_ctx; in aio_poll()
1841 struct poll_iocb *req = &aiocb->poll; in aio_poll()
1863 apt.iocb = aiocb; in aio_poll()
1897 list_add_tail(&aiocb->ki_list, &ctx->active_reqs); in aio_poll()
1898 aiocb->ki_cancel = aio_poll_cancel; in aio_poll()
1904 aiocb->ki_res.res = mangle_poll(mask); in aio_poll()
[all …]
/linux/tools/perf/
A Dbuiltin-record.c182 static int record__aio_write(struct aiocb *cblock, int trace_fd, in record__aio_write()
207 static int record__aio_complete(struct mmap *md, struct aiocb *cblock) in record__aio_complete()
255 struct aiocb **aiocb = md->aio.aiocb; in record__aio_sync() local
256 struct aiocb *cblocks = md->aio.cblocks; in record__aio_sync()
265 aiocb[i] = NULL; in record__aio_sync()
274 aiocb[i] = &cblocks[i]; in record__aio_sync()
281 while (aio_suspend((const struct aiocb **)aiocb, md->aio.nr_cblocks, &timeout)) { in record__aio_sync()

Completed in 16 milliseconds