Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/block/rnbd/
Drnbd-clt.c322 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.1.9/drivers/scsi/libsas/
Dsas_task.c12 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.1.9/drivers/infiniband/ulp/rtrs/
Drtrs.c26 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()
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
[all …]
Drtrs-clt.c472 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 …]
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,
Drtrs-srv.c290 msg = srv_mr->iu->buf; in rdma_write_sg()
295 list.addr = srv_mr->iu->dma_addr; in rdma_write_sg()
302 srv_mr->iu->dma_addr, in rdma_write_sg()
303 srv_mr->iu->size, DMA_TO_DEVICE); in rdma_write_sg()
411 msg = srv_mr->iu->buf; in send_io_resp_imm()
416 list.addr = srv_mr->iu->dma_addr; in send_io_resp_imm()
423 srv_mr->iu->dma_addr, in send_io_resp_imm()
424 srv_mr->iu->size, DMA_TO_DEVICE); in send_io_resp_imm()
551 rtrs_iu_free(srv_mr->iu, srv_path->s.dev->ib_dev, 1); in unmap_cont_bufs()
631 srv_mr->iu = rtrs_iu_alloc(1, in map_cont_bufs()
[all …]
Drtrs-srv.h72 struct rtrs_iu *iu; /* send buffer for new rkey msg */ member
Drtrs-clt.h96 struct rtrs_iu *iu; member
/linux-6.1.9/drivers/infiniband/ulp/srp/
Dib_srp.c230 struct srp_iu *iu; in srp_alloc_iu() local
232 iu = kmalloc(sizeof *iu, gfp_mask); in srp_alloc_iu()
233 if (!iu) in srp_alloc_iu()
236 iu->buf = kzalloc(size, gfp_mask); in srp_alloc_iu()
237 if (!iu->buf) in srp_alloc_iu()
240 iu->dma = ib_dma_map_single(host->srp_dev->dev, iu->buf, size, in srp_alloc_iu()
242 if (ib_dma_mapping_error(host->srp_dev->dev, iu->dma)) in srp_alloc_iu()
245 iu->size = size; in srp_alloc_iu()
246 iu->direction = direction; in srp_alloc_iu()
248 return iu; in srp_alloc_iu()
[all …]
/linux-6.1.9/drivers/usb/storage/
Duas.c299 struct iu *iu = urb->transfer_buffer; in uas_stat_cmplt() local
322 idx = be16_to_cpup(&iu->tag) - 1; in uas_stat_cmplt()
337 switch (iu->iu_id) { in uas_stat_cmplt()
366 success = uas_evaluate_response_iu((struct response_iu *)iu, cmnd); in uas_stat_cmplt()
375 uas_log_cmd_state(cmnd, "bogus IU", iu->iu_id); in uas_stat_cmplt()
471 struct sense_iu *iu; in uas_alloc_sense_urb() local
476 iu = kzalloc(sizeof(*iu), gfp); in uas_alloc_sense_urb()
477 if (!iu) in uas_alloc_sense_urb()
480 usb_fill_bulk_urb(urb, udev, devinfo->status_pipe, iu, sizeof(*iu), in uas_alloc_sense_urb()
499 struct command_iu *iu; in uas_alloc_cmd_urb() local
[all …]
/linux-6.1.9/sound/usb/usx2y/
Dusb_stream.c344 static void prepare_inurb(int number_of_packets, struct urb *iu) in prepare_inurb() argument
349 iu->number_of_packets = number_of_packets; in prepare_inurb()
350 id = iu->iso_frame_desc; in prepare_inurb()
352 for (p = 0; p < iu->number_of_packets - 1; ++p) 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()
406 for (; p < iu->number_of_packets && l < s->period_size; ++p) { in loop_back()
[all …]
/linux-6.1.9/drivers/scsi/ibmvscsi/
Dibmvfc.c193 return &vfc_cmd->v2.iu; in ibmvfc_get_fcp_iu()
195 return &vfc_cmd->v1.iu; in ibmvfc_get_fcp_iu()
216 struct ibmvfc_cmd *vfc_cmd = &evt->iu.cmd; in ibmvfc_trc_start()
217 struct ibmvfc_mad_common *mad = &evt->iu.mad_common; in ibmvfc_trc_start()
218 struct ibmvfc_fcp_cmd_iu *iu = ibmvfc_get_fcp_iu(vhost, vfc_cmd); in ibmvfc_trc_start() local
230 entry->op_code = iu->cdb[0]; in ibmvfc_trc_start()
232 entry->lun = scsilun_to_int(&iu->lun); in ibmvfc_trc_start()
233 entry->tmf_flags = iu->tmf_flags; in ibmvfc_trc_start()
234 entry->u.start.xfer_len = be32_to_cpu(iu->xfer_len); in ibmvfc_trc_start()
254 struct ibmvfc_fcp_cmd_iu *iu = ibmvfc_get_fcp_iu(vhost, vfc_cmd); in ibmvfc_trc_end() local
[all …]
Dibmvscsi.c797 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 …]
Dibmvscsi.h59 union viosrp_iu iu; member
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
/linux-6.1.9/drivers/usb/gadget/function/
Df_tcm.c546 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.1.9/include/scsi/
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-6.1.9/drivers/scsi/sym53c8xx_2/
Dsym_glue.c918 tp->tgoal.iu = tp->tgoal.dt = in sym_exec_user_command()
924 tp->tgoal.iu = tp->tgoal.dt = in sym_exec_user_command()
932 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-6.1.9/include/linux/usb/
Duas.h9 struct iu { struct
/linux-6.1.9/drivers/scsi/mvsas/
Dmv_sas.c1477 static void mvs_fill_ssp_resp_iu(struct ssp_response_iu *iu, in mvs_fill_ssp_resp_iu() argument
1480 iu->datapres = SAS_DATAPRES_SENSE_DATA; in mvs_fill_ssp_resp_iu()
1481 iu->response_data_len = 0; in mvs_fill_ssp_resp_iu()
1482 iu->sense_data_len = 17; in mvs_fill_ssp_resp_iu()
1483 iu->status = 02; in mvs_fill_ssp_resp_iu()
1484 mvs_set_sense(iu->sense_data, 17, 0, in mvs_fill_ssp_resp_iu()
1509 struct ssp_response_iu *iu = slot->response + in mvs_slot_err() local
1511 mvs_fill_ssp_resp_iu(iu, NOT_READY, 0x04, 01); in mvs_slot_err()
1512 sas_ssp_task_response(mvi->dev, task, iu); in mvs_slot_err()
1612 struct ssp_response_iu *iu = slot->response + in mvs_slot_complete() local
[all …]
/linux-6.1.9/drivers/scsi/
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()
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.1.9/drivers/s390/scsi/
Dzfcp_fsf.h346 struct fcp_cmnd iu; member
350 struct fcp_resp_with_ext iu; member
/linux-6.1.9/drivers/scsi/elx/libefc/
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-6.1.9/Documentation/filesystems/
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
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c523 unsigned long iu; in kvmppc_unmap_free_pud() local
526 for (iu = 0; iu < PTRS_PER_PUD; ++iu, ++p) { in kvmppc_unmap_free_pud()

12