Home
last modified time | relevance | path

Searched refs:j (Results 1 – 11 of 11) sorted by relevance

/mm/
Dtruncate.c63 int i, j; in truncate_exceptional_pvec_entries() local
70 for (j = 0; j < pagevec_count(pvec); j++) in truncate_exceptional_pvec_entries()
71 if (xa_is_value(pvec->pages[j])) in truncate_exceptional_pvec_entries()
74 if (j == pagevec_count(pvec)) in truncate_exceptional_pvec_entries()
78 lock = !dax && indices[j] < end; in truncate_exceptional_pvec_entries()
82 for (i = j; i < pagevec_count(pvec); i++) { in truncate_exceptional_pvec_entries()
87 pvec->pages[j++] = page; in truncate_exceptional_pvec_entries()
104 pvec->nr = j; in truncate_exceptional_pvec_entries()
Dshuffle.c116 unsigned long j; in __shuffle_zone() local
137 j = z->zone_start_pfn + in __shuffle_zone()
140 page_j = shuffle_valid_page(j, order); in __shuffle_zone()
162 pr_debug("%s: swap: %#lx -> %#lx\n", __func__, i, j); in __shuffle_zone()
Dpage_alloc.c1705 u64 j; in deferred_init_mem_pfn_range_in_zone() local
1712 for_each_free_mem_pfn_range_in_zone(j, zone, spfn, epfn) { in deferred_init_mem_pfn_range_in_zone()
1717 *i = j; in deferred_init_mem_pfn_range_in_zone()
1741 u64 j = *i; in deferred_init_maxorder() local
1744 for_each_free_mem_pfn_range_in_zone_from(j, zone, start_pfn, end_pfn) { in deferred_init_maxorder()
1760 swap(j, *i); in deferred_init_maxorder()
1762 for_each_free_mem_pfn_range_in_zone_from(j, zone, &spfn, &epfn) { in deferred_init_maxorder()
6766 enum zone_type j; in free_area_init_core() local
6772 for (j = 0; j < MAX_NR_ZONES; j++) { in free_area_init_core()
6773 struct zone *zone = pgdat->node_zones + j; in free_area_init_core()
[all …]
Dcma.c116 unsigned j; in cma_activate_area() local
119 for (j = pageblock_nr_pages; j; --j, pfn++) { in cma_activate_area()
Dswap_state.c73 unsigned int i, j, nr; in total_swapcache_pages() local
90 for (j = 0; j < nr; j++) in total_swapcache_pages()
91 ret += spaces[j].nrpages; in total_swapcache_pages()
Dswap.c1011 int i, j; in pagevec_remove_exceptionals() local
1013 for (i = 0, j = 0; i < pagevec_count(pvec); i++) { in pagevec_remove_exceptionals()
1016 pvec->pages[j++] = page; in pagevec_remove_exceptionals()
1018 pvec->nr = j; in pagevec_remove_exceptionals()
Dpercpu.c2838 int unit, i, j, rc = 0; in pcpu_page_first_chunk() local
2866 j = 0; in pcpu_page_first_chunk()
2880 pages[j++] = virt_to_page(ptr); in pcpu_page_first_chunk()
2923 while (--j >= 0) in pcpu_page_first_chunk()
2924 free_fn(page_address(pages[j]), PAGE_SIZE); in pcpu_page_first_chunk()
Dmmap.c331 int i = 0, j, bug = 0; in browse_rb() local
366 j = 0; in browse_rb()
368 j++; in browse_rb()
369 if (i != j) { in browse_rb()
370 pr_emerg("backwards %d, forwards %d\n", j, i); in browse_rb()
Dslub.c3180 int j; in kmem_cache_alloc_bulk() local
3182 for (j = 0; j < i; j++) in kmem_cache_alloc_bulk()
3183 memset(p[j], 0, s->object_size); in kmem_cache_alloc_bulk()
Dmemcontrol.c4152 int i, j, size; in __mem_cgroup_usage_unregister_event() local
4191 for (i = 0, j = 0; i < thresholds->primary->size; i++) { in __mem_cgroup_usage_unregister_event()
4195 new->entries[j] = thresholds->primary->entries[i]; in __mem_cgroup_usage_unregister_event()
4196 if (new->entries[j].threshold <= usage) { in __mem_cgroup_usage_unregister_event()
4204 j++; in __mem_cgroup_usage_unregister_event()
Dswapfile.c3014 unsigned int j, k; in setup_swap_map_and_extents() local
3073 j = (k + col) % SWAP_CLUSTER_COLS; in setup_swap_map_and_extents()
3075 idx = i * SWAP_CLUSTER_COLS + j; in setup_swap_map_and_extents()