Searched refs:aio_req (Results 1 – 2 of 2) sorted by relevance
260 static void ovl_aio_cleanup_handler(struct ovl_aio_req *aio_req) in ovl_aio_cleanup_handler() argument262 struct kiocb *iocb = &aio_req->iocb; in ovl_aio_cleanup_handler()263 struct kiocb *orig_iocb = aio_req->orig_iocb; in ovl_aio_cleanup_handler()276 fdput(aio_req->fd); in ovl_aio_cleanup_handler()277 kmem_cache_free(ovl_aio_request_cachep, aio_req); in ovl_aio_cleanup_handler()282 struct ovl_aio_req *aio_req = container_of(iocb, in ovl_aio_rw_complete() local284 struct kiocb *orig_iocb = aio_req->orig_iocb; in ovl_aio_rw_complete()286 ovl_aio_cleanup_handler(aio_req); in ovl_aio_rw_complete()309 struct ovl_aio_req *aio_req; in ovl_read_iter() local312 aio_req = kmem_cache_zalloc(ovl_aio_request_cachep, GFP_KERNEL); in ovl_read_iter()[all …]
978 struct ceph_aio_request *aio_req) in ceph_aio_complete() argument983 if (!atomic_dec_and_test(&aio_req->pending_reqs)) in ceph_aio_complete()986 if (aio_req->iocb->ki_flags & IOCB_DIRECT) in ceph_aio_complete()989 ret = aio_req->error; in ceph_aio_complete()991 ret = aio_req->total_len; in ceph_aio_complete()995 if (ret >= 0 && aio_req->write) { in ceph_aio_complete()998 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete()1007 &aio_req->prealloc_cf); in ceph_aio_complete()1014 ceph_put_cap_refs(ci, (aio_req->write ? CEPH_CAP_FILE_WR : in ceph_aio_complete()1017 aio_req->iocb->ki_complete(aio_req->iocb, ret, 0); in ceph_aio_complete()[all …]