Home
last modified time | relevance | path

Searched refs:sg_mapped (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/scsi/
Dlibiscsi_tcp.c117 BUG_ON(segment->sg_mapped); in iscsi_tcp_segment_map()
136 segment->sg_mapped = kmap_atomic(sg_page(sg)); in iscsi_tcp_segment_map()
140 segment->sg_mapped = kmap(sg_page(sg)); in iscsi_tcp_segment_map()
143 segment->data = segment->sg_mapped + sg->offset + segment->sg_offset; in iscsi_tcp_segment_map()
148 if (segment->sg_mapped) { in iscsi_tcp_segment_unmap()
150 kunmap_atomic(segment->sg_mapped); in iscsi_tcp_segment_unmap()
153 segment->sg_mapped = NULL; in iscsi_tcp_segment_unmap()
/linux-5.19.10/drivers/scsi/ibmvscsi/
Dibmvscsi.c685 int sg_mapped; in map_sg_data() local
692 sg_mapped = scsi_dma_map(cmd); in map_sg_data()
693 if (!sg_mapped) in map_sg_data()
695 else if (sg_mapped < 0) in map_sg_data()
698 set_srp_direction(cmd, srp_cmd, sg_mapped); in map_sg_data()
701 if (sg_mapped == 1) { in map_sg_data()
702 map_sg_list(cmd, sg_mapped, data); in map_sg_data()
707 indirect->table_desc.len = cpu_to_be32(sg_mapped * in map_sg_data()
711 if (sg_mapped <= MAX_INDIRECT_BUFS) { in map_sg_data()
712 total_length = map_sg_list(cmd, sg_mapped, in map_sg_data()
[all …]
Dibmvfc.c1599 int sg_mapped; in ibmvfc_map_sg_data() local
1607 sg_mapped = scsi_dma_map(scmd); in ibmvfc_map_sg_data()
1608 if (!sg_mapped) { in ibmvfc_map_sg_data()
1611 } else if (unlikely(sg_mapped < 0)) { in ibmvfc_map_sg_data()
1614 return sg_mapped; in ibmvfc_map_sg_data()
1625 if (sg_mapped == 1) { in ibmvfc_map_sg_data()
1626 ibmvfc_map_sg_list(scmd, sg_mapped, data); in ibmvfc_map_sg_data()
1644 ibmvfc_map_sg_list(scmd, sg_mapped, evt->ext_list); in ibmvfc_map_sg_data()
1647 data->len = cpu_to_be32(sg_mapped * sizeof(struct srp_direct_buf)); in ibmvfc_map_sg_data()
/linux-5.19.10/include/scsi/
Dlibiscsi_tcp.h37 void *sg_mapped; member
/linux-5.19.10/drivers/scsi/qla2xxx/
Dqla_target.h885 unsigned int sg_mapped:1; member
Dqla_target.c2447 prm->cmd->sg_mapped = 1; in qlt_pci_map_calc_cnt()
2500 if (!cmd->sg_mapped) in qlt_unmap_sg()
2507 cmd->sg_mapped = 0; in qlt_unmap_sg()
3753 if (cmd->sg_mapped) in qlt_send_term_exchange()
3825 if (cmd->sg_mapped) in qlt_abort_cmd()
3863 BUG_ON(cmd->sg_mapped); in qlt_free_cmd()