Lines Matching refs:tot_pages
534 int tot_pages = 0;
544 tot_pages += nr_pages;
548 * so tot_pages cannot overflow without first going negative.
550 if (tot_pages < 0)
554 return tot_pages;
562 int tot_pages = 0;
594 tot_pages += nr_pages;
598 * so tot_pages cannot overflow without first going negative.
600 if (tot_pages < 0)
604 return tot_pages * sizeof(struct scatterlist);