Home
last modified time | relevance | path

Searched refs:ioctx (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/infiniband/ulp/srpt/
Dib_srpt.c619 struct srpt_ioctx *ioctx; in srpt_alloc_ioctx() local
621 ioctx = kmalloc(ioctx_size, GFP_KERNEL); in srpt_alloc_ioctx()
622 if (!ioctx) in srpt_alloc_ioctx()
625 ioctx->buf = kmalloc(dma_size, GFP_KERNEL); in srpt_alloc_ioctx()
626 if (!ioctx->buf) in srpt_alloc_ioctx()
629 ioctx->dma = ib_dma_map_single(sdev->device, ioctx->buf, dma_size, dir); in srpt_alloc_ioctx()
630 if (ib_dma_mapping_error(sdev->device, ioctx->dma)) in srpt_alloc_ioctx()
633 return ioctx; in srpt_alloc_ioctx()
636 kfree(ioctx->buf); in srpt_alloc_ioctx()
638 kfree(ioctx); in srpt_alloc_ioctx()
[all …]
Dib_srpt.h203 struct srpt_ioctx ioctx; member
229 struct srpt_ioctx ioctx; member
/linux-3.4.99/fs/
Daio.c1067 static int aio_read_evt(struct kioctx *ioctx, struct io_event *ent) in aio_read_evt() argument
1069 struct aio_ring_info *info = &ioctx->ring_info; in aio_read_evt()
1259 static void io_destroy(struct kioctx *ioctx) in io_destroy() argument
1266 was_dead = ioctx->dead; in io_destroy()
1267 ioctx->dead = 1; in io_destroy()
1268 hlist_del_rcu(&ioctx->list); in io_destroy()
1271 dprintk("aio_release(%p)\n", ioctx); in io_destroy()
1273 put_ioctx(ioctx); /* twice for the list */ in io_destroy()
1275 kill_ctx(ioctx); in io_destroy()
1282 wake_up_all(&ioctx->wait); in io_destroy()
[all …]