Searched refs:ioctx (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/infiniband/ulp/srpt/ |
| H A D | ib_srpt.c | 726 struct srpt_ioctx *ioctx; in srpt_alloc_ioctx() local 728 ioctx = kzalloc(ioctx_size, GFP_KERNEL); in srpt_alloc_ioctx() 729 if (!ioctx) in srpt_alloc_ioctx() 732 ioctx->buf = kmem_cache_alloc(buf_cache, GFP_KERNEL); in srpt_alloc_ioctx() 733 if (!ioctx->buf) in srpt_alloc_ioctx() 736 ioctx->dma = ib_dma_map_single(sdev->device, ioctx->buf, in srpt_alloc_ioctx() 738 if (ib_dma_mapping_error(sdev->device, ioctx->dma)) in srpt_alloc_ioctx() 741 return ioctx; in srpt_alloc_ioctx() 744 kmem_cache_free(buf_cache, ioctx->buf); in srpt_alloc_ioctx() 746 kfree(ioctx); in srpt_alloc_ioctx() [all …]
|
| H A D | ib_srpt.h | 184 struct srpt_ioctx ioctx; member 214 struct srpt_ioctx ioctx; member
|
| /linux/fs/ |
| H A D | aio.c | 784 * Allocates and initializes an ioctx. Returns an ERR_PTR if it failed. in ioctx_alloc() 875 pr_debug("allocated ioctx %p[%ld]: mm=%p mask=0x%x\n", in kill_ioctx() 892 pr_debug("error allocating ioctx %d\n", err); in exit_aio() 1268 * Pull an event off of the ioctx's event ring. Returns the number of in aio_read_events_ring() 1437 struct kioctx *ioctx = NULL; in COMPAT_SYSCALL_DEFINE2() 1452 ioctx = ioctx_alloc(nr_events); in SYSCALL_DEFINE1() local 1453 ret = PTR_ERR(ioctx); in SYSCALL_DEFINE1() 1454 if (!IS_ERR(ioctx)) { in SYSCALL_DEFINE1() 1455 ret = put_user(ioctx->user_id, ctxp); in SYSCALL_DEFINE1() 1457 kill_ioctx(current->mm, ioctx, NUL in SYSCALL_DEFINE1() 1383 struct kioctx *ioctx = NULL; SYSCALL_DEFINE2() local 1414 struct kioctx *ioctx = NULL; COMPAT_SYSCALL_DEFINE2() local 2224 struct kioctx *ioctx = lookup_ioctx(ctx_id); do_io_getevents() local [all...] |