Searched refs:aiocb (Results 1 - 5 of 5) sorted by relevance
/linux-master/tools/build/feature/ |
H A D | test-libaio.c | 6 struct aiocb aiocb; local 8 aiocb.aio_fildes = 0; 9 aiocb.aio_offset = 0; 10 aiocb.aio_buf = 0; 11 aiocb.aio_nbytes = 0; 12 aiocb.aio_reqprio = 0; 13 aiocb.aio_sigevent.sigev_notify = 1 /*SIGEV_NONE*/; 15 return (int)aio_return(&aiocb);
|
/linux-master/tools/perf/util/ |
H A D | mmap.h | 14 struct aiocb; 35 struct aiocb *cblocks; 36 struct aiocb **aiocb; member in struct:mmap::__anon324
|
H A D | mmap.c | 153 map->aio.aiocb = calloc(map->aio.nr_cblocks, sizeof(struct aiocb *)); 154 if (!map->aio.aiocb) { 155 pr_debug2("failed to allocate aiocb for data buffer, error %m\n"); 158 map->aio.cblocks = calloc(map->aio.nr_cblocks, sizeof(struct aiocb)); 210 zfree(&map->aio.aiocb);
|
/linux-master/fs/ |
H A D | aio.c | 1777 struct aio_kiocb *aiocb = container_of(iocb, struct aio_kiocb, rw); local 1778 struct poll_iocb *req = &aiocb->poll; 1783 schedule_work(&aiocb->poll.work); 1899 static int aio_poll(struct aio_kiocb *aiocb, const struct iocb *iocb) argument 1901 struct kioctx *ctx = aiocb->ki_ctx; 1902 struct poll_iocb *req = &aiocb->poll; 1924 apt.iocb = aiocb; 1958 list_add_tail(&aiocb->ki_list, &ctx->active_reqs); 1959 aiocb->ki_cancel = aio_poll_cancel; 1965 aiocb [all...] |
/linux-master/tools/perf/ |
H A D | builtin-record.c | 277 static int record__aio_write(struct aiocb *cblock, int trace_fd, 302 static int record__aio_complete(struct mmap *md, struct aiocb *cblock) 350 struct aiocb **aiocb = md->aio.aiocb; local 351 struct aiocb *cblocks = md->aio.cblocks; 360 aiocb[i] = NULL; 369 aiocb[i] = &cblocks[i]; 376 while (aio_suspend((const struct aiocb **)aiocb, m [all...] |
Completed in 157 milliseconds