Home
last modified time | relevance | path

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

/linux-6.1.9/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.c3189 int nsg, struct srp_direct_buf *md, int nmd, in ibmvscsis_rdma()
/linux-6.1.9/drivers/scsi/ibmvscsi/
Dibmvfc.h151 struct srp_direct_buf buffer;
181 struct srp_direct_buf async;
255 struct srp_direct_buf buffer;
486 struct srp_direct_buf ext_func;
487 struct srp_direct_buf ioba;
488 struct srp_direct_buf resp;
526 struct srp_direct_buf cmd;
527 struct srp_direct_buf rsp;
537 struct srp_direct_buf cmd_ioba;
556 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()
654 struct srp_direct_buf *md) in map_sg_list()
661 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()
721 SG_ALL * sizeof(struct srp_direct_buf), in map_sg_data()
740 MAX_INDIRECT_BUFS * sizeof(struct srp_direct_buf)); in map_sg_data()
Dibmvfc.c1577 struct srp_direct_buf *md) in ibmvfc_map_sg_list()
1605 struct srp_direct_buf *data = &vfc_cmd->ioba; in ibmvfc_map_sg_data()
1652 data->len = cpu_to_be32(sg_mapped * sizeof(struct srp_direct_buf)); in ibmvfc_map_sg_data()
5979 SG_ALL * sizeof(struct srp_direct_buf), in ibmvfc_alloc_mem()
5980 sizeof(struct srp_direct_buf), 0); in ibmvfc_alloc_mem()
/linux-6.1.9/include/scsi/
Dsrp.h97 struct srp_direct_buf { struct
110 struct srp_direct_buf table_desc __packed __aligned(4);
112 struct srp_direct_buf desc_list[] __packed __aligned(4);
/linux-6.1.9/drivers/infiniband/ulp/srp/
Dib_srp.h137 struct srp_direct_buf *indirect_desc;
337 struct srp_direct_buf *desc;
Dib_srp.c1313 cmd_sg_cnt * sizeof(struct srp_direct_buf); in srp_max_it_iu_len()
1401 struct srp_direct_buf *desc = state->desc; in srp_map_desc()
1562 struct srp_direct_buf idb_desc; in srp_map_idb()
1689 sizeof(struct srp_direct_buf); in srp_map_data()
1698 struct srp_direct_buf *buf; in srp_map_data()
1746 struct srp_direct_buf *buf; in srp_map_data()
1762 table_len = state.ndesc * sizeof (struct srp_direct_buf); in srp_map_data()
1768 len += count * sizeof (struct srp_direct_buf); in srp_map_data()
1771 count * sizeof (struct srp_direct_buf)); in srp_map_data()
3817 sizeof (struct srp_direct_buf); in add_target_store()
/linux-6.1.9/drivers/infiniband/ulp/srpt/
Dib_srpt.h125 128 * sizeof(struct srp_direct_buf)/*16*/,
Dib_srpt.c887 struct srp_direct_buf *db, int nbufs, struct scatterlist **sg, in srpt_alloc_rw_ctxs()
1037 struct srp_direct_buf *db = srpt_get_desc_buf(srp_cmd); in srpt_get_desc_tbl()
1045 sizeof(struct srp_direct_buf); in srpt_get_desc_tbl()
1053 sizeof(struct srp_direct_buf)); in srpt_get_desc_tbl()