/Linux-v5.4/include/linux/ |
D | cpuset.h | 65 int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask); 152 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed() argument 159 current->mems_allowed = nodemask; in set_mems_allowed() 202 static inline int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask) in cpuset_nodemask_valid_mems_allowed() argument 269 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed() argument
|
D | nodemask.h | 152 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits) argument 154 #define node_test_and_set(node, nodemask) \ argument 155 __node_test_and_set((node), &(nodemask)) 231 #define nodes_full(nodemask) __nodes_full(&(nodemask), MAX_NUMNODES) argument 237 #define nodes_weight(nodemask) __nodes_weight(&(nodemask), MAX_NUMNODES) argument
|
D | mempolicy.h | 151 struct mempolicy **mpol, nodemask_t **nodemask); 273 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument 276 *nodemask = NULL; in huge_node()
|
D | migrate.h | 35 int preferred_nid, nodemask_t *nodemask) in new_page_nodemask() argument 43 preferred_nid, nodemask); in new_page_nodemask() 54 preferred_nid, nodemask); in new_page_nodemask()
|
D | oom.h | 34 nodemask_t *nodemask; member
|
D | mmzone.h | 1083 #define for_each_zone_zonelist_nodemask(zone, z, zlist, highidx, nodemask) \ argument 1084 for (z = first_zones_zonelist(zlist, highidx, nodemask), zone = zonelist_zone(z); \ 1086 z = next_zones_zonelist(++z, highidx, nodemask), \ 1089 #define for_next_zone_zonelist_nodemask(zone, z, zlist, highidx, nodemask) \ argument 1092 z = next_zones_zonelist(++z, highidx, nodemask), \
|
D | gfp.h | 491 nodemask_t *nodemask);
|
D | mm.h | 1420 extern void show_free_areas(unsigned int flags, nodemask_t *nodemask); 2204 extern void show_mem(unsigned int flags, nodemask_t *nodemask); 2213 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...);
|
/Linux-v5.4/lib/ |
D | show_mem.c | 11 void show_mem(unsigned int filter, nodemask_t *nodemask) in show_mem() argument 17 show_free_areas(filter, nodemask); in show_mem()
|
D | Makefile | 34 nmi_backtrace.o nodemask.o win_minmax.o memcat_p.o
|
/Linux-v5.4/mm/ |
D | oom_kill.c | 90 const nodemask_t *mask = oc->nodemask; in oom_cpuset_eligible() 286 if (oc->nodemask && in constrained_alloc() 287 !nodes_subset(node_states[N_MEMORY], *oc->nodemask)) { in constrained_alloc() 289 for_each_node_mask(nid, *oc->nodemask) in constrained_alloc() 296 high_zoneidx, oc->nodemask) in constrained_alloc() 445 nodemask_pr_args(oc->nodemask)); in dump_oom_summary() 464 show_mem(SHOW_MEM_FILTER_NODES, oc->nodemask); in dump_header() 1084 oc->nodemask = NULL; in out_of_memory() 1125 .nodemask = NULL, in pagefault_out_of_memory()
|
D | page_alloc.c | 2567 ac->nodemask) { in unreserve_highatomic_pageblock() 3596 ac->nodemask) { in get_page_from_freelist() 3728 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem() argument 3744 show_mem(filter, nodemask); in warn_alloc_show_mem() 3747 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc() argument 3761 nodemask_pr_args(nodemask)); in warn_alloc() 3767 warn_alloc_show_mem(gfp_mask, nodemask); in warn_alloc() 3796 .nodemask = ac->nodemask, in __alloc_pages_may_oom() 4047 ac->nodemask) { in should_compact_retry() 4125 ac->nodemask); in __perform_reclaim() [all …]
|
D | hugetlb.c | 946 nodemask_t *nodemask; in dequeue_huge_page_vma() local 963 nid = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in dequeue_huge_page_vma() 964 page = dequeue_huge_page_nodemask(h, gfp_mask, nid, nodemask); in dequeue_huge_page_vma() 1115 int nid, nodemask_t *nodemask) in alloc_gigantic_page() argument 1125 for_each_zone_zonelist_nodemask(zone, z, zonelist, gfp_zone(gfp_mask), nodemask) { in alloc_gigantic_page() 1157 int nid, nodemask_t *nodemask) in alloc_gigantic_page() argument 1165 int nid, nodemask_t *nodemask) in alloc_gigantic_page() argument 1695 nodemask_t *nodemask; in alloc_buddy_huge_page_with_mpol() local 1697 nid = huge_node(vma, addr, gfp_mask, &mpol, &nodemask); in alloc_buddy_huge_page_with_mpol() 1698 page = alloc_surplus_huge_page(h, gfp_mask, nid, nodemask); in alloc_buddy_huge_page_with_mpol() [all …]
|
D | vmscan.c | 74 nodemask_t *nodemask; member 2971 sc->reclaim_idx, sc->nodemask) { in shrink_zones() 3101 sc->nodemask) { in do_try_to_free_pages() 3178 nodemask_t *nodemask) in throttle_direct_reclaim() argument 3216 gfp_zone(gfp_mask), nodemask) { in throttle_direct_reclaim() 3262 gfp_t gfp_mask, nodemask_t *nodemask) in try_to_free_pages() argument 3270 .nodemask = nodemask, in try_to_free_pages() 3290 if (throttle_direct_reclaim(sc.gfp_mask, zonelist, nodemask)) in try_to_free_pages()
|
D | internal.h | 115 nodemask_t *nodemask; member
|
D | mempolicy.c | 1943 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument 1948 *nodemask = NULL; /* assume !MPOL_BIND */ in huge_node() 1956 *nodemask = &(*mpol)->v.nodes; in huge_node()
|
D | compaction.c | 2050 ac->nodemask) { in compaction_zonelist_suitable() 2359 ac->nodemask) { in try_to_compact_pages()
|
/Linux-v5.4/Documentation/core-api/ |
D | memory-hotplug.rst | 66 - status_change_nid_normal is set node id when N_NORMAL_MEMORY of nodemask 67 is (will be) set/clear, if this is -1, then nodemask status is not changed. 68 - status_change_nid_high is set node id when N_HIGH_MEMORY of nodemask 69 is (will be) set/clear, if this is -1, then nodemask status is not changed. 70 - status_change_nid is set node id when N_MEMORY of nodemask is (will be) 72 node loses all memory. If this is -1, then nodemask status is not changed.
|
D | printk-formats.rst | 462 bitmap and its derivatives such as cpumask and nodemask 470 For printing bitmap and its derivatives such as cpumask and nodemask,
|
/Linux-v5.4/Documentation/admin-guide/mm/ |
D | numa_memory_policy.rst | 217 is always preferred by passing an empty nodemask with this 218 mode. If an empty nodemask is passed, the policy cannot use 251 This flag specifies that the nodemask passed by 257 nodemask (Bind, Interleave) is remapped to the new set of 270 3 is allowed from the user's nodemask, the "interleave" only 271 occurs over that node. If no nodes from the user's nodemask are 276 MPOL_PREFERRED policies that were created with an empty nodemask 280 This flag specifies that the nodemask passed 282 set of allowed nodes. The kernel stores the user-passed nodemask, 283 and if the allowed nodes changes, then that original nodemask will [all …]
|
/Linux-v5.4/kernel/ |
D | smp.c | 373 const struct cpumask *nodemask; in smp_call_function_any() local 382 nodemask = cpumask_of_node(cpu_to_node(cpu)); in smp_call_function_any() 383 for (cpu = cpumask_first_and(nodemask, mask); cpu < nr_cpu_ids; in smp_call_function_any() 384 cpu = cpumask_next_and(cpu, nodemask, mask)) { in smp_call_function_any()
|
/Linux-v5.4/tools/perf/bench/ |
D | numa.c | 342 unsigned long nodemask; in bind_to_memnode() local 348 BUG_ON(g->p.nr_nodes > (int)sizeof(nodemask)*8); in bind_to_memnode() 349 nodemask = 1L << node; in bind_to_memnode() 351 ret = set_mempolicy(MPOL_BIND, &nodemask, sizeof(nodemask)*8); in bind_to_memnode() 352 dprintf("binding to node %d, mask: %016lx => %d\n", node, nodemask, ret); in bind_to_memnode()
|
/Linux-v5.4/arch/x86/mm/ |
D | numa.c | 316 static void __init numa_nodemask_from_meminfo(nodemask_t *nodemask, in numa_nodemask_from_meminfo() argument 324 node_set(mi->blk[i].nid, *nodemask); in numa_nodemask_from_meminfo()
|
/Linux-v5.4/kernel/irq/ |
D | manage.c | 429 const struct cpumask *nodemask = cpumask_of_node(node); in irq_setup_affinity() local 432 if (cpumask_intersects(&mask, nodemask)) in irq_setup_affinity() 433 cpumask_and(&mask, &mask, nodemask); in irq_setup_affinity()
|
/Linux-v5.4/drivers/tty/ |
D | sysrq.c | 366 .nodemask = NULL, in moom_callback()
|