/linux-6.12.1/drivers/block/rnbd/ |
D | rnbd-clt.c | 322 struct rnbd_iu *iu; in rnbd_get_iu() local 325 iu = kzalloc(sizeof(*iu), GFP_KERNEL); in rnbd_get_iu() 326 if (!iu) in rnbd_get_iu() 331 kfree(iu); in rnbd_get_iu() 335 iu->permit = permit; in rnbd_get_iu() 344 atomic_set(&iu->refcount, 2); in rnbd_get_iu() 345 init_waitqueue_head(&iu->comp.wait); in rnbd_get_iu() 346 iu->comp.errno = INT_MAX; in rnbd_get_iu() 348 if (sg_alloc_table(&iu->sgt, 1, GFP_KERNEL)) { in rnbd_get_iu() 350 kfree(iu); in rnbd_get_iu() [all …]
|
/linux-6.12.1/drivers/scsi/libsas/ |
D | sas_task.c | 12 struct ssp_response_iu *iu) in sas_ssp_task_response() argument 18 switch (iu->datapres) { in sas_ssp_task_response() 20 tstat->stat = iu->status; in sas_ssp_task_response() 23 tstat->stat = iu->resp_data[3]; in sas_ssp_task_response() 29 be32_to_cpu(iu->sense_data_len)); in sas_ssp_task_response() 30 memcpy(tstat->buf, iu->sense_data, tstat->buf_valid_size); in sas_ssp_task_response() 32 if (iu->status != SAM_STAT_CHECK_CONDITION) in sas_ssp_task_response() 34 SAS_ADDR(task->dev->sas_addr), iu->status); in sas_ssp_task_response()
|
/linux-6.12.1/drivers/infiniband/ulp/rtrs/ |
D | rtrs.c | 26 struct rtrs_iu *ius, *iu; in rtrs_iu_alloc() local 33 iu = &ius[i]; in rtrs_iu_alloc() 34 iu->direction = dir; in rtrs_iu_alloc() 35 iu->buf = kzalloc(size, gfp_mask); 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() 40 if (ib_dma_mapping_error(dma_dev, iu->dma_addr)) { in rtrs_iu_alloc() 41 kfree(iu->buf); in rtrs_iu_alloc() 45 iu->cqe.done = done; in rtrs_iu_alloc() 46 iu->size = size; in rtrs_iu_alloc() [all …]
|
D | rtrs-clt.c | 472 sge.addr = req->iu->dma_addr; in rtrs_post_send_rdma() 484 req->iu->dma_addr, in rtrs_post_send_rdma() 487 return rtrs_iu_post_rdma_write_imm(&con->c, req->iu, &sge, 1, in rtrs_post_send_rdma() 508 struct rtrs_iu *iu; in rtrs_clt_recv_done() local 513 iu = container_of(wc->wr_cqe, struct rtrs_iu, in rtrs_clt_recv_done() 515 err = rtrs_iu_post_recv(&con->c, iu); in rtrs_clt_recv_done() 528 struct rtrs_iu *iu; in rtrs_clt_rkey_rsp_done() local 534 iu = container_of(wc->wr_cqe, struct rtrs_iu, cqe); in rtrs_clt_rkey_rsp_done() 541 ib_dma_sync_single_for_cpu(clt_path->s.dev->ib_dev, iu->dma_addr, in rtrs_clt_rkey_rsp_done() 542 iu->size, DMA_FROM_DEVICE); in rtrs_clt_rkey_rsp_done() [all …]
|
D | rtrs-pri.h | 302 void rtrs_iu_free(struct rtrs_iu *iu, struct ib_device *dev, u32 queue_num); 303 int rtrs_iu_post_recv(struct rtrs_con *con, struct rtrs_iu *iu); 304 int rtrs_iu_post_send(struct rtrs_con *con, struct rtrs_iu *iu, size_t size, 306 int rtrs_iu_post_rdma_write_imm(struct rtrs_con *con, struct rtrs_iu *iu,
|
D | rtrs-srv.c | 296 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() 309 srv_mr->iu->size, DMA_TO_DEVICE); in rdma_write_sg() 417 msg = srv_mr->iu->buf; in send_io_resp_imm() 422 list.addr = srv_mr->iu->dma_addr; in send_io_resp_imm() 429 srv_mr->iu->dma_addr, in send_io_resp_imm() 430 srv_mr->iu->size, DMA_TO_DEVICE); in send_io_resp_imm() 559 rtrs_iu_free(srv_mr->iu, srv_path->s.dev->ib_dev, 1); in unmap_cont_bufs() 640 srv_mr->iu = rtrs_iu_alloc(1, in map_cont_bufs() [all …]
|
D | rtrs-srv.h | 72 struct rtrs_iu *iu; /* send buffer for new rkey msg */ member
|
D | rtrs-clt.h | 96 struct rtrs_iu *iu; member
|
/linux-6.12.1/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 225 struct srp_iu *iu; in srp_alloc_iu() local 227 iu = kmalloc(sizeof *iu, gfp_mask); in srp_alloc_iu() 228 if (!iu) in srp_alloc_iu() 231 iu->buf = kzalloc(size, gfp_mask); in srp_alloc_iu() 232 if (!iu->buf) in srp_alloc_iu() 235 iu->dma = ib_dma_map_single(host->srp_dev->dev, iu->buf, size, in srp_alloc_iu() 237 if (ib_dma_mapping_error(host->srp_dev->dev, iu->dma)) in srp_alloc_iu() 240 iu->size = size; in srp_alloc_iu() 241 iu->direction = direction; in srp_alloc_iu() 243 return iu; in srp_alloc_iu() [all …]
|
/linux-6.12.1/drivers/usb/storage/ |
D | uas.c | 300 struct iu *iu = urb->transfer_buffer; in uas_stat_cmplt() local 323 idx = be16_to_cpup(&iu->tag) - 1; in uas_stat_cmplt() 338 switch (iu->iu_id) { in uas_stat_cmplt() 367 success = uas_evaluate_response_iu((struct response_iu *)iu, cmnd); in uas_stat_cmplt() 376 uas_log_cmd_state(cmnd, "bogus IU", 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 [all …]
|
/linux-6.12.1/sound/usb/usx2y/ |
D | usb_stream.c | 343 static void prepare_inurb(int number_of_packets, struct urb *iu) in prepare_inurb() argument 348 iu->number_of_packets = number_of_packets; in prepare_inurb() 349 id = iu->iso_frame_desc; in prepare_inurb() 351 for (p = 0; p < iu->number_of_packets - 1; ++p) in prepare_inurb() 354 iu->transfer_buffer_length = in prepare_inurb() 355 id[0].length * iu->number_of_packets; in prepare_inurb() 391 struct urb *iu; in loop_back() local 399 iu = sk->idle_inurb; in loop_back() 400 id = iu->iso_frame_desc; in loop_back() 405 for (; p < iu->number_of_packets && l < s->period_size; ++p) { in loop_back() [all …]
|
/linux-6.12.1/fs/erofs/ |
D | inode.c | 37 union erofs_inode_i_u iu; in erofs_read_inode() local 100 iu = die->i_u; in erofs_read_inode() 117 iu = dic->i_u; in erofs_read_inode() 142 vi->raw_blkaddr = le32_to_cpu(iu.raw_blkaddr); in erofs_read_inode() 151 inode->i_rdev = new_decode_dev(le32_to_cpu(iu.rdev)); in erofs_read_inode() 166 nblks = le32_to_cpu(iu.compressed_blocks); in erofs_read_inode() 169 vi->chunkformat = le16_to_cpu(iu.c.format); in erofs_read_inode()
|
/linux-6.12.1/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 200 return &vfc_cmd->v2.iu; in ibmvfc_get_fcp_iu() 202 return &vfc_cmd->v1.iu; in ibmvfc_get_fcp_iu() 223 struct ibmvfc_cmd *vfc_cmd = &evt->iu.cmd; in ibmvfc_trc_start() 224 struct ibmvfc_mad_common *mad = &evt->iu.mad_common; in ibmvfc_trc_start() 225 struct ibmvfc_fcp_cmd_iu *iu = ibmvfc_get_fcp_iu(vhost, vfc_cmd); in ibmvfc_trc_start() local 237 entry->op_code = iu->cdb[0]; in ibmvfc_trc_start() 239 entry->lun = scsilun_to_int(&iu->lun); in ibmvfc_trc_start() 240 entry->tmf_flags = iu->tmf_flags; in ibmvfc_trc_start() 241 entry->u.start.xfer_len = be32_to_cpu(iu->xfer_len); in ibmvfc_trc_start() 261 struct ibmvfc_fcp_cmd_iu *iu = ibmvfc_get_fcp_iu(vhost, vfc_cmd); in ibmvfc_trc_end() local [all …]
|
D | ibmvscsi.c | 797 unmap_cmd_data(&evt->iu.srp.cmd, evt, in purge_requests() 802 evt->iu.srp.login_req.opcode != SRP_LOGIN_REQ) in purge_requests() 852 evt_struct->iu.srp.cmd.opcode); in ibmvscsi_timeout() 900 evt_struct->iu.srp.login_req.opcode != SRP_LOGIN_REQ) in ibmvscsi_send_srp_event() 907 evt_struct->iu.srp.cmd.opcode != SRP_TSK_MGMT) { in ibmvscsi_send_srp_event() 928 *evt_struct->xfer_iu = evt_struct->iu; in ibmvscsi_send_srp_event() 968 unmap_cmd_data(&evt_struct->iu.srp.cmd, evt_struct, hostdata->dev); in ibmvscsi_send_srp_event() 976 unmap_cmd_data(&evt_struct->iu.srp.cmd, evt_struct, hostdata->dev); in ibmvscsi_send_srp_event() 1012 unmap_cmd_data(&evt_struct->iu.srp.cmd, in handle_cmd_rsp() 1058 BUILD_BUG_ON(sizeof(evt_struct->iu.srp) != SRP_MAX_IU_LEN); in ibmvscsi_queuecommand_lck() [all …]
|
D | ibmvscsi.h | 59 union viosrp_iu iu; member
|
D | ibmvfc.h | 499 struct ibmvfc_fcp_cmd_iu iu; member 504 struct ibmvfc_fcp_cmd_iu iu; member 541 struct ibmvfc_passthru_iu iu; member 762 union ibmvfc_iu iu; member
|
/linux-6.12.1/drivers/usb/gadget/function/ |
D | f_tcm.c | 546 struct sense_iu *iu = &cmd->sense_iu; in uasp_prepare_status() local 550 iu->iu_id = IU_ID_STATUS; in uasp_prepare_status() 551 iu->tag = cpu_to_be16(cmd->tag); in uasp_prepare_status() 556 iu->len = cpu_to_be16(se_cmd->scsi_sense_length); 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() 620 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_status_response() local 622 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_status_response() 634 struct sense_iu *iu = &cmd->sense_iu; in uasp_send_read_response() local 639 iu->tag = cpu_to_be16(cmd->tag); in uasp_send_read_response() [all …]
|
/linux-6.12.1/include/scsi/ |
D | scsi_transport_spi.h | 25 unsigned int iu:1; /* Information Units enabled */ member 68 #define spi_iu(x) (((struct spi_transport_attrs *)&(x)->starget_data)->iu)
|
/linux-6.12.1/drivers/scsi/mvsas/ |
D | mv_sas.c | 1467 static void mvs_fill_ssp_resp_iu(struct ssp_response_iu *iu, in mvs_fill_ssp_resp_iu() argument 1470 iu->datapres = SAS_DATAPRES_SENSE_DATA; in mvs_fill_ssp_resp_iu() 1471 iu->response_data_len = 0; in mvs_fill_ssp_resp_iu() 1472 iu->sense_data_len = 17; in mvs_fill_ssp_resp_iu() 1473 iu->status = 02; in mvs_fill_ssp_resp_iu() 1474 mvs_set_sense(iu->sense_data, 17, 0, in mvs_fill_ssp_resp_iu() 1499 struct ssp_response_iu *iu = slot->response + in mvs_slot_err() local 1501 mvs_fill_ssp_resp_iu(iu, NOT_READY, 0x04, 01); in mvs_slot_err() 1502 sas_ssp_task_response(mvi->dev, task, iu); in mvs_slot_err() 1602 struct ssp_response_iu *iu = slot->response + in mvs_slot_complete() local [all …]
|
/linux-6.12.1/include/linux/usb/ |
D | uas.h | 9 struct iu { struct
|
/linux-6.12.1/drivers/scsi/ |
D | scsi_transport_spi.c | 380 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() 1169 tp->iu ? " IU" : "", in spi_display_xfer_agreement() 1497 return TARGET_ATTRIBUTE_HELPER(iu); in target_attribute_is_visible() 1500 return TARGET_ATTRIBUTE_HELPER(iu); in target_attribute_is_visible()
|
/linux-6.12.1/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 971 tp->tgoal.iu = tp->tgoal.dt = in sym_exec_user_command() 977 tp->tgoal.iu = tp->tgoal.dt = in sym_exec_user_command() 985 tp->tgoal.iu = tp->tgoal.dt = in sym_exec_user_command() 1967 tp->tgoal.iu = tp->tgoal.dt = tp->tgoal.qas = 0; in sym2_set_width() 1983 tp->tgoal.iu = tp->tgoal.dt = tp->tgoal.qas = 0; in sym2_set_dt() 1988 static void sym2_set_iu(struct scsi_target *starget, int iu) 1994 if (iu) 1995 tp->tgoal.iu = tp->tgoal.dt = 1; 1997 tp->tgoal.iu = 0;
|
/linux-6.12.1/drivers/s390/scsi/ |
D | zfcp_fsf.h | 346 struct fcp_cmnd iu; member 350 struct fcp_resp_with_ext iu; member
|
/linux-6.12.1/drivers/scsi/elx/libefc/ |
D | efc_node.c | 969 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-6.12.1/Documentation/filesystems/ |
D | ramfs-rootfs-initramfs.rst | 293 http://www.uwsg.iu.edu/hypermail/linux/kernel/0112.2/1538.html 297 http://www.uwsg.iu.edu/hypermail/linux/kernel/0112.2/1587.html 334 http://www.uwsg.iu.edu/hypermail/linux/kernel/0112.2/1540.html 338 - http://www.uwsg.iu.edu/hypermail/linux/kernel/0112.2/1550.html 339 - http://www.uwsg.iu.edu/hypermail/linux/kernel/0112.2/1638.html
|