• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/

Lines Matching defs:ioctx

253  *	Allocates and initializes an ioctx.  Returns an ERR_PTR if it failed.
317 dprintk("aio: allocated ioctx %p[%ld]: mm=%p mask=0x%x\n",
330 dprintk("aio: error allocating ioctx %p\n", ctx);
426 "exit_aio:ioctx still alive: %d %d %d\n",
618 * the retry run list for the corresponding ioctx, if it
757 * Process all pending retries queued on the ioctx
804 * Process all pending retries queued on the ioctx
836 * retries on an ioctx. Takes on the aio issuer's
1014 static int aio_read_evt(struct kioctx *ioctx, struct io_event *ent)
1016 struct aio_ring_info *info = &ioctx->ring_info;
1203 /* Take an ioctx and remove it from the list of ioctx's. Protects
1206 static void io_destroy(struct kioctx *ioctx)
1213 was_dead = ioctx->dead;
1214 ioctx->dead = 1;
1215 hlist_del_rcu(&ioctx->list);
1218 dprintk("aio_release(%p)\n", ioctx);
1220 put_ioctx(ioctx); /* twice for the list */
1222 aio_cancel_all(ioctx);
1223 wait_for_all_aios(ioctx);
1230 wake_up(&ioctx->wait);
1231 put_ioctx(ioctx); /* once for the lookup */
1249 struct kioctx *ioctx = NULL;
1264 ioctx = ioctx_alloc(nr_events);
1265 ret = PTR_ERR(ioctx);
1266 if (!IS_ERR(ioctx)) {
1267 ret = put_user(ioctx->user_id, ctxp);
1271 get_ioctx(ioctx); /* io_destroy() expects us to hold a ref */
1272 io_destroy(ioctx);
1287 struct kioctx *ioctx = lookup_ioctx(ctx);
1288 if (likely(NULL != ioctx)) {
1289 io_destroy(ioctx);
1820 struct kioctx *ioctx = lookup_ioctx(ctx_id);
1823 if (likely(ioctx)) {
1825 ret = read_events(ioctx, min_nr, nr, events, timeout);
1826 put_ioctx(ioctx);