Lines Matching defs:sg_tmp
1144 struct scatterlist *sg_tmp = sg;
1152 while (nbytes > 0 && sg_tmp) {
1154 if (skip >= sg_tmp->length) {
1155 skip -= sg_tmp->length;
1156 if (!sg_tmp->length) {
1161 if (!IS_ALIGNED(sg_tmp->length - skip, BUFLEN)) {
1166 if (nbytes < sg_tmp->length - skip) {
1171 nbytes -= sg_tmp->length - skip;
1175 sg_tmp = sg_next(sg_tmp);