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

/linux-master/include/scsi/
H A Dlibiscsi_tcp.h37 void *sg_mapped; member in struct:iscsi_segment
/linux-master/drivers/scsi/
H A Dlibiscsi_tcp.c117 BUG_ON(segment->sg_mapped);
136 segment->sg_mapped = kmap_atomic(sg_page(sg));
140 segment->sg_mapped = kmap(sg_page(sg));
143 segment->data = segment->sg_mapped + sg->offset + segment->sg_offset;
148 if (segment->sg_mapped) {
150 kunmap_atomic(segment->sg_mapped);
153 segment->sg_mapped = NULL;
/linux-master/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c685 int sg_mapped; local
692 sg_mapped = scsi_dma_map(cmd);
693 if (!sg_mapped)
695 else if (sg_mapped < 0)
698 set_srp_direction(cmd, srp_cmd, sg_mapped);
701 if (sg_mapped == 1) {
702 map_sg_list(cmd, sg_mapped, data);
707 indirect->table_desc.len = cpu_to_be32(sg_mapped *
711 if (sg_mapped <= MAX_INDIRECT_BUFS) {
712 total_length = map_sg_list(cmd, sg_mapped,
[all...]
H A Dibmvfc.c1635 int sg_mapped; local
1643 sg_mapped = scsi_dma_map(scmd);
1644 if (!sg_mapped) {
1647 } else if (unlikely(sg_mapped < 0)) {
1650 return sg_mapped;
1661 if (sg_mapped == 1) {
1662 ibmvfc_map_sg_list(scmd, sg_mapped, data);
1680 ibmvfc_map_sg_list(scmd, sg_mapped, evt->ext_list);
1683 data->len = cpu_to_be32(sg_mapped * sizeof(struct srp_direct_buf));
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_target.h882 unsigned int sg_mapped:1; member in struct:qla_tgt_cmd
H A Dqla_target.c2442 prm->cmd->sg_mapped = 1;
2495 if (!cmd->sg_mapped)
2502 cmd->sg_mapped = 0;
3748 if (cmd->sg_mapped)
3820 if (cmd->sg_mapped)
3858 BUG_ON(cmd->sg_mapped);

Completed in 184 milliseconds