/linux-6.12.1/include/linux/ |
D | nodemask.h | 100 extern nodemask_t _unused_nodemask_arg_; 110 static __always_inline unsigned int __nodemask_pr_numnodes(const nodemask_t *m) in __nodemask_pr_numnodes() 114 static __always_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 __always_inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear() 141 static __always_inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall() 147 static __always_inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear() 157 static __always_inline bool __node_test_and_set(int node, nodemask_t *addr) in __node_test_and_set() 164 static __always_inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and() 165 const nodemask_t *src2p, unsigned int nbits) in __nodes_and() [all …]
|
D | mempolicy.h | 50 nodemask_t nodes; /* interleave/bind/perfer */ 54 nodemask_t cpuset_mems_allowed; /* relative to these nodes */ 55 nodemask_t user_nodemask; /* nodemask passed by user */ 138 extern void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new); 139 extern void mpol_rebind_mm(struct mm_struct *mm, nodemask_t *new); 143 struct mempolicy **mpol, nodemask_t **nodemask); 144 extern bool init_nodemask_of_mempolicy(nodemask_t *mask); 146 const nodemask_t *mask); 157 int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from, 158 const nodemask_t *to, int flags); [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); 161 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed() 211 static inline nodemask_t cpuset_mems_allowed(struct task_struct *p) in cpuset_mems_allowed() 219 static inline int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask) in cpuset_nodemask_valid_mems_allowed() 271 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed()
|
D | memory-tiers.h | 32 nodemask_t nodes; 41 extern nodemask_t default_dram_nodes; 57 void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets); 65 static inline void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets) in node_get_allowed_targets() 109 static inline void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets) in node_get_allowed_targets()
|
D | gfp.h | 206 nodemask_t *nodemask); 210 nodemask_t *nodemask); 214 nodemask_t *nodemask, int nr_pages, 443 int nid, nodemask_t *nodemask); 451 int nid, nodemask_t *node) in folio_alloc_gigantic_noprof() 464 int nid, nodemask_t *node) in folio_alloc_gigantic_noprof()
|
D | nodemask_types.h | 8 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; typedef
|
D | oom.h | 34 nodemask_t *nodemask;
|
D | hugetlb.h | 693 nodemask_t *nmask, gfp_t gfp_mask, 696 nodemask_t *nmask, gfp_t gfp_mask); 1067 nodemask_t *nmask, gfp_t gfp_mask) 1074 nodemask_t *nmask, gfp_t gfp_mask,
|
D | mmzone.h | 1643 nodemask_t *nodes); 1662 nodemask_t *nodes) in next_zones_zonelist() 1688 nodemask_t *nodes) in first_zones_zonelist() 1731 static inline bool movable_only_nodes(nodemask_t *nodes) in movable_only_nodes()
|
/linux-6.12.1/mm/ |
D | mempolicy.c | 219 int (*create)(struct mempolicy *pol, const nodemask_t *nodes); 220 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes); 228 static void mpol_relative_nodemask(nodemask_t *ret, const nodemask_t *orig, in mpol_relative_nodemask() 229 const nodemask_t *rel) in mpol_relative_nodemask() 231 nodemask_t tmp; in mpol_relative_nodemask() 236 static int mpol_new_nodemask(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_nodemask() 244 static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_preferred() 263 const nodemask_t *nodes, struct nodemask_scratch *nsc) in mpol_set_nodemask() 300 nodemask_t *nodes) in mpol_new() 351 static void mpol_rebind_default(struct mempolicy *pol, const nodemask_t *nodes) in mpol_rebind_default() [all …]
|
D | memory-tiers.c | 26 nodemask_t lower_tier_mask; 30 nodemask_t preferred; 47 nodemask_t default_dram_nodes __initdata = NODE_MASK_NONE; 148 static __always_inline nodemask_t get_memtier_nodemask(struct memory_tier *memtier) in get_memtier_nodemask() 150 nodemask_t nodes = NODE_MASK_NONE; in get_memtier_nodemask() 173 nodemask_t nmask; in nodelist_show() 302 void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets) in node_get_allowed_targets() 395 nodemask_t preferred = node_demotion[node].preferred; in dump_demotion_targets() 420 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 | numa_memblks.c | 13 nodemask_t numa_nodes_parsed __initdata; 21 static void __init numa_nodemask_from_meminfo(nodemask_t *nodemask, in numa_nodemask_from_meminfo() 51 nodemask_t nodes_parsed; in numa_alloc_distance() 313 nodemask_t reserved_nodemask = NODE_MASK_NONE; in numa_clear_kernel_node_hotplug()
|
D | hugetlb.c | 1351 int nid, nodemask_t *nmask) in dequeue_hugetlb_folio_nodemask() 1403 nodemask_t *nodemask; in dequeue_hugetlb_folio_vma() 1452 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed() 1460 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed() 1474 nodemask_t *nodes_allowed) in hstate_next_node_to_alloc() 1492 static int hstate_next_node_to_free(struct hstate *h, nodemask_t *nodes_allowed) in hstate_next_node_to_free() 1519 int nid, nodemask_t *nodemask) in alloc_gigantic_folio() 1568 int nid, nodemask_t *nodemask) in alloc_gigantic_folio() 1576 int nid, nodemask_t *nodemask) in alloc_gigantic_folio() 2002 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_buddy_hugetlb_folio() [all …]
|
D | show_mem.c | 125 static bool show_mem_node_skip(unsigned int flags, int nid, nodemask_t *nodemask) in show_mem_node_skip() 186 static void show_free_areas(unsigned int filter, nodemask_t *nodemask, int max_zone_idx) in show_free_areas() 400 void __show_mem(unsigned int filter, nodemask_t *nodemask, int max_zone_idx) in __show_mem()
|
D | numa_emulation.c | 89 nodemask_t physnode_mask = numa_nodes_parsed; in split_nodes_interleave() 224 nodemask_t physnode_mask = numa_nodes_parsed; in split_nodes_size_interleave_uniform() 398 nodemask_t physnode_mask = numa_nodes_parsed; in numa_emulation()
|
D | internal.h | 514 nodemask_t *nodemask; 1087 extern int find_next_best_node(int node, nodemask_t *used_node_mask); 1094 static inline int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node() 1219 nodemask_t *nmask;
|
/linux-6.12.1/kernel/cgroup/ |
D | cpuset-internal.h | 101 nodemask_t mems_allowed; 105 nodemask_t effective_mems; 145 nodemask_t old_mems_allowed; 290 struct cpumask *new_cpus, nodemask_t *new_mems, 299 struct cpumask *new_cpus, nodemask_t *new_mems, in cpuset1_hotplug_update_tasks()
|
D | cpuset.c | 255 static inline void check_insane_mems_config(nodemask_t *nodes) in check_insane_mems_config() 376 static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask) in guarantee_online_mems() 2436 nodemask_t from; 2437 nodemask_t to; 2451 static void cpuset_migrate_mm(struct mm_struct *mm, const nodemask_t *from, in cpuset_migrate_mm() 2452 const nodemask_t *to) in cpuset_migrate_mm() 2489 nodemask_t *newmems) in cpuset_change_task_nodemask() 2518 static nodemask_t newmems; /* protected by cpuset_mutex */ in cpuset_update_tasks_nodemask() 2579 static void update_nodemasks_hier(struct cpuset *cs, nodemask_t *new_mems) in update_nodemasks_hier() 2992 static nodemask_t cpuset_attach_nodemask_to; [all …]
|
/linux-6.12.1/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.12.1/arch/x86/include/asm/ |
D | numa.h | 24 extern nodemask_t numa_nodes_parsed __initdata;
|
/linux-6.12.1/include/asm-generic/ |
D | numa.h | 12 extern nodemask_t numa_nodes_parsed __initdata;
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | numa.h | 23 extern nodemask_t numa_nodes_parsed __initdata;
|
/linux-6.12.1/arch/mips/sgi-ip27/ |
D | ip27-klnuma.c | 23 static nodemask_t ktext_repmask;
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-loongson-eiointc.c | 43 nodemask_t node_map; 66 static void eiointc_set_irq_route(int pos, unsigned int cpu, unsigned int mnode, nodemask_t *node_m… in eiointc_set_irq_route()
|