mx_sc_elems 1874 drivers/scsi/sg.c int ret_sz = 0, i, k, rem_sz, num, mx_sc_elems; mx_sc_elems 1891 drivers/scsi/sg.c mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); mx_sc_elems 1892 drivers/scsi/sg.c if (mx_sc_elems < 0) mx_sc_elems 1893 drivers/scsi/sg.c return mx_sc_elems; /* most likely -ENOMEM */ mx_sc_elems 1911 drivers/scsi/sg.c for (k = 0, rem_sz = blk_size; rem_sz > 0 && k < mx_sc_elems;