Home
last modified time | relevance | path

Searched refs:nodemask_t (Results 1 – 25 of 54) sorted by relevance

123

/linux-6.15/include/linux/
H A Dnodemask.h163 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 Dmempolicy.h50 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 Dmemory-tiers.h32 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 Dcpuset.h80 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 Dgfp.h225 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 Dnuma.h34 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 Dnodemask_types.h17 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; typedef
H A Doom.h33 nodemask_t *nodemask;
H A Dhugetlb.h709 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 Dmempolicy.c262 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 Dhugetlb_cma.h8 int nid, nodemask_t *nodemask);
22 gfp_t gfp_mask, int nid, nodemask_t *nodemask) in hugetlb_cma_alloc_folio()
H A Dmemory-tiers.c26 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 Dmmzone.c46 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 Dnuma_memblks.c13 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 Dhugetlb.c1374 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 Dshow_mem.c125 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 Dnuma_emulation.c90 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 Dinternal.h556 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 Dcpuset-internal.h102 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 Dcpuset.c265 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 Dgroup_cpus.c86 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 Dnuma.h24 extern nodemask_t numa_nodes_parsed __initdata;
/linux-6.15/include/asm-generic/
H A Dnuma.h12 extern nodemask_t numa_nodes_parsed __initdata;
/linux-6.15/arch/loongarch/include/asm/
H A Dnuma.h23 extern nodemask_t numa_nodes_parsed __initdata;
/linux-6.15/arch/mips/sgi-ip27/
H A Dip27-klnuma.c23 static nodemask_t ktext_repmask;

123