Lines Matching refs:sg_mapped
685 int sg_mapped;
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,
733 total_length = map_sg_list(cmd, sg_mapped, evt_struct->ext_list);
737 indirect->table_desc.len = cpu_to_be32(sg_mapped *