Lines Matching defs:io_context
121 struct io_context *io_context; /* Identify the expected process */
122 int ioc_finished; /* IO associated with io_context is finished */
148 #define RQ_IOC(rq) ((struct io_context *) (rq)->elevator_private)
171 static void as_trim(struct io_context *ioc)
213 static struct io_context *as_get_io_context(int node)
215 struct io_context *ioc = get_io_context(GFP_ATOMIC, node);
429 if (!ad->io_context || ad->ioc_finished)
465 struct as_io_context *aic = ad->io_context->aic;
633 struct io_context *ioc;
636 ioc = ad->io_context;
714 if (!ad->io_context)
833 if (ad->io_context == RQ_IOC(rq) && ad->io_context) {
860 struct io_context *ioc;
946 struct io_context *ioc = RQ_IOC(rq);
948 copy_io_context(&ad->io_context, &ioc);
950 if (ad->io_context) {
951 put_io_context(ad->io_context);
952 ad->io_context = NULL;
1246 struct io_context *rioc = RQ_IOC(req);
1247 struct io_context *nioc = RQ_IOC(next);
1283 struct io_context *ioc;
1287 if (ad->io_context == ioc)
1305 put_io_context(ad->io_context);