Searched refs:srp_direct_buf (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/drivers/scsi/ibmvscsi_tgt/ |
D | libsrp.c | 161 static int srp_direct_data(struct ibmvscsis_cmd *cmd, struct srp_direct_buf *md, in srp_direct_data() 198 struct srp_direct_buf *md = NULL; in srp_indirect_data() 209 nmd = be32_to_cpu(id->table_desc.len) / sizeof(struct srp_direct_buf); in srp_indirect_data() 278 size = sizeof(struct srp_direct_buf); in data_out_desc_size() 282 sizeof(struct srp_direct_buf) * cmd->data_out_desc_cnt; in data_out_desc_size() 298 struct srp_direct_buf *md; in srp_transfer_data() 322 md = (struct srp_direct_buf *)(srp_cmd->add_data + offset); in srp_transfer_data() 340 struct srp_direct_buf *md; in srp_data_length() 357 md = (struct srp_direct_buf *)(cmd->add_data + offset); in srp_data_length() 375 struct srp_direct_buf *db; in srp_get_desc_table() [all …]
|
D | libsrp.h | 111 struct srp_direct_buf *, int,
|
D | ibmvscsi_tgt.c | 3204 int nsg, struct srp_direct_buf *md, int nmd, in ibmvscsis_rdma()
|
/Linux-v5.4/drivers/scsi/ibmvscsi/ |
D | ibmvfc.h | 140 struct srp_direct_buf buffer; 166 struct srp_direct_buf async; 234 struct srp_direct_buf buffer; 440 struct srp_direct_buf ext_func; 441 struct srp_direct_buf ioba; 442 struct srp_direct_buf resp; 470 struct srp_direct_buf cmd; 471 struct srp_direct_buf rsp; 480 struct srp_direct_buf cmd_ioba; 636 struct srp_direct_buf *ext_list;
|
D | ibmvscsi.h | 64 struct srp_direct_buf *ext_list;
|
D | ibmvscsi.c | 494 SG_ALL * sizeof(struct srp_direct_buf), in release_event_pool() 653 struct srp_direct_buf *md) in map_sg_list() 660 struct srp_direct_buf *descr = md + i; in map_sg_list() 685 struct srp_direct_buf *data = in map_sg_data() 686 (struct srp_direct_buf *) srp_cmd->add_data; in map_sg_data() 706 sizeof(struct srp_direct_buf)); in map_sg_data() 718 evt_struct->ext_list = (struct srp_direct_buf *) in map_sg_data() 720 SG_ALL * sizeof(struct srp_direct_buf), in map_sg_data() 739 MAX_INDIRECT_BUFS * sizeof(struct srp_direct_buf)); in map_sg_data()
|
D | ibmvfc.c | 1298 struct srp_direct_buf *md) in ibmvfc_map_sg_list() 1326 struct srp_direct_buf *data = &vfc_cmd->ioba; in ibmvfc_map_sg_data() 1372 data->len = cpu_to_be32(sg_mapped * sizeof(struct srp_direct_buf)); in ibmvfc_map_sg_data() 4622 SG_ALL * sizeof(struct srp_direct_buf), in ibmvfc_alloc_mem() 4623 sizeof(struct srp_direct_buf), 0); in ibmvfc_alloc_mem()
|
/Linux-v5.4/include/scsi/ |
D | srp.h | 97 struct srp_direct_buf { struct 110 struct srp_direct_buf table_desc; 112 struct srp_direct_buf desc_list[0];
|
/Linux-v5.4/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 135 struct srp_direct_buf *indirect_desc; 340 struct srp_direct_buf *desc;
|
D | ib_srp.c | 1369 cmd_sg_cnt * sizeof(struct srp_direct_buf); in srp_max_it_iu_len() 1452 struct srp_direct_buf *desc = state->desc; in srp_map_desc() 1725 struct srp_direct_buf idb_desc; in srp_map_idb() 1864 sizeof(struct srp_direct_buf); in srp_map_data() 1873 struct srp_direct_buf *buf; in srp_map_data() 1923 struct srp_direct_buf *buf; in srp_map_data() 1939 table_len = state.ndesc * sizeof (struct srp_direct_buf); in srp_map_data() 1945 len += count * sizeof (struct srp_direct_buf); in srp_map_data() 1948 count * sizeof (struct srp_direct_buf)); in srp_map_data() 3889 sizeof (struct srp_direct_buf); in srp_create_target()
|
/Linux-v5.4/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.h | 130 128 * sizeof(struct srp_direct_buf)/*16*/,
|
D | ib_srpt.c | 889 struct srp_direct_buf *db, int nbufs, struct scatterlist **sg, in srpt_alloc_rw_ctxs() 1039 struct srp_direct_buf *db = srpt_get_desc_buf(srp_cmd); in srpt_get_desc_tbl() 1047 sizeof(struct srp_direct_buf); in srpt_get_desc_tbl() 1055 sizeof(struct srp_direct_buf)); in srpt_get_desc_tbl()
|