Searched refs:tot_pages (Results 1 – 2 of 2) sorted by relevance
486 int tot_pages = 0; in rds_rdma_pages() local496 tot_pages += nr_pages; in rds_rdma_pages()502 if (tot_pages < 0) in rds_rdma_pages()506 return tot_pages; in rds_rdma_pages()513 int tot_pages = 0; in rds_rdma_extra_size() local529 tot_pages += nr_pages; in rds_rdma_extra_size()535 if (tot_pages < 0) in rds_rdma_extra_size()539 return tot_pages * sizeof(struct scatterlist); in rds_rdma_extra_size()
1654 u64 npages, tot_pages; in echo_client_prep_commit() local1662 tot_pages = count >> PAGE_CACHE_SHIFT; in echo_client_prep_commit()1679 for (; tot_pages; tot_pages -= npages) { in echo_client_prep_commit()1682 if (tot_pages < npages) in echo_client_prep_commit()1683 npages = tot_pages; in echo_client_prep_commit()