Searched refs:ioctx (Results 1 - 3 of 3) sorted by relevance
/linux-master/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 666 struct srpt_ioctx *ioctx; local 668 ioctx = kzalloc(ioctx_size, GFP_KERNEL); 669 if (!ioctx) 672 ioctx->buf = kmem_cache_alloc(buf_cache, GFP_KERNEL); 673 if (!ioctx->buf) 676 ioctx->dma = ib_dma_map_single(sdev->device, ioctx->buf, 678 if (ib_dma_mapping_error(sdev->device, ioctx->dma)) 681 return ioctx; 684 kmem_cache_free(buf_cache, ioctx 698 srpt_free_ioctx(struct srpt_device *sdev, struct srpt_ioctx *ioctx, struct kmem_cache *buf_cache, enum dma_data_direction dir) argument 785 srpt_set_cmd_state(struct srpt_send_ioctx *ioctx, enum srpt_command_state new) argument 805 srpt_test_and_set_cmd_state(struct srpt_send_ioctx *ioctx, enum srpt_command_state old, enum srpt_command_state new) argument 828 srpt_post_recv(struct srpt_device *sdev, struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *ioctx) argument 895 srpt_alloc_rw_ctxs(struct srpt_send_ioctx *ioctx, struct srp_direct_buf *db, int nbufs, struct scatterlist **sg, unsigned *sg_cnt) argument 963 srpt_free_rw_ctxs(struct srpt_rdma_ch *ch, struct srpt_send_ioctx *ioctx) argument 1018 srpt_get_desc_tbl(struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *ioctx, struct srp_cmd *srp_cmd, enum dma_data_direction *dir, struct scatterlist **sg, unsigned int *sg_cnt, u64 *data_len, u16 imm_data_offset) argument 1226 struct srpt_send_ioctx *ioctx; local 1258 srpt_abort_cmd(struct srpt_send_ioctx *ioctx) argument 1333 struct srpt_send_ioctx *ioctx = local 1370 srpt_build_cmd_rsp(struct srpt_rdma_ch *ch, struct srpt_send_ioctx *ioctx, u64 tag, int status) argument 1452 srpt_build_tskmgmt_rsp(struct srpt_rdma_ch *ch, struct srpt_send_ioctx *ioctx, u8 rsp_code, u64 tag) argument 1481 struct srpt_send_ioctx *ioctx = container_of(cmd, local 1698 struct srpt_recv_ioctx *ioctx = local 1759 struct srpt_send_ioctx *ioctx = local 2747 struct srpt_send_ioctx *ioctx = local 2814 struct srpt_send_ioctx *ioctx = local 2923 struct srpt_send_ioctx *ioctx = container_of(cmd, local 2932 struct srpt_send_ioctx *ioctx; local 3341 struct srpt_send_ioctx *ioctx = container_of(se_cmd, local 3381 struct srpt_send_ioctx *ioctx; local [all...] |
H A D | ib_srpt.h | 179 * @ioctx: See above. 181 * @byte_len: Number of bytes in @ioctx.buf. 184 struct srpt_ioctx ioctx; member in struct:srpt_recv_ioctx 197 * @ioctx: See above. 208 * @n_rdma: Number of work requests needed to transfer this ioctx. 214 struct srpt_ioctx ioctx; member in struct:srpt_send_ioctx
|
/linux-master/fs/ |
H A D | aio.c | 737 * Allocates and initializes an ioctx. Returns an ERR_PTR if it failed. 828 pr_debug("allocated ioctx %p[%ld]: mm=%p mask=0x%x\n", 845 pr_debug("error allocating ioctx %d\n", err); 1221 * Pull an event off of the ioctx's event ring. Returns the number of 1390 struct kioctx *ioctx = NULL; local 1405 ioctx = ioctx_alloc(nr_events); 1406 ret = PTR_ERR(ioctx); 1407 if (!IS_ERR(ioctx)) { 1408 ret = put_user(ioctx->user_id, ctxp); 1410 kill_ioctx(current->mm, ioctx, NUL 1421 struct kioctx *ioctx = NULL; local 1459 struct kioctx *ioctx = lookup_ioctx(ctx); local 2231 struct kioctx *ioctx = lookup_ioctx(ctx_id); local [all...] |
Completed in 155 milliseconds