Home
last modified time | relevance | path

Searched refs:srp_direct_buf (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.c161 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 …]
Dlibsrp.h111 struct srp_direct_buf *, int,
Dibmvscsi_tgt.c3204 int nsg, struct srp_direct_buf *md, int nmd, in ibmvscsis_rdma()
/Linux-v5.4/drivers/scsi/ibmvscsi/
Dibmvfc.h140 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;
Dibmvscsi.h64 struct srp_direct_buf *ext_list;
Dibmvscsi.c494 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()
Dibmvfc.c1298 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/
Dsrp.h97 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/
Dib_srp.h135 struct srp_direct_buf *indirect_desc;
340 struct srp_direct_buf *desc;
Dib_srp.c1369 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/
Dib_srpt.h130 128 * sizeof(struct srp_direct_buf)/*16*/,
Dib_srpt.c889 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()