Searched refs:aiocbp (Results 1 – 1 of 1) sorted by relevance
27 void read_func(struct aiocb *aiocbp) { in read_func() argument28 aiocbp->ret = TEMP_FAILURE_RETRY(pread(aiocbp->aio_fildes, in read_func()29 aiocbp->aio_buf, aiocbp->aio_nbytes, aiocbp->aio_offset)); in read_func()30 if (aiocbp->ret == -1) aiocbp->error = errno; in read_func()33 void write_func(struct aiocb *aiocbp) { in write_func() argument34 aiocbp->ret = TEMP_FAILURE_RETRY(pwrite(aiocbp->aio_fildes, in write_func()35 aiocbp->aio_buf, aiocbp->aio_nbytes, aiocbp->aio_offset)); in write_func()36 if (aiocbp->ret == -1) aiocbp->error = errno; in write_func()39 void splice_read_func(struct aiocb *aiocbp) { in splice_read_func() argument40 loff_t long_offset = aiocbp->aio_offset; in splice_read_func()[all …]