Home
last modified time | relevance | path

Searched defs:nid (Results 1 – 25 of 25) sorted by relevance

/mm/
Dsparse.c53 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid()
58 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid()
64 static noinline struct mem_section __ref *sparse_index_alloc(int nid) in sparse_index_alloc()
83 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init()
107 static inline int sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init()
145 static inline unsigned long sparse_encode_early_nid(int nid) in sparse_encode_early_nid()
258 void __init memory_present(int nid, unsigned long start, unsigned long end) in memory_present()
360 int nid; in sparse_early_usemaps_alloc_pgdat_section() local
383 static void __init check_usemap_section_nr(int nid, in check_usemap_section_nr()
433 static void __init check_usemap_section_nr(int nid, in check_usemap_section_nr()
[all …]
Dmemory_hotplug.c287 int __ref __add_pages(int nid, unsigned long pfn, unsigned long nr_pages, in __add_pages()
329 static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn()
350 static unsigned long find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn()
381 int nid = zone_to_nid(zone); in shrink_zone_span() local
641 int nid = zone_to_nid(zone); in node_states_check_changes_online() local
700 int nid = pgdat->node_id; in move_pfn_range_to_zone() local
732 static struct zone *default_kernel_zone_for_pfn(int nid, unsigned long start_pfn, in default_kernel_zone_for_pfn()
748 static inline struct zone *default_zone_for_pfn(int nid, unsigned long start_pfn, in default_zone_for_pfn()
772 struct zone * zone_for_pfn_range(int online_type, int nid, unsigned start_pfn, in zone_for_pfn_range()
790 int nid; in online_pages() local
[all …]
Dpage_ext.c135 static int __init alloc_node_page_ext(int nid) in alloc_node_page_ext()
169 int nid, fail; in page_ext_init_flatmem() local
205 static void *__meminit alloc_page_ext(size_t size, int nid) in alloc_page_ext()
221 static int __meminit init_section_page_ext(unsigned long pfn, int nid) in init_section_page_ext()
288 int nid) in online_page_ext()
322 unsigned long nr_pages, int nid) in offline_page_ext()
369 int nid; in page_ext_init() local
Dmemblock.c191 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_bottom_up()
226 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_top_down()
273 phys_addr_t end, int nid, in memblock_find_in_range_node()
551 int nid, in memblock_insert_region()
584 int nid, enum memblock_flags flags) in memblock_add_range()
681 int nid) in memblock_add_node()
965 static bool should_skip_region(struct memblock_region *m, int nid, int flags) in should_skip_region()
1014 void __init_memblock __next_mem_range(u64 *idx, int nid, in __next_mem_range()
1111 void __init_memblock __next_mem_range_rev(u64 *idx, int nid, in __next_mem_range_rev()
1196 void __init_memblock __next_mem_pfn_range(int *idx, int nid, in __next_mem_pfn_range()
[all …]
Dlist_lru.c127 int nid = page_to_nid(virt_to_page(item)); in list_lru_add() local
151 int nid = page_to_nid(virt_to_page(item)); in list_lru_del() local
185 int nid, struct mem_cgroup *memcg) in list_lru_count_one()
200 unsigned long list_lru_count_node(struct list_lru *lru, int nid) in list_lru_count_node()
268 list_lru_walk_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one()
284 list_lru_walk_one_irq(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one_irq()
298 unsigned long list_lru_walk_node(struct list_lru *lru, int nid, in list_lru_walk_node()
541 static void memcg_drain_list_lru_node(struct list_lru *lru, int nid, in memcg_drain_list_lru_node()
Dhugetlb.c868 int nid = page_to_nid(page); in enqueue_huge_page() local
874 static struct page *dequeue_huge_page_node_exact(struct hstate *h, int nid) in dequeue_huge_page_node_exact()
894 static struct page *dequeue_huge_page_nodemask(struct hstate *h, gfp_t gfp_mask, int nid, in dequeue_huge_page_nodemask()
948 int nid; in dequeue_huge_page_vma() local
985 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed()
993 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed()
1009 int nid; in hstate_next_node_to_alloc() local
1027 int nid; in hstate_next_node_to_free() local
1116 int nid, nodemask_t *nodemask) in alloc_gigantic_page()
1158 int nid, nodemask_t *nodemask) in alloc_gigantic_page()
[all …]
Dpage_alloc.c404 int nid = early_pfn_to_nid(pfn); in early_page_uninitialised() local
417 defer_init(int nid, unsigned long pfn, unsigned long end_pfn) in defer_init()
454 static inline bool defer_init(int nid, unsigned long pfn, unsigned long end_pfn) in defer_init()
1353 unsigned long zone, int nid) in __init_single_page()
1374 int nid, zid; in init_reserved_page() local
1470 int nid; in early_pfn_to_nid() local
1486 int nid; in early_pfn_in_nid() local
1673 int nid = zone_to_nid(zone); in deferred_init_pages() local
1942 int nid; in page_alloc_init_late() local
5002 void * __meminit alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask) in alloc_pages_exact_nid()
[all …]
Dvmscan.c471 int nid = shrinkctl->nid; in do_shrink_slab() local
593 static unsigned long shrink_slab_memcg(gfp_t gfp_mask, int nid, in shrink_slab_memcg()
668 static unsigned long shrink_slab_memcg(gfp_t gfp_mask, int nid, in shrink_slab_memcg()
695 static unsigned long shrink_slab(gfp_t gfp_mask, int nid, in shrink_slab()
743 void drop_slab_node(int nid) in drop_slab_node()
760 int nid; in drop_slab() local
2148 int nid = -1; in reclaim_pages() local
3354 int nid; in try_to_free_mem_cgroup_pages() local
4060 int nid; in kswapd_cpu_online() local
4079 int kswapd_run(int nid) in kswapd_run()
[all …]
Dcompaction.c2409 static void compact_node(int nid) in compact_node()
2441 int nid; in compact_nodes() local
2471 int nid = dev->id; in sysfs_compact_node() local
2662 int kcompactd_run(int nid) in kcompactd_run()
2683 void kcompactd_stop(int nid) in kcompactd_stop()
2701 int nid; in kcompactd_cpu_online() local
2718 int nid; in kcompactd_init() local
Dmemremap.c108 int nid; in memunmap_pages() local
157 void *memremap_pages(struct dev_pagemap *pgmap, int nid) in memremap_pages()
Dksm.c179 int nid; member
200 int nid; /* when node of unstable tree */ member
941 int nid; in remove_all_stable_nodes() local
1553 int nid; in stable_tree_search() local
1805 int nid; in stable_tree_insert() local
1930 int nid; in unstable_tree_search_insert() local
2222 int nid; in scan_get_next_rmap_item() local
2762 int nid; in ksm_check_stable_tree() local
Dmemcontrol.c335 int nid; in memcg_expand_one_shrinker_map() local
365 int nid; in memcg_free_shrinker_maps() local
382 int nid, size, ret = 0; in memcg_alloc_shrinker_maps() local
431 void memcg_set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id) in memcg_set_shrinker_bit()
502 int nid = page_to_nid(page); in mem_cgroup_page_nodeinfo() local
508 soft_limit_tree_node(int nid) in soft_limit_tree_node()
516 int nid = page_to_nid(page); in soft_limit_tree_from_page() local
637 int nid; in mem_cgroup_remove_from_trees() local
713 parent_nodeinfo(struct mem_cgroup_per_node *pn, int nid) in parent_nodeinfo()
1154 int nid; in __invalidate_reclaim_iterators() local
[all …]
Dmempolicy.c425 int nid = page_to_nid(page); in queue_pages_required() local
1894 int nid; in offset_il_node() local
1946 int nid; in huge_node() local
1981 int nid; in init_nodemask_of_mempolicy() local
2059 unsigned nid) in alloc_page_interleave()
2110 unsigned nid; in alloc_pages_vma() local
2714 int nid, prefer = 0; in numa_policy_init() local
Dmmzone.c20 int nid = next_online_node(pgdat->node_id); in next_online_pgdat() local
Dmm_init.c28 int nid; in mminit_verify_zonelist() local
Dworkingset.c200 int memcgid, nid; in unpack_shadow() local
Dsparse-vmemmap.c249 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
Dswapfile.c660 int nid; in __del_from_avail_list() local
692 int nid; in add_to_avail_list() local
2568 int nid; in SYSCALL_DEFINE1() local
3773 int nid; in swapfile_init() local
Doom_kill.c258 int nid; in constrained_alloc() local
Dkhugepaged.c707 static bool khugepaged_scan_abort(int nid) in khugepaged_scan_abort()
741 int nid, target_node = 0, max_value = 0; in khugepaged_find_target_node() local
Dslab.c1123 int nid; in slab_memory_callback() local
1260 int nid; in kmem_cache_init() local
3111 int nid; in fallback_alloc() local
Dmemory-failure.c1615 int nid = page_to_nid(p); in new_page() local
Dmigrate.c1887 int nid = (int) data; in alloc_misplaced_dst_page() local
Dgup.c1388 int nid = page_to_nid(page); in new_non_cma_page() local
Dslub.c2407 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) in slab_out_of_memory()
4115 int nid = marg->status_change_nid_normal; in slab_mem_going_online_callback() local