Home
last modified time | relevance | path

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

/mm/
Dsparse.c51 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid()
56 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid()
62 static struct mem_section noinline __init_refok *sparse_index_alloc(int nid) in sparse_index_alloc()
80 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init()
97 static inline int sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init()
133 static inline unsigned long sparse_encode_early_nid(int nid) in sparse_encode_early_nid()
170 void __init memory_present(int nid, unsigned long start, unsigned long end) in memory_present()
194 unsigned long __init node_memmap_size_bytes(int nid, unsigned long start_pfn, in node_memmap_size_bytes()
269 int nid; in sparse_early_usemaps_alloc_pgdat_section() local
294 static void __init check_usemap_section_nr(int nid, unsigned long *usemap) in check_usemap_section_nr()
[all …]
Dpage_ext.c122 static int __init alloc_node_page_ext(int nid) in alloc_node_page_ext()
156 int nid, fail; in page_ext_init_flatmem() local
192 static void *__meminit alloc_page_ext(size_t size, int nid) in alloc_page_ext()
211 static int __meminit init_section_page_ext(unsigned long pfn, int nid) in init_section_page_ext()
278 int nid) in online_page_ext()
312 unsigned long nr_pages, int nid) in offline_page_ext()
359 int nid; in page_ext_init() local
Dmemblock.c125 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_bottom_up()
159 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_top_down()
197 phys_addr_t end, int nid, ulong flags) in memblock_find_in_range_node()
457 int nid, unsigned long flags) in memblock_insert_region()
489 int nid, unsigned long flags) in memblock_add_range()
571 int nid) in memblock_add_node()
578 int nid, in memblock_add_region()
706 int nid, in memblock_reserve_region()
858 void __init_memblock __next_mem_range(u64 *idx, int nid, ulong flags, in __next_mem_range()
967 void __init_memblock __next_mem_range_rev(u64 *idx, int nid, ulong flags, in __next_mem_range_rev()
[all …]
Dmemory_hotplug.c330 int nid = zone->zone_pgdat->node_id; in fix_zone_id() local
448 int nid = pgdat->node_id; in __add_zone() local
476 static int __meminit __add_section(int nid, struct zone *zone, in __add_section()
503 int __ref __add_pages(int nid, struct zone *zone, unsigned long phys_start_pfn, in __add_pages()
533 static int find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn()
558 static int find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn()
593 int nid = zone_to_nid(zone); in shrink_zone_span() local
661 int nid = pgdat->node_id; in shrink_pgdat_span() local
904 int nid = zone_to_nid(zone); in node_states_check_changes_online() local
982 int nid; in online_pages() local
[all …]
Dlist_lru.c107 int nid = page_to_nid(virt_to_page(item)); in list_lru_add() local
127 int nid = page_to_nid(virt_to_page(item)); in list_lru_del() local
161 int nid, int memcg_idx) in __list_lru_count_one()
176 int nid, struct mem_cgroup *memcg) in list_lru_count_one()
182 unsigned long list_lru_count_node(struct list_lru *lru, int nid) in list_lru_count_node()
192 __list_lru_walk_one(struct list_lru *lru, int nid, int memcg_idx, in __list_lru_walk_one()
253 list_lru_walk_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one()
262 unsigned long list_lru_walk_node(struct list_lru *lru, int nid, in list_lru_walk_node()
Dhugetlb.c855 int nid = page_to_nid(page); in enqueue_huge_page() local
862 static struct page *dequeue_huge_page_node(struct hstate *h, int nid) in dequeue_huge_page_node()
956 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed()
966 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed()
982 int nid; in hstate_next_node_to_alloc() local
1000 int nid; in hstate_next_node_to_free() local
1083 static struct page *alloc_gigantic_page(int nid, unsigned int order) in alloc_gigantic_page()
1121 static struct page *alloc_fresh_gigantic_page_node(struct hstate *h, int nid) in alloc_fresh_gigantic_page_node()
1229 int nid = page_to_nid(page); in free_huge_page() local
1280 static void prep_new_huge_page(struct hstate *h, struct page *page, int nid) in prep_new_huge_page()
[all …]
Dpage_alloc.c319 int nid = early_pfn_to_nid(pfn); in early_page_uninitialised() local
327 static inline bool early_page_nid_uninitialised(unsigned long pfn, int nid) in early_page_nid_uninitialised()
366 static inline bool early_page_nid_uninitialised(unsigned long pfn, int nid) in early_page_nid_uninitialised()
953 unsigned long zone, int nid) in __init_single_page()
969 int nid) in __init_single_pfn()
978 int nid, zid; in init_reserved_page() local
1107 int nid; in early_pfn_to_nid() local
1123 int nid; in meminit_pfn_in_nid() local
1194 int nid = pgdat->node_id; in deferred_init_memmap() local
1312 int nid; in page_alloc_init_late() local
[all …]
Dksm.c145 int nid; member
166 int nid; /* when node of unstable tree */ member
747 int nid; in remove_all_stable_nodes() local
1152 int nid; in stable_tree_search() local
1262 int nid; in stable_tree_insert() local
1350 int nid; in unstable_tree_search_insert() local
1590 int nid; in scan_get_next_rmap_item() local
2048 int nid; in ksm_check_stable_tree() local
Dvmscan.c280 int nid = shrinkctl->nid; in do_shrink_slab() local
417 static unsigned long shrink_slab(gfp_t gfp_mask, int nid, in shrink_slab()
464 void drop_slab_node(int nid) in drop_slab_node()
481 int nid; in drop_slab() local
2915 int nid; in try_to_free_mem_cgroup_pages() local
3591 int nid; in cpu_callback() local
3612 int kswapd_run(int nid) in kswapd_run()
3635 void kswapd_stop(int nid) in kswapd_stop()
3647 int nid; in kswapd_init() local
Dmempolicy.c492 int nid; in queue_pages_pte_range() local
536 int nid; in queue_pages_hugetlb() local
1692 unsigned nid, next; in interleave_nodes() local
1757 int nid = NUMA_NO_NODE; in offset_il_node() local
1862 int nid; in init_nodemask_of_mempolicy() local
1940 unsigned nid) in alloc_page_interleave()
1990 unsigned nid; in alloc_pages_vma() local
2610 int nid, prefer = 0; in numa_policy_init() local
Dmemcontrol.c393 int nid = zone_to_nid(zone); in mem_cgroup_zone_zoneinfo() local
463 int nid = page_to_nid(page); in mem_cgroup_page_zoneinfo() local
470 soft_limit_tree_node_zone(int nid, int zid) in soft_limit_tree_node_zone()
478 int nid = page_to_nid(page); in soft_limit_tree_from_page() local
586 int nid, zid; in mem_cgroup_remove_from_trees() local
715 int nid, in mem_cgroup_node_nr_lru_pages()
741 int nid; in mem_cgroup_nr_lru_pages() local
996 int nid, zid; in __invalidate_reclaim_iterators() local
1435 int nid, bool noswap) in test_mem_cgroup_node_reclaimable()
1455 int nid; in mem_cgroup_may_update_nodemask() local
[all …]
Dmmzone.c19 int nid = next_online_node(pgdat->node_id); in next_online_pgdat() local
Dmm_init.c27 int nid; in mminit_verify_zonelist() local
Dcompaction.c1692 static void compact_node(int nid) in compact_node()
1706 int nid; in compact_nodes() local
1741 int nid = dev->id; in sysfs_compact_node() local
Dworkingset.c172 int zid, nid; in unpack_shadow() local
Dsparse-vmemmap.c179 struct page * __meminit sparse_mem_map_populate(unsigned long pnum, int nid) in sparse_mem_map_populate()
Doom_kill.c215 int nid; in constrained_alloc() local
Dnobootmem.c35 static void * __init __alloc_memory_core_early(int nid, u64 size, u64 align, in __alloc_memory_core_early()
Dmemory-failure.c1526 int nid = page_to_nid(p); in new_page() local
Dhuge_memory.c2386 static bool khugepaged_scan_abort(int nid) in khugepaged_scan_abort()
2414 int nid, target_node = 0, max_value = 0; in khugepaged_find_target_node() local
Dmigrate.c1591 int nid = (int) data; in alloc_misplaced_dst_page() local
Dslab.c1315 int nid; in slab_memory_callback() local
1451 int nid; in kmem_cache_init() local
3021 int nid; in fallback_alloc() local
Dslub.c2269 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) in slab_out_of_memory()
3912 int nid = marg->status_change_nid_normal; in slab_mem_going_online_callback() local