| /linux-6.15/include/linux/ |
| H A D | nodemask.h | 163 static __always_inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and() 171 static __always_inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_or() 179 static __always_inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_xor() 324 ((nodemask_t) { { \ 331 ((nodemask_t) { { \ 339 ((nodemask_t) { { \ 362 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap() 369 static __always_inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, in __nodes_remap() 370 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap() 561 nodemask_t mask1; [all …]
|
| H A D | mempolicy.h | 50 nodemask_t nodes; /* interleave/bind/preferred/etc */ 54 nodemask_t cpuset_mems_allowed; /* relative to these nodes */ 55 nodemask_t user_nodemask; /* nodemask passed by user */ 143 struct mempolicy **mpol, nodemask_t **nodemask); 144 extern bool init_nodemask_of_mempolicy(nodemask_t *mask); 146 const nodemask_t *mask); 158 const nodemask_t *to, int flags); 246 const nodemask_t *new) in mpol_rebind_task() 256 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() 263 static inline bool init_nodemask_of_mempolicy(nodemask_t *m) in init_nodemask_of_mempolicy() [all …]
|
| H A 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()
|
| 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() 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() 282 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed()
|
| H A D | gfp.h | 225 nodemask_t *nodemask); 229 nodemask_t *nodemask); 233 nodemask_t *nodemask, int nr_pages, 432 int nid, nodemask_t *nodemask); 440 int nid, nodemask_t *node) in folio_alloc_gigantic_noprof() 453 int nid, nodemask_t *node) in folio_alloc_gigantic_noprof()
|
| H A D | numa.h | 34 int nearest_node_nodemask(int node, nodemask_t *mask); 52 static inline int nearest_node_nodemask(int node, nodemask_t *mask) in nearest_node_nodemask()
|
| H A D | nodemask_types.h | 17 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; typedef
|
| H A D | oom.h | 33 nodemask_t *nodemask;
|
| H A D | hugetlb.h | 709 nodemask_t *nmask, gfp_t gfp_mask, 712 nodemask_t *nmask, gfp_t gfp_mask); 1116 nodemask_t *nmask, gfp_t gfp_mask) 1123 nodemask_t *nmask, gfp_t gfp_mask,
|
| /linux-6.15/mm/ |
| H A D | mempolicy.c | 262 nodemask_t tmp; in mpol_relative_nodemask() 388 nodemask_t tmp; in mpol_rebind_nodemask() 511 nodemask_t *nmask; 1096 nodemask_t nmask; in migrate_to_node() 1152 nodemask_t tmp; in do_migrate_pages() 1555 nodemask_t nodes; in kernel_mbind() 1650 nodemask_t nodes; in kernel_set_mempolicy() 1679 nodemask_t *old; in kernel_migrate_pages() 1680 nodemask_t *new; in kernel_migrate_pages() 1774 nodemask_t nodes; in kernel_get_mempolicy() [all …]
|
| H A D | hugetlb_cma.h | 8 int nid, nodemask_t *nodemask); 22 gfp_t gfp_mask, int nid, nodemask_t *nodemask) in hugetlb_cma_alloc_folio()
|
| H A 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()
|
| 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 | 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()
|
| H A D | hugetlb.c | 1374 nodemask_t *nodemask; in dequeue_hugetlb_folio_vma() 1435 nodemask_t *nodes_allowed) in hstate_next_node_to_alloc() 1480 int nid, nodemask_t *nodemask) in alloc_gigantic_folio() 1948 nodemask_t *node_alloc_noretry) in alloc_buddy_hugetlb_folio() 2071 nodemask_t *nodes_allowed, in alloc_pool_huge_folio() 2333 nodemask_t *nodemask; in alloc_buddy_hugetlb_folio_with_mpol() 3594 nodemask_t node_alloc_noretry; in hugetlb_pages_alloc_boot_node() 3770 nodemask_t *nodes_allowed) in try_to_free_low() 3802 nodemask_t *nodes_allowed) in try_to_free_low() 5089 nodemask_t *mbind_nodemask; in allowed_mems_nr() [all …]
|
| H A 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() 401 void __show_mem(unsigned int filter, nodemask_t *nodemask, int max_zone_idx) in __show_mem()
|
| H A D | numa_emulation.c | 90 nodemask_t physnode_mask = numa_nodes_parsed; in split_nodes_interleave() 225 nodemask_t physnode_mask = numa_nodes_parsed; in split_nodes_size_interleave_uniform() 383 nodemask_t physnode_mask = numa_nodes_parsed; in numa_emulation()
|
| H A D | internal.h | 556 nodemask_t *nodemask; 793 nodemask_t *); 1166 extern int find_next_best_node(int node, nodemask_t *used_node_mask); 1175 static inline int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node() 1309 nodemask_t *nmask;
|
| /linux-6.15/kernel/cgroup/ |
| H A D | cpuset-internal.h | 102 nodemask_t mems_allowed; 106 nodemask_t effective_mems; 146 nodemask_t old_mems_allowed; 291 struct cpumask *new_cpus, nodemask_t *new_mems, 300 struct cpumask *new_cpus, nodemask_t *new_mems, in cpuset1_hotplug_update_tasks()
|
| H A D | cpuset.c | 265 static inline void check_insane_mems_config(nodemask_t *nodes) in check_insane_mems_config() 2513 nodemask_t from; 2514 nodemask_t to; 2529 const nodemask_t *to) in cpuset_migrate_mm() 2566 nodemask_t *newmems) in cpuset_change_task_nodemask() 3080 static nodemask_t cpuset_attach_nodemask_to; 3745 struct cpumask *new_cpus, nodemask_t *new_mems, in hotplug_update_tasks() 3782 static nodemask_t new_mems; in cpuset_hotplug_update_tasks() 3891 static nodemask_t new_mems; in cpuset_handle_hotplug() 4130 nodemask_t cpuset_mems_allowed(struct task_struct *tsk) in cpuset_mems_allowed() [all …]
|
| /linux-6.15/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()
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | numa.h | 24 extern nodemask_t numa_nodes_parsed __initdata;
|
| /linux-6.15/include/asm-generic/ |
| H A D | numa.h | 12 extern nodemask_t numa_nodes_parsed __initdata;
|
| /linux-6.15/arch/loongarch/include/asm/ |
| H A D | numa.h | 23 extern nodemask_t numa_nodes_parsed __initdata;
|
| /linux-6.15/arch/mips/sgi-ip27/ |
| H A D | ip27-klnuma.c | 23 static nodemask_t ktext_repmask;
|