Lines Matching defs:use_sg
64 2.26.02.003 - Correctly handle single sgl's with use_sg=1.
66 2.26.02.005 - Fix use_sg == 0 mapping on systems with 4GB or higher.
149 static int twa_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, char *cdb, int use_sg, TW_SG_Entry *sglistarg);
1420 int use_sg;
1423 use_sg = scsi_dma_map(cmd);
1424 if (!use_sg)
1426 else if (use_sg < 0) {
1432 cmd->SCp.have_data_in = use_sg;
1434 return use_sg;
1816 static int twa_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, char *cdb, int use_sg, TW_SG_Entry *sglistarg)
1891 for (i = 0; i < use_sg; i++) {
1899 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg));