Home
last modified time | relevance | path

Searched refs:iu (Results 1 – 25 of 45) sorted by relevance

12

/linux/drivers/block/rnbd/
A Drnbd-clt.c353 iu = kzalloc(sizeof(*iu), GFP_KERNEL); in rnbd_get_iu()
354 if (!iu) in rnbd_get_iu()
359 kfree(iu); in rnbd_get_iu()
378 kfree(iu); in rnbd_get_iu()
382 return iu; in rnbd_get_iu()
467 wake_up_iu_comp(iu, iu->errno); in msg_close_conf()
485 if (!iu) in send_msg_close()
546 wake_up_iu_comp(iu, iu->errno); in msg_sess_info_conf()
568 if (!iu) { in send_msg_open()
614 if (!iu) { in send_msg_sess_info()
[all …]
/linux/drivers/scsi/libsas/
A Dsas_task.c12 struct ssp_response_iu *iu) in sas_ssp_task_response() argument
18 if (iu->datapres == 0) in sas_ssp_task_response()
19 tstat->stat = iu->status; in sas_ssp_task_response()
20 else if (iu->datapres == 1) in sas_ssp_task_response()
21 tstat->stat = iu->resp_data[3]; in sas_ssp_task_response()
22 else if (iu->datapres == 2) { in sas_ssp_task_response()
26 be32_to_cpu(iu->sense_data_len)); in sas_ssp_task_response()
27 memcpy(tstat->buf, iu->sense_data, tstat->buf_valid_size); in sas_ssp_task_response()
29 if (iu->status != SAM_STAT_CHECK_CONDITION) in sas_ssp_task_response()
31 SAS_ADDR(task->dev->sas_addr), iu->status); in sas_ssp_task_response()
/linux/drivers/infiniband/ulp/rtrs/
A Drtrs.c33 iu = &ius[i]; in rtrs_iu_alloc()
34 iu->direction = dir; in rtrs_iu_alloc()
36 if (!iu->buf) in rtrs_iu_alloc()
39 iu->dma_addr = ib_dma_map_single(dma_dev, iu->buf, size, dir); in rtrs_iu_alloc()
43 iu->cqe.done = done; in rtrs_iu_alloc()
44 iu->size = size; in rtrs_iu_alloc()
55 struct rtrs_iu *iu; in rtrs_iu_free() local
62 iu = &ius[i]; in rtrs_iu_free()
63 ib_dma_unmap_single(ibdev, iu->dma_addr, iu->size, iu->direction); in rtrs_iu_free()
64 kfree(iu->buf); in rtrs_iu_free()
[all …]
A Drtrs-clt.c473 sge.addr = req->iu->dma_addr; in rtrs_post_send_rdma()
508 struct rtrs_iu *iu; in rtrs_clt_recv_done() local
528 struct rtrs_iu *iu; in rtrs_clt_rkey_rsp_done() local
542 iu->size, DMA_FROM_DEVICE); in rtrs_clt_rkey_rsp_done()
543 msg = iu->buf; in rtrs_clt_rkey_rsp_done()
998 .iov_base = fail_req->iu->buf, in rtrs_clt_get_copy_req()
1040 sge[i].addr = req->iu->dma_addr; in rtrs_post_rdma_write_sg()
1374 if (!req->iu) in alloc_sess_reqs()
2379 struct rtrs_iu *iu; in rtrs_clt_info_req_done() local
2462 struct rtrs_iu *iu; in rtrs_clt_info_rsp_done() local
[all …]
A Drtrs-pri.h303 void rtrs_iu_free(struct rtrs_iu *iu, struct ib_device *dev, u32 queue_num);
304 int rtrs_iu_post_recv(struct rtrs_con *con, struct rtrs_iu *iu);
305 int rtrs_iu_post_send(struct rtrs_con *con, struct rtrs_iu *iu, size_t size,
307 int rtrs_iu_post_rdma_write_imm(struct rtrs_con *con, struct rtrs_iu *iu,
A Drtrs-srv.c296 msg = srv_mr->iu->buf; in rdma_write_sg()
301 list.addr = srv_mr->iu->dma_addr; in rdma_write_sg()
308 srv_mr->iu->dma_addr, in rdma_write_sg()
415 msg = srv_mr->iu->buf; in send_io_resp_imm()
427 srv_mr->iu->dma_addr, in send_io_resp_imm()
635 srv_mr->iu = rtrs_iu_alloc(1, in map_cont_bufs()
639 if (!srv_mr->iu) { in map_cont_bufs()
707 struct rtrs_iu *iu; in rtrs_srv_info_rsp_done() local
895 struct rtrs_iu *iu; in rtrs_srv_info_req_done() local
914 iu->size, DMA_FROM_DEVICE); in rtrs_srv_info_req_done()
[all …]
A Drtrs-srv.h71 struct rtrs_iu *iu; /* send buffer for new rkey msg */ member
A Drtrs-clt.h96 struct rtrs_iu *iu; member
/linux/drivers/infiniband/ulp/srp/
A Dib_srp.c232 iu = kmalloc(sizeof *iu, gfp_mask); in srp_alloc_iu()
233 if (!iu) in srp_alloc_iu()
248 return iu; in srp_alloc_iu()
253 kfree(iu); in srp_alloc_iu()
260 if (!iu) in srp_free_iu()
266 kfree(iu); in srp_free_iu()
1866 return iu; in __srp_get_tx_iu()
1903 iu->sge[0].addr = iu->dma; in srp_post_send()
2015 if (!iu) { in srp_response_common()
2185 if (!iu) in srp_queuecommand()
[all …]
/linux/drivers/usb/storage/
A Duas.c301 struct iu *iu = urb->transfer_buffer; in uas_stat_cmplt() local
339 switch (iu->iu_id) { in uas_stat_cmplt()
473 struct sense_iu *iu; in uas_alloc_sense_urb() local
478 iu = kzalloc(sizeof(*iu), gfp); in uas_alloc_sense_urb()
479 if (!iu) in uas_alloc_sense_urb()
482 usb_fill_bulk_urb(urb, udev, devinfo->status_pipe, iu, sizeof(*iu), in uas_alloc_sense_urb()
501 struct command_iu *iu; in uas_alloc_cmd_urb() local
511 iu = kzalloc(sizeof(*iu) + len, gfp); in uas_alloc_cmd_urb()
512 if (!iu) in uas_alloc_cmd_urb()
518 iu->len = len; in uas_alloc_cmd_urb()
[all …]
/linux/sound/usb/usx2y/
A Dusb_stream.c349 iu->number_of_packets = number_of_packets; in prepare_inurb()
350 id = iu->iso_frame_desc; in prepare_inurb()
355 iu->transfer_buffer_length = in prepare_inurb()
356 id[0].length * iu->number_of_packets; in prepare_inurb()
392 struct urb *iu; in loop_back() local
400 iu = sk->idle_inurb; in loop_back()
401 id = iu->iso_frame_desc; in loop_back()
407 i = iu->transfer_buffer + id[p].offset; in loop_back()
425 if (iu == sk->completed_inurb) { in loop_back()
433 iu = sk->completed_inurb; in loop_back()
[all …]
/linux/drivers/scsi/ibmvscsi/
A Dibmvfc.c193 return &vfc_cmd->v2.iu; in ibmvfc_get_fcp_iu()
195 return &vfc_cmd->v1.iu; in ibmvfc_get_fcp_iu()
1682 *evt->xfer_iu = evt->iu; in ibmvfc_send_event()
2038 tmf = &evt->iu.tmf; in ibmvfc_bsg_timeout()
2095 plogi = &evt->iu.plogi; in ibmvfc_bsg_plogi()
2307 iu->tmf_flags = type; in ibmvfc_reset_device()
2505 tmf = &evt->iu.tmf; in ibmvfc_init_tmf()
4030 prli = &evt->iu.prli; in ibmvfc_tgt_send_prli()
4138 plogi = &evt->iu.plogi; in ibmvfc_tgt_send_plogi()
4451 be16_to_cpu(mad->iu.status), be16_to_cpu(mad->iu.error), in ibmvfc_tgt_adisc_done()
[all …]
A Dibmvscsi.c797 unmap_cmd_data(&evt->iu.srp.cmd, evt, in purge_requests()
852 evt_struct->iu.srp.cmd.opcode); in ibmvscsi_timeout()
928 *evt_struct->xfer_iu = evt_struct->iu; in ibmvscsi_send_srp_event()
1012 unmap_cmd_data(&evt_struct->iu.srp.cmd, in handle_cmd_rsp()
1059 memset(&evt_struct->iu.srp, 0x00, sizeof(evt_struct->iu.srp)); in ibmvscsi_queuecommand_lck()
1060 srp_cmd = &evt_struct->iu.srp.cmd; in ibmvscsi_queuecommand_lck()
1209 login = &evt_struct->iu.srp.login_req; in send_srp_login()
1278 req = &evt_struct->iu.mad.capabilities; in send_mad_capabilities()
1448 req = &evt_struct->iu.mad.adapter_info; in send_mad_adapter_info()
1532 tsk_mgmt = &evt->iu.srp.tsk_mgmt; in ibmvscsi_eh_abort_handler()
[all …]
A Dibmvfc.h496 struct ibmvfc_fcp_cmd_iu iu; member
501 struct ibmvfc_fcp_cmd_iu iu; member
538 struct ibmvfc_passthru_iu iu; member
753 union ibmvfc_iu iu; member
A Dibmvscsi.h59 union viosrp_iu iu; member
/linux/fs/xfs/
A Dxfs_inode.c1884 struct xfs_iunlink *iu; in xfs_iunlink_lookup_backref() local
1888 return iu ? iu->iu_agino : NULLAGINO; in xfs_iunlink_lookup_backref()
1899 struct xfs_iunlink *iu) in xfs_iunlink_insert_backref() argument
1913 kmem_free(iu); in xfs_iunlink_insert_backref()
1931 struct xfs_iunlink *iu; in xfs_iunlink_add_backref() local
1936 iu = kmem_zalloc(sizeof(*iu), KM_NOFS); in xfs_iunlink_add_backref()
1937 iu->iu_agino = prev_agino; in xfs_iunlink_add_backref()
1954 struct xfs_iunlink *iu; in xfs_iunlink_change_backref() local
1960 if (!iu) in xfs_iunlink_change_backref()
1978 kmem_free(iu); in xfs_iunlink_change_backref()
[all …]
/linux/drivers/usb/gadget/function/
A Df_tcm.c550 iu->iu_id = IU_ID_STATUS; in uasp_prepare_status()
551 iu->tag = cpu_to_be16(cmd->tag); in uasp_prepare_status()
557 iu->status = se_cmd->scsi_status; in uasp_prepare_status()
561 stream->req_status->buf = iu; in uasp_prepare_status()
622 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_status_response()
639 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_read_response()
654 iu->iu_id = IU_ID_READ_READY; in uasp_send_read_response()
661 stream->req_status->buf = iu; in uasp_send_read_response()
684 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_write_request()
697 iu->iu_id = IU_ID_WRITE_READY; in uasp_send_write_request()
[all …]
/linux/include/scsi/
A Dscsi_transport_spi.h25 unsigned int iu:1; /* Information Units enabled */ member
68 #define spi_iu(x) (((struct spi_transport_attrs *)&(x)->starget_data)->iu)
/linux/drivers/scsi/sym53c8xx_2/
A Dsym_glue.c919 tp->tgoal.iu = tp->tgoal.dt = in sym_exec_user_command()
925 tp->tgoal.iu = tp->tgoal.dt = in sym_exec_user_command()
933 tp->tgoal.iu = tp->tgoal.dt = in sym_exec_user_command()
1914 tp->tgoal.iu = tp->tgoal.dt = tp->tgoal.qas = 0; in sym2_set_width()
1930 tp->tgoal.iu = tp->tgoal.dt = tp->tgoal.qas = 0; in sym2_set_dt()
1935 static void sym2_set_iu(struct scsi_target *starget, int iu)
1941 if (iu)
1942 tp->tgoal.iu = tp->tgoal.dt = 1;
1944 tp->tgoal.iu = 0;
/linux/drivers/scsi/
A Dscsi_transport_spi.c380 spi_transport_max_attr(iu, "%d\n");
780 DV_SET(iu, 0); in spi_dv_retrain()
925 DV_SET(iu, 1); in spi_dv_device_internal()
933 DV_SET(iu, 0); in spi_dv_device_internal()
1168 tp->iu ? " IU" : "", in spi_display_xfer_agreement()
1496 return TARGET_ATTRIBUTE_HELPER(iu); in target_attribute_is_visible()
1499 return TARGET_ATTRIBUTE_HELPER(iu); in target_attribute_is_visible()
/linux/drivers/scsi/mvsas/
A Dmv_sas.c1636 static void mvs_fill_ssp_resp_iu(struct ssp_response_iu *iu, in mvs_fill_ssp_resp_iu() argument
1639 iu->datapres = 2; in mvs_fill_ssp_resp_iu()
1640 iu->response_data_len = 0; in mvs_fill_ssp_resp_iu()
1641 iu->sense_data_len = 17; in mvs_fill_ssp_resp_iu()
1642 iu->status = 02; in mvs_fill_ssp_resp_iu()
1643 mvs_set_sense(iu->sense_data, 17, 0, in mvs_fill_ssp_resp_iu()
1668 struct ssp_response_iu *iu = slot->response + in mvs_slot_err() local
1670 mvs_fill_ssp_resp_iu(iu, NOT_READY, 0x04, 01); in mvs_slot_err()
1671 sas_ssp_task_response(mvi->dev, task, iu); in mvs_slot_err()
1772 struct ssp_response_iu *iu = slot->response + in mvs_slot_complete() local
[all …]
/linux/include/linux/usb/
A Duas.h9 struct iu { struct
/linux/drivers/s390/scsi/
A Dzfcp_fsf.h346 struct fcp_cmnd iu; member
350 struct fcp_resp_with_ext iu; member
/linux/drivers/scsi/elx/libefc/
A Defc_node.c969 struct fc_ct_hdr *iu = seq->payload->dma.virt; in efc_node_recv_ct_frame() local
972 u16 gscmd = be16_to_cpu(iu->ct_cmd); in efc_node_recv_ct_frame()
976 efc_send_ct_rsp(efc, node, be16_to_cpu(hdr->fh_ox_id), iu, in efc_node_recv_ct_frame()
/linux/Documentation/filesystems/
A Dramfs-rootfs-initramfs.rst294 http://www.uwsg.iu.edu/hypermail/linux/kernel/0112.2/1538.html
298 http://www.uwsg.iu.edu/hypermail/linux/kernel/0112.2/1587.html
335 http://www.uwsg.iu.edu/hypermail/linux/kernel/0112.2/1540.html
339 - http://www.uwsg.iu.edu/hypermail/linux/kernel/0112.2/1550.html
340 - http://www.uwsg.iu.edu/hypermail/linux/kernel/0112.2/1638.html

Completed in 88 milliseconds

12