/openbmc/linux/include/linux/ |
H A 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 …]
|
H A 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 …]
|
H A 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()
|
H A 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()
|
H A D | gfp.h | 178 nodemask_t *nodemask); 180 nodemask_t *nodemask); 183 nodemask_t *nodemask, int nr_pages, 362 int nid, nodemask_t *nodemask);
|
H A D | oom.h | 34 nodemask_t *nodemask;
|
H A D | mmzone.h | 1611 nodemask_t *nodes); 1630 nodemask_t *nodes) in next_zones_zonelist() 1656 nodemask_t *nodes) in first_zones_zonelist() 1699 static inline bool movable_only_nodes(nodemask_t *nodes) in movable_only_nodes()
|
/openbmc/linux/mm/ |
H A D | mempolicy.c | 186 int (*create)(struct mempolicy *pol, const nodemask_t *nodes); 187 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes); 195 static void mpol_relative_nodemask(nodemask_t *ret, const nodemask_t *orig, in mpol_relative_nodemask() 196 const nodemask_t *rel) in mpol_relative_nodemask() 198 nodemask_t tmp; in mpol_relative_nodemask() 203 static int mpol_new_nodemask(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_nodemask() 211 static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_preferred() 230 const nodemask_t *nodes, struct nodemask_scratch *nsc) in mpol_set_nodemask() 267 nodemask_t *nodes) in mpol_new() 320 static void mpol_rebind_default(struct mempolicy *pol, const nodemask_t *nodes) in mpol_rebind_default() [all …]
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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() 2111 gfp_t gfp_mask, int nid, nodemask_t *nmas in alloc_buddy_hugetlb_folio() [all...] |
H A D | internal.h | 289 nodemask_t *nodemask; 846 extern int find_next_best_node(int node, nodemask_t *used_node_mask); 853 static inline int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node() 964 nodemask_t *nmask;
|
/openbmc/linux/kernel/cgroup/ |
H A D | cpuset.c | 118 nodemask_t mems_allowed; 122 nodemask_t effective_mems; 144 nodemask_t old_mems_allowed; 431 static inline void check_insane_mems_config(nodemask_t *nodes) in check_insane_mems_config() 544 static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask) in guarantee_online_mems() 1966 nodemask_t from; 1967 nodemask_t to; 1981 static void cpuset_migrate_mm(struct mm_struct *mm, const nodemask_t *from, in cpuset_migrate_mm() 1982 const nodemask_t *to) in cpuset_migrate_mm() 2019 nodemask_t *newmems) in cpuset_change_task_nodemask() [all …]
|
/openbmc/linux/lib/ |
H A 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()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | numa.h | 23 extern nodemask_t numa_nodes_parsed __initdata;
|
/openbmc/linux/include/asm-generic/ |
H A D | numa.h | 12 extern nodemask_t numa_nodes_parsed __initdata;
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | numa.h | 26 extern nodemask_t numa_nodes_parsed __initdata;
|
/openbmc/linux/arch/x86/mm/ |
H A 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()
|
H A 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() 457 nodemask_t reserved_nodemask = NODE_MASK_NONE; in numa_clear_kernel_node_hotplug()
|
/openbmc/linux/arch/mips/sgi-ip27/ |
H A D | ip27-klnuma.c | 23 static nodemask_t ktext_repmask;
|
/openbmc/linux/drivers/irqchip/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.h | 239 nodemask_t numa_node_mask;
|
/openbmc/linux/drivers/base/ |
H A D | arch_numa.c | 20 nodemask_t numa_nodes_parsed __initdata;
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | numa.c | 49 nodemask_t numa_nodes_parsed __initdata;
|