/Linux-v6.1/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 | 78 extern nodemask_t cpuset_mems_allowed(struct task_struct *p); 81 int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask); 168 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed() 213 static inline nodemask_t cpuset_mems_allowed(struct task_struct *p) in cpuset_mems_allowed() 221 static inline int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask) in cpuset_nodemask_valid_mems_allowed() 288 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed()
|
D | memory-tiers.h | 30 nodemask_t nodes; 42 void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets); 50 static inline void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets) in node_get_allowed_targets() 92 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, 360 int nid, nodemask_t *nodemask);
|
D | oom.h | 34 nodemask_t *nodemask;
|
D | mmzone.h | 1458 nodemask_t *nodes); 1477 nodemask_t *nodes) in next_zones_zonelist() 1503 nodemask_t *nodes) in first_zones_zonelist() 1546 static inline bool movable_only_nodes(nodemask_t *nodes) in movable_only_nodes()
|
D | hugetlb.h | 705 nodemask_t *nmask, gfp_t gfp_mask); 1006 nodemask_t *nmask, gfp_t gfp_mask)
|
/Linux-v6.1/mm/ |
D | mempolicy.c | 181 int (*create)(struct mempolicy *pol, const nodemask_t *nodes); 182 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes); 190 static void mpol_relative_nodemask(nodemask_t *ret, const nodemask_t *orig, in mpol_relative_nodemask() 191 const nodemask_t *rel) in mpol_relative_nodemask() 193 nodemask_t tmp; in mpol_relative_nodemask() 198 static int mpol_new_nodemask(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_nodemask() 206 static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_preferred() 225 const nodemask_t *nodes, struct nodemask_scratch *nsc) in mpol_set_nodemask() 262 nodemask_t *nodes) in mpol_new() 315 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 | internal.h | 213 nodemask_t *nodemask; 686 extern int find_next_best_node(int node, nodemask_t *used_node_mask); 693 static inline int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node() 801 nodemask_t *nmask;
|
D | hugetlb.c | 1168 nodemask_t *nmask) in dequeue_huge_page_nodemask() 1216 nodemask_t *nodemask; in dequeue_huge_page_vma() 1263 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed() 1271 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed() 1285 nodemask_t *nodes_allowed) in hstate_next_node_to_alloc() 1303 static int hstate_next_node_to_free(struct hstate *h, nodemask_t *nodes_allowed) in hstate_next_node_to_free() 1382 int nid, nodemask_t *nodemask) in alloc_gigantic_page() 1419 int nid, nodemask_t *nodemask) in alloc_gigantic_page() 1427 int nid, nodemask_t *nodemask) in alloc_gigantic_page() 1949 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_buddy_huge_page() [all …]
|
D | page_alloc.c | 249 nodemask_t node_states[NR_NODE_STATES] __read_mostly = { 4324 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem() 4343 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc() 5307 int preferred_nid, nodemask_t *nodemask, in prepare_alloc_pages() 5370 nodemask_t *nodemask, int nr_pages, in __alloc_pages_bulk() 5523 nodemask_t *nodemask) in __alloc_pages() 5588 nodemask_t *nodemask) in __folio_alloc() 6029 static bool show_mem_node_skip(unsigned int flags, int nid, nodemask_t *nodemask) in show_mem_node_skip() 6092 void __show_free_areas(unsigned int filter, nodemask_t *nodemask, int max_zone_idx) in __show_free_areas() 6383 int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node() [all …]
|
/Linux-v6.1/kernel/cgroup/ |
D | cpuset.c | 140 nodemask_t mems_allowed; 144 nodemask_t effective_mems; 166 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() 1860 nodemask_t from; 1861 nodemask_t to; 1875 static void cpuset_migrate_mm(struct mm_struct *mm, const nodemask_t *from, in cpuset_migrate_mm() 1876 const nodemask_t *to) in cpuset_migrate_mm() 1913 nodemask_t *newmems) in cpuset_change_task_nodemask() [all …]
|
/Linux-v6.1/kernel/irq/ |
D | affinity.c | 84 const struct cpumask *mask, nodemask_t *nodemsk) in get_nodes_in_cpumask() 131 const nodemask_t nodemsk, in alloc_nodes_vectors() 258 nodemask_t nodemsk = NODE_MASK_NONE; in __irq_build_affinity_masks()
|
/Linux-v6.1/lib/ |
D | show_mem.c | 11 void __show_mem(unsigned int filter, nodemask_t *nodemask, int max_zone_idx) in __show_mem()
|
/Linux-v6.1/include/asm-generic/ |
D | numa.h | 12 extern nodemask_t numa_nodes_parsed __initdata;
|
/Linux-v6.1/arch/loongarch/include/asm/ |
D | numa.h | 23 extern nodemask_t numa_nodes_parsed __initdata;
|
/Linux-v6.1/arch/x86/include/asm/ |
D | numa.h | 33 extern nodemask_t numa_nodes_parsed __initdata;
|
/Linux-v6.1/arch/x86/mm/ |
D | numa.c | 23 nodemask_t numa_nodes_parsed __initdata; 335 static void __init numa_nodemask_from_meminfo(nodemask_t *nodemask, in numa_nodemask_from_meminfo() 365 nodemask_t nodes_parsed; in numa_alloc_distance() 487 nodemask_t reserved_nodemask = NODE_MASK_NONE; in numa_clear_kernel_node_hotplug()
|
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()
|
/Linux-v6.1/arch/mips/sgi-ip27/ |
D | ip27-klnuma.c | 23 static nodemask_t ktext_repmask;
|
/Linux-v6.1/drivers/irqchip/ |
D | irq-loongson-eiointc.c | 41 nodemask_t node_map; 63 static void eiointc_set_irq_route(int pos, unsigned int cpu, unsigned int mnode, nodemask_t *node_m… in eiointc_set_irq_route()
|
/Linux-v6.1/drivers/base/ |
D | arch_numa.c | 20 nodemask_t numa_nodes_parsed __initdata;
|