/linux-6.6.21/include/linux/ |
D | nodemask.h | 99 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; typedef 100 extern nodemask_t _unused_nodemask_arg_; 110 static inline unsigned int __nodemask_pr_numnodes(const nodemask_t *m) in __nodemask_pr_numnodes() 114 static inline const unsigned long *__nodemask_pr_bits(const nodemask_t *m) in __nodemask_pr_bits() 129 static __always_inline void __node_set(int node, volatile nodemask_t *dstp) in __node_set() 135 static inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear() 141 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall() 147 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear() 157 static inline bool __node_test_and_set(int node, nodemask_t *addr) in __node_test_and_set() 164 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and() [all …]
|
D | mempolicy.h | 48 nodemask_t nodes; /* interleave/bind/perfer */ 52 nodemask_t cpuset_mems_allowed; /* relative to these nodes */ 53 nodemask_t user_nodemask; /* nodemask passed by user */ 143 extern void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new); 144 extern void mpol_rebind_mm(struct mm_struct *mm, nodemask_t *new); 148 struct mempolicy **mpol, nodemask_t **nodemask); 149 extern bool init_nodemask_of_mempolicy(nodemask_t *mask); 151 const nodemask_t *mask); 152 extern nodemask_t *policy_nodemask(gfp_t gfp, struct mempolicy *policy); 164 int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from, [all …]
|
D | cpuset.h | 80 extern nodemask_t cpuset_mems_allowed(struct task_struct *p); 83 int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask); 163 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed() 210 static inline nodemask_t cpuset_mems_allowed(struct task_struct *p) in cpuset_mems_allowed() 218 static inline int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask) in cpuset_nodemask_valid_mems_allowed() 280 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed()
|
D | memory-tiers.h | 29 nodemask_t nodes; 41 void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets); 49 static inline void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets) in node_get_allowed_targets() 91 static inline void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets) in node_get_allowed_targets()
|
D | gfp.h | 178 nodemask_t *nodemask); 180 nodemask_t *nodemask); 183 nodemask_t *nodemask, int nr_pages, 353 int nid, nodemask_t *nodemask);
|
D | oom.h | 34 nodemask_t *nodemask;
|
D | mmzone.h | 1610 nodemask_t *nodes); 1629 nodemask_t *nodes) in next_zones_zonelist() 1655 nodemask_t *nodes) in first_zones_zonelist() 1698 static inline bool movable_only_nodes(nodemask_t *nodes) in movable_only_nodes()
|
/linux-6.6.21/mm/ |
D | mempolicy.c | 185 int (*create)(struct mempolicy *pol, const nodemask_t *nodes); 186 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes); 194 static void mpol_relative_nodemask(nodemask_t *ret, const nodemask_t *orig, in mpol_relative_nodemask() 195 const nodemask_t *rel) in mpol_relative_nodemask() 197 nodemask_t tmp; in mpol_relative_nodemask() 202 static int mpol_new_nodemask(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_nodemask() 210 static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_preferred() 229 const nodemask_t *nodes, struct nodemask_scratch *nsc) in mpol_set_nodemask() 266 nodemask_t *nodes) in mpol_new() 319 static void mpol_rebind_default(struct mempolicy *pol, const nodemask_t *nodes) in mpol_rebind_default() [all …]
|
D | memory-tiers.c | 24 nodemask_t lower_tier_mask; 28 nodemask_t preferred; 113 static __always_inline nodemask_t get_memtier_nodemask(struct memory_tier *memtier) in get_memtier_nodemask() 115 nodemask_t nodes = NODE_MASK_NONE; in get_memtier_nodemask() 138 nodemask_t nmask; in nodelist_show() 267 void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets) in node_get_allowed_targets() 365 nodemask_t tier_nodes, lower_tier; in establish_demotion_targets()
|
D | mmzone.c | 46 static inline int zref_in_nodemask(struct zoneref *zref, nodemask_t *nodes) in zref_in_nodemask() 58 nodemask_t *nodes) in __next_zones_zonelist()
|
D | show_mem.c | 128 static bool show_mem_node_skip(unsigned int flags, int nid, nodemask_t *nodemask) in show_mem_node_skip() 189 static void show_free_areas(unsigned int filter, nodemask_t *nodemask, int max_zone_idx) in show_free_areas() 403 void __show_mem(unsigned int filter, nodemask_t *nodemask, int max_zone_idx) in __show_mem()
|
D | hugetlb.c | 1356 int nid, nodemask_t *nmask) in dequeue_hugetlb_folio_nodemask() 1404 nodemask_t *nodemask; in dequeue_hugetlb_folio_vma() 1453 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed() 1461 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed() 1475 nodemask_t *nodes_allowed) in hstate_next_node_to_alloc() 1493 static int hstate_next_node_to_free(struct hstate *h, nodemask_t *nodes_allowed) in hstate_next_node_to_free() 1572 int nid, nodemask_t *nodemask) in alloc_gigantic_folio() 1610 int nid, nodemask_t *nodemask) in alloc_gigantic_folio() 1618 int nid, nodemask_t *nodemask) in alloc_gigantic_folio() 2128 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_buddy_hugetlb_folio() [all …]
|
D | internal.h | 244 nodemask_t *nodemask; 777 extern int find_next_best_node(int node, nodemask_t *used_node_mask); 784 static inline int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node() 895 nodemask_t *nmask;
|
D | page_alloc.c | 191 nodemask_t node_states[NR_NODE_STATES] __read_mostly = { 3208 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem() 3227 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc() 4176 int preferred_nid, nodemask_t *nodemask, in prepare_alloc_pages() 4239 nodemask_t *nodemask, int nr_pages, in __alloc_pages_bulk() 4391 nodemask_t *nodemask) in __alloc_pages() 4456 nodemask_t *nodemask) in __folio_alloc() 4875 int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node() 4971 nodemask_t used_mask = NODE_MASK_NONE; in build_zonelists() 6297 int nid, nodemask_t *nodemask) in alloc_contig_pages()
|
/linux-6.6.21/kernel/cgroup/ |
D | cpuset.c | 117 nodemask_t mems_allowed; 121 nodemask_t effective_mems; 143 nodemask_t old_mems_allowed; 430 static inline void check_insane_mems_config(nodemask_t *nodes) in check_insane_mems_config() 543 static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask) in guarantee_online_mems() 1965 nodemask_t from; 1966 nodemask_t to; 1980 static void cpuset_migrate_mm(struct mm_struct *mm, const nodemask_t *from, in cpuset_migrate_mm() 1981 const nodemask_t *to) in cpuset_migrate_mm() 2018 nodemask_t *newmems) in cpuset_change_task_nodemask() [all …]
|
/linux-6.6.21/lib/ |
D | group_cpus.c | 86 const struct cpumask *mask, nodemask_t *nodemsk) in get_nodes_in_cpumask() 133 const nodemask_t nodemsk, in alloc_nodes_groups() 257 nodemask_t nodemsk = NODE_MASK_NONE; in __group_cpus_evenly()
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | numa.h | 23 extern nodemask_t numa_nodes_parsed __initdata;
|
/linux-6.6.21/include/asm-generic/ |
D | numa.h | 12 extern nodemask_t numa_nodes_parsed __initdata;
|
/linux-6.6.21/arch/x86/include/asm/ |
D | numa.h | 26 extern nodemask_t numa_nodes_parsed __initdata;
|
/linux-6.6.21/arch/x86/mm/ |
D | numa_emulation.c | 87 nodemask_t physnode_mask = numa_nodes_parsed; in split_nodes_interleave() 222 nodemask_t physnode_mask = numa_nodes_parsed; in split_nodes_size_interleave_uniform() 396 nodemask_t physnode_mask = numa_nodes_parsed; in numa_emulation()
|
D | numa.c | 24 nodemask_t numa_nodes_parsed __initdata; 336 static void __init numa_nodemask_from_meminfo(nodemask_t *nodemask, in numa_nodemask_from_meminfo() 366 nodemask_t nodes_parsed; in numa_alloc_distance() 488 nodemask_t reserved_nodemask = NODE_MASK_NONE; in numa_clear_kernel_node_hotplug()
|
/linux-6.6.21/arch/mips/sgi-ip27/ |
D | ip27-klnuma.c | 23 static nodemask_t ktext_repmask;
|
/linux-6.6.21/drivers/irqchip/ |
D | irq-loongson-eiointc.c | 40 nodemask_t node_map; 62 static void eiointc_set_irq_route(int pos, unsigned int cpu, unsigned int mnode, nodemask_t *node_m… in eiointc_set_irq_route()
|
/linux-6.6.21/drivers/base/ |
D | arch_numa.c | 20 nodemask_t numa_nodes_parsed __initdata;
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | numa.c | 49 nodemask_t numa_nodes_parsed __initdata;
|