Searched refs:tot_pages (Results 1 – 2 of 2) sorted by relevance
487 int tot_pages = 0; in rds_rdma_pages() local497 tot_pages += nr_pages; in rds_rdma_pages()503 if (tot_pages < 0) in rds_rdma_pages()507 return tot_pages; in rds_rdma_pages()514 int tot_pages = 0; in rds_rdma_extra_size() local530 tot_pages += nr_pages; in rds_rdma_extra_size()536 if (tot_pages < 0) in rds_rdma_extra_size()540 return tot_pages * sizeof(struct scatterlist); in rds_rdma_extra_size()
1655 u64 npages, tot_pages; in echo_client_prep_commit() local1663 tot_pages = count >> PAGE_CACHE_SHIFT; in echo_client_prep_commit()1680 for (; tot_pages; tot_pages -= npages) { in echo_client_prep_commit()1683 if (tot_pages < npages) in echo_client_prep_commit()1684 npages = tot_pages; in echo_client_prep_commit()