Home
last modified time | relevance | path

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

/Linux-v5.10/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.c3200 int nsg, struct srp_direct_buf *md, int nmd, in ibmvscsis_rdma()
/Linux-v5.10/drivers/scsi/ibmvscsi/
Dibmvfc.h144 struct srp_direct_buf buffer;
172 struct srp_direct_buf async;
244 struct srp_direct_buf buffer;
471 struct srp_direct_buf ext_func;
472 struct srp_direct_buf ioba;
473 struct srp_direct_buf resp;
501 struct srp_direct_buf cmd;
502 struct srp_direct_buf rsp;
511 struct srp_direct_buf cmd_ioba;
530 struct srp_direct_buf buffer;
[all …]
Dibmvscsi.h64 struct srp_direct_buf *ext_list;
Dibmvscsi.c496 SG_ALL * sizeof(struct srp_direct_buf), in release_event_pool()
655 struct srp_direct_buf *md) in map_sg_list()
662 struct srp_direct_buf *descr = md + i; in map_sg_list()
687 struct srp_direct_buf *data = in map_sg_data()
688 (struct srp_direct_buf *) srp_cmd->add_data; in map_sg_data()
708 sizeof(struct srp_direct_buf)); in map_sg_data()
720 evt_struct->ext_list = (struct srp_direct_buf *) in map_sg_data()
722 SG_ALL * sizeof(struct srp_direct_buf), in map_sg_data()
741 MAX_INDIRECT_BUFS * sizeof(struct srp_direct_buf)); in map_sg_data()
Dibmvfc.c1351 struct srp_direct_buf *md) in ibmvfc_map_sg_list()
1379 struct srp_direct_buf *data = &vfc_cmd->ioba; in ibmvfc_map_sg_data()
1425 data->len = cpu_to_be32(sg_mapped * sizeof(struct srp_direct_buf)); in ibmvfc_map_sg_data()
4962 SG_ALL * sizeof(struct srp_direct_buf), in ibmvfc_alloc_mem()
4963 sizeof(struct srp_direct_buf), 0); in ibmvfc_alloc_mem()
/Linux-v5.10/include/scsi/
Dsrp.h97 struct srp_direct_buf { struct
110 struct srp_direct_buf table_desc;
112 struct srp_direct_buf desc_list[];
/Linux-v5.10/drivers/infiniband/ulp/srp/
Dib_srp.h127 struct srp_direct_buf *indirect_desc;
329 struct srp_direct_buf *desc;
Dib_srp.c1317 cmd_sg_cnt * sizeof(struct srp_direct_buf); in srp_max_it_iu_len()
1406 struct srp_direct_buf *desc = state->desc; in srp_map_desc()
1567 struct srp_direct_buf idb_desc; in srp_map_idb()
1694 sizeof(struct srp_direct_buf); in srp_map_data()
1703 struct srp_direct_buf *buf; in srp_map_data()
1751 struct srp_direct_buf *buf; in srp_map_data()
1767 table_len = state.ndesc * sizeof (struct srp_direct_buf); in srp_map_data()
1773 len += count * sizeof (struct srp_direct_buf); in srp_map_data()
1776 count * sizeof (struct srp_direct_buf)); in srp_map_data()
3739 sizeof (struct srp_direct_buf); in srp_create_target()
/Linux-v5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.h125 128 * sizeof(struct srp_direct_buf)/*16*/,
Dib_srpt.c890 struct srp_direct_buf *db, int nbufs, struct scatterlist **sg, in srpt_alloc_rw_ctxs()
1040 struct srp_direct_buf *db = srpt_get_desc_buf(srp_cmd); in srpt_get_desc_tbl()
1048 sizeof(struct srp_direct_buf); in srpt_get_desc_tbl()
1056 sizeof(struct srp_direct_buf)); in srpt_get_desc_tbl()