Lines Matching defs:sg_tmp
1147 struct scatterlist *sg_tmp = sg;
1155 while (nbytes > 0 && sg_tmp) {
1157 if (skip >= sg_tmp->length) {
1158 skip -= sg_tmp->length;
1159 if (!sg_tmp->length) {
1164 if (!IS_ALIGNED(sg_tmp->length - skip, BUFLEN)) {
1169 if (nbytes < sg_tmp->length - skip) {
1174 nbytes -= sg_tmp->length - skip;
1178 sg_tmp = sg_next(sg_tmp);