Home
last modified time | relevance | path

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

12

/mm/
Dsparse.c52 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid()
57 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid()
63 static noinline struct mem_section __ref *sparse_index_alloc(int nid) in sparse_index_alloc()
82 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init()
106 static inline int sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init()
118 static inline unsigned long sparse_encode_early_nid(int nid) in sparse_encode_early_nid()
226 static void __init memory_present(int nid, unsigned long start, unsigned long end) in memory_present()
269 int i, nid; in memblocks_present() local
338 int nid; in sparse_early_usemaps_alloc_pgdat_section() local
361 static void __init check_usemap_section_nr(int nid, in check_usemap_section_nr()
[all …]
Dmemory_hotplug.c305 int __ref __add_pages(int nid, unsigned long pfn, unsigned long nr_pages, in __add_pages()
348 static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn()
369 static unsigned long find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn()
397 int nid = zone_to_nid(zone); in shrink_zone_span() local
625 int nid = zone_to_nid(zone); in node_states_check_changes_online() local
697 int nid = pgdat->node_id; in move_pfn_range_to_zone() local
785 static bool auto_movable_can_online_movable(int nid, struct memory_group *group, in auto_movable_can_online_movable()
839 static struct zone *default_kernel_zone_for_pfn(int nid, unsigned long start_pfn, in default_kernel_zone_for_pfn()
905 static struct zone *auto_movable_zone_for_pfn(int nid, in auto_movable_zone_for_pfn()
966 static inline struct zone *default_zone_for_pfn(int nid, unsigned long start_pfn, in default_zone_for_pfn()
[all …]
Dpage_ext.c204 static int __init alloc_node_page_ext(int nid) in alloc_node_page_ext()
238 int nid, fail; in page_ext_init_flatmem() local
281 static void *__meminit alloc_page_ext(size_t size, int nid) in alloc_page_ext()
297 static int __meminit init_section_page_ext(unsigned long pfn, int nid) in init_section_page_ext()
385 int nid) in online_page_ext()
416 unsigned long nr_pages, int nid) in offline_page_ext()
475 int nid; in page_ext_init() local
Dmemblock.c211 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_bottom_up()
246 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_top_down()
285 phys_addr_t end, int nid, in memblock_find_in_range_node()
542 int nid, in memblock_insert_region()
575 int nid, enum memblock_flags flags) in memblock_add_range()
673 int nid, enum memblock_flags flags) in memblock_add_node()
969 int nid, int flags) in should_skip_region()
1023 void __next_mem_range(u64 *idx, int nid, enum memblock_flags flags, in __next_mem_range()
1118 void __init_memblock __next_mem_range_rev(u64 *idx, int nid, in __next_mem_range_rev()
1202 void __init_memblock __next_mem_pfn_range(int *idx, int nid, in __next_mem_pfn_range()
[all …]
Dlist_lru.c117 int nid = page_to_nid(virt_to_page(item)); in list_lru_add() local
141 int nid = page_to_nid(virt_to_page(item)); in list_lru_del() local
175 int nid, struct mem_cgroup *memcg) in list_lru_count_one()
190 unsigned long list_lru_count_node(struct list_lru *lru, int nid) in list_lru_count_node()
258 list_lru_walk_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one()
274 list_lru_walk_one_irq(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one_irq()
288 unsigned long list_lru_walk_node(struct list_lru *lru, int nid, in list_lru_walk_node()
523 static void memcg_drain_list_lru_node(struct list_lru *lru, int nid, in memcg_drain_list_lru_node()
Dhugetlb.c1074 int nid = page_to_nid(page); in enqueue_huge_page() local
1085 static struct page *dequeue_huge_page_node_exact(struct hstate *h, int nid) in dequeue_huge_page_node_exact()
1109 static struct page *dequeue_huge_page_nodemask(struct hstate *h, gfp_t gfp_mask, int nid, in dequeue_huge_page_nodemask()
1154 int nid; in dequeue_huge_page_vma() local
1201 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed()
1209 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed()
1225 int nid; in hstate_next_node_to_alloc() local
1243 int nid; in hstate_next_node_to_free() local
1302 int nid, nodemask_t *nodemask) in alloc_gigantic_page()
1341 int nid, nodemask_t *nodemask) in alloc_gigantic_page()
[all …]
Dvmscan.c227 int nid) in shrinker_info_protected()
239 int nid; in expand_one_shrinker_info() local
275 int nid; in free_shrinker_info() local
288 int nid, size, ret = 0; in alloc_shrinker_info() local
354 void set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id) in set_shrinker_bit()
407 static long xchg_nr_deferred_memcg(int nid, struct shrinker *shrinker, in xchg_nr_deferred_memcg()
416 static long add_nr_deferred_memcg(long nr, int nid, struct shrinker *shrinker, in add_nr_deferred_memcg()
427 int i, nid; in reparent_shrinker_deferred() local
492 static long xchg_nr_deferred_memcg(int nid, struct shrinker *shrinker, in xchg_nr_deferred_memcg()
498 static long add_nr_deferred_memcg(long nr, int nid, struct shrinker *shrinker, in add_nr_deferred_memcg()
[all …]
Dpage_alloc.c468 int nid = early_pfn_to_nid(pfn); in early_page_uninitialised() local
481 defer_init(int nid, unsigned long pfn, unsigned long end_pfn) in defer_init()
523 static inline bool defer_init(int nid, unsigned long pfn, unsigned long end_pfn) in defer_init()
1667 unsigned long zone, int nid) in __init_single_page()
1688 int nid, zid; in init_reserved_page() local
1819 int nid; in __early_pfn_to_nid() local
1837 int nid; in early_pfn_to_nid() local
2016 int nid = zone_to_nid(zone); in deferred_init_pages() local
2317 int nid; in page_alloc_init_late() local
5971 void * __meminit alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask) in alloc_pages_exact_nid()
[all …]
Dcompaction.c2741 static void compact_node(int nid) in compact_node()
2773 int nid; in compact_nodes() local
2792 int rc, nid; in compaction_proactiveness_sysctl_handler() local
2831 int nid = dev->id; in compact_store() local
3064 int kcompactd_run(int nid) in kcompactd_run()
3085 void kcompactd_stop(int nid) in kcompactd_stop()
3103 int nid; in kcompactd_cpu_online() local
3120 int nid; in kcompactd_init() local
Dmemremap.c174 int range_id, int nid) in pagemap_range()
293 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
936 int nid; in remove_all_stable_nodes() local
1548 int nid; in stable_tree_search() local
1798 int nid; in stable_tree_insert() local
1923 int nid; in unstable_tree_search_insert() local
2223 int nid; in scan_get_next_rmap_item() local
2749 int nid; in ksm_check_stable_tree() local
Dmempolicy.c433 int nid = page_to_nid(page); in queue_pages_required() local
1872 int nid; in offset_il_node() local
1933 int nid; in huge_node() local
2028 unsigned nid) in alloc_page_interleave()
2045 int nid, struct mempolicy *pol) in alloc_pages_preferred_many()
2092 unsigned nid; in alloc_pages_vma() local
2713 int nid, prefer = 0; in numa_policy_init() local
Dmmzone.c21 int nid = next_online_node(pgdat->node_id); in next_online_pgdat() local
Dmm_init.c25 int nid; in mminit_verify_zonelist() local
Dsparse-vmemmap.c334 int nid = page_to_nid((struct page *)start); in alloc_vmemmap_page_list() local
606 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
Dswapfile.c674 int nid; in __del_from_avail_list() local
707 int nid; in add_to_avail_list() local
2573 int nid; in SYSCALL_DEFINE1() local
3788 int nid = page_to_nid(page); in __cgroup_throttle_swaprate() local
3817 int nid; in swapfile_init() local
Dmemcontrol.c460 int nid = page_to_nid(page); in mem_cgroup_page_nodeinfo() local
466 soft_limit_tree_node(int nid) in soft_limit_tree_node()
474 int nid = page_to_nid(page); in soft_limit_tree_from_page() local
600 int nid; in mem_cgroup_remove_from_trees() local
1162 int nid; in __invalidate_reclaim_iterators() local
3926 int nid, unsigned int lru_mask, bool tree) in mem_cgroup_node_nr_lru_pages()
3977 int nid; in memcg_numa_stat_show() local
5451 int i, nid; in mem_cgroup_css_rstat_flush() local
6489 int nid; in memory_numa_stat_show() local
Dcma.c247 int nid) in cma_declare_contiguous_nid()
Dworkingset.c202 int memcgid, nid; in unpack_shadow() local
Dmigrate.c1616 int nid; in alloc_migration_target() local
2096 int nid = (int) data; in alloc_misplaced_dst_page() local
2111 int nid = (int) data; in alloc_misplaced_dst_page_thp() local
Doom_kill.c264 int nid; in constrained_alloc() local
Dkhugepaged.c810 static bool khugepaged_scan_abort(int nid) in khugepaged_scan_abort()
844 int nid, target_node = 0, max_value = 0; in khugepaged_find_target_node() local
Dinternal.h655 int nid; /* preferred node id */ member
Dslab.c1134 int nid; in slab_memory_callback() local
1271 int nid; in kmem_cache_init() local
3105 int nid; in fallback_alloc() local
Dslub.c2789 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) in slab_out_of_memory()
4700 int nid = marg->status_change_nid_normal; in slab_mem_going_online_callback() local

12