Searched refs:total_pages (Results 1 - 25 of 26) sorted by relevance

12

/linux-master/include/xen/
H A Dballoon.h18 unsigned long total_pages; member in struct:balloon_stats
/linux-master/arch/um/kernel/
H A Dphysmem.c30 unsigned long iomem_pages, total_pages; local
36 total_pages = phys_pages + iomem_pages + highmem_pages;
38 max_mapnr = total_pages;
/linux-master/arch/parisc/kernel/
H A Dpci-dma.c344 unsigned long total_pages = pcxl_res_size << 3; /* 8 bits per byte */ local
347 PCXL_DMA_MAP_SIZE, total_pages);
356 seq_printf(m, "pages %8ld %8ld %8ld %8ld%%\n", total_pages,
357 total_pages - pcxl_used_pages, pcxl_used_pages,
358 (pcxl_used_pages * 100 / total_pages));
/linux-master/arch/powerpc/platforms/pseries/
H A Dcmm.c237 const long total_pages = totalram_pages() + __loaned_pages; local
255 if (target < 0 || total_pages < min_mem_pages)
263 active_pages_target = total_pages - target;
266 target = total_pages - min_mem_pages;
/linux-master/drivers/xen/
H A Dballoon.c267 - balloon_stats.total_pages;
331 balloon_stats.total_pages += balloon_hotplug;
696 balloon_stats.total_pages += extra_pfn_end - start_pfn;
719 balloon_stats.total_pages = balloon_stats.current_pages;
/linux-master/kernel/dma/
H A Dcontiguous.c144 unsigned long total_pages = PHYS_PFN(memblock_phys_mem_size()); local
146 return (total_pages * CONFIG_CMA_SIZE_PERCENTAGE / 100) << PAGE_SHIFT;
/linux-master/drivers/parisc/
H A Dccio-dma.c1035 unsigned int total_pages = ioc->res_size << 3; local
1047 total_pages * 8, total_pages);
1051 total_pages - ioc->used_pages, ioc->used_pages,
1052 (int)(ioc->used_pages * 100 / total_pages));
1056 ioc->res_size, total_pages);
H A Dsba_iommu.c1791 int total_pages = (int) (ioc->res_size << 3); /* 8 bits per byte */ local
1803 total_pages);
1822 total_pages - ioc->used_pages, ioc->used_pages,
1823 (int)(ioc->used_pages * 100 / total_pages));
/linux-master/tools/mm/
H A Dpage-types.c202 static unsigned long total_pages; variable
448 total_pages, pages2mb(total_pages));
661 total_pages++;
725 total_pages++;
/linux-master/tools/testing/selftests/mm/
H A Dpagemap_ioctl.c238 int mem_size, vec_size, ret, ret2, ret3, i, num_pages = 1000, total_pages = 0; local
462 total_pages += ret;
470 total_pages += ret;
478 total_pages += ret;
480 ksft_test_result(total_pages == mem_size/(page_size*2), "%s Smaller max_pages\n", __func__);
485 total_pages = 0;
/linux-master/drivers/md/
H A Draid5-cache.c1626 int total_pages; /* total allocated pages */ member in struct:r5l_recovery_ctx
1636 ctx->total_pages = 0;
1637 while (ctx->total_pages < R5L_RECOVERY_PAGE_POOL_SIZE) {
1642 ctx->ra_pool[ctx->total_pages] = page;
1643 ctx->total_pages += 1;
1646 if (ctx->total_pages == 0)
1658 for (i = 0; i < ctx->total_pages; ++i)
1664 * In normal cases, ctx->valid_pages == ctx->total_pages after the call.
1666 * ctx->valid_pages could be smaller than ctx->total_pages
1682 while (ctx->valid_pages < ctx->total_pages) {
[all...]
/linux-master/drivers/edac/
H A Dedac_mc_sysfs.c824 int total_pages = 0, csrow_idx, j; local
832 total_pages += dimm->nr_pages;
836 return sprintf(data, "%u\n", PAGES_TO_MiB(total_pages));
/linux-master/kernel/
H A Dkexec_core.c112 unsigned long total_pages = 0; local
182 total_pages += PAGE_COUNT(image->segment[i].memsz);
185 if (total_pages > nr_pages / 2)
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c1177 u32 wqebbs, total_pages, useful_space; local
1243 total_pages = DIV_ROUND_UP(wqebbs * MLX5_SEND_WQE_BB, useful_space);
1244 wqebbs = total_pages * (PAGE_SIZE / MLX5_SEND_WQE_BB);
/linux-master/drivers/md/dm-vdo/
H A Dencodings.c446 block_count_t total_pages = 0; local
457 total_pages += (new_pages * root_count);
460 return total_pages;
/linux-master/drivers/scsi/
H A Dmvumi.h420 u8 total_pages; member in struct:mvumi_hs_page1
/linux-master/mm/
H A Dzsmalloc.c540 unsigned long total_objs = 0, total_used_objs = 0, total_pages = 0; local
580 total_pages += pages_used;
591 total_objs, total_used_objs, total_pages, "",
H A Dmempolicy.c3092 unsigned long total_pages = node_present_pages(nid); local
3095 if (largest < total_pages) {
3096 largest = total_pages;
3101 if ((total_pages << PAGE_SHIFT) >= (16 << 20))
H A Dpage_alloc.c5422 unsigned long total_pages; local
5430 total_pages = low_wmark_pages(zone);
5437 total_pages = zone_managed_pages(zone) / high_fraction;
5451 high = total_pages / nr_split_cpus;
H A Dfilemap.c290 long total_pages = 0; local
322 total_pages += folio_nr_pages(folio);
324 mapping->nrpages -= total_pages;
/linux-master/fs/proc/
H A Dtask_mmu.c2068 unsigned long n_pages, total_pages; local
2077 if (check_add_overflow(p->found_pages, n_pages, &total_pages) ||
2078 total_pages > p->arg.max_pages) {
2079 size_t n_too_much = total_pages - p->arg.max_pages;
/linux-master/fs/ceph/
H A Daddr.c829 int num_pages, total_pages = 0; local
872 total_pages += num_pages;
908 ceph_put_wrbuffer_cap_refs(ci, total_pages, snapc);
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c139 int total_pages = DIV_ROUND_UP(size, PAGE_SIZE); local
148 for (npage = 0; npage < total_pages; npage++) {
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c824 * total_pages is constructed as MQD0+CtrlStack0 + MQD1+CtrlStack1 + ...
834 uint64_t total_pages = ttm->num_pages; local
841 pages_per_xcc = total_pages;
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c2730 int total_pages; local
2739 total_pages = !tot ? 1 : roundup_pow_of_two(tot);
2741 return total_pages;

Completed in 836 milliseconds

12