Lines Matching refs:tot_pages
531 int tot_pages = 0;
541 tot_pages += nr_pages;
545 * so tot_pages cannot overflow without first going negative.
547 if (tot_pages < 0)
551 return tot_pages;
559 int tot_pages = 0;
591 tot_pages += nr_pages;
595 * so tot_pages cannot overflow without first going negative.
597 if (tot_pages < 0)
601 return tot_pages * sizeof(struct scatterlist);