Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/include/linux/
A Dnodemask.h164 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and()
172 static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_or()
180 static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_xor()
188 static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_andnot()
356 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap()
363 static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, in __nodes_remap()
364 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap()
371 static inline void __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, in __nodes_onto()
379 static inline void __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, in __nodes_fold()
555 nodemask_t mask1;
[all …]
A Dmempolicy.h48 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 */
148 struct mempolicy **mpol, nodemask_t **nodemask);
149 extern bool init_nodemask_of_mempolicy(nodemask_t *mask);
151 const nodemask_t *mask);
165 const nodemask_t *to, int flags);
242 const nodemask_t *new) in mpol_rebind_task()
252 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node()
259 static inline bool init_nodemask_of_mempolicy(nodemask_t *m) in init_nodemask_of_mempolicy()
[all …]
A Dcpuset.h78 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()
A Dmemory-tiers.h29 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()
A Dgfp.h178 nodemask_t *nodemask);
180 nodemask_t *nodemask);
183 nodemask_t *nodemask, int nr_pages,
360 int nid, nodemask_t *nodemask);
A Doom.h34 nodemask_t *nodemask;
A Dmmzone.h1614 nodemask_t *nodes);
1633 nodemask_t *nodes) in next_zones_zonelist()
1659 nodemask_t *nodes) in first_zones_zonelist()
1702 static inline bool movable_only_nodes(nodemask_t *nodes) in movable_only_nodes()
/linux-6.3-rc2/mm/
A Dmempolicy.c193 nodemask_t tmp; in mpol_relative_nodemask()
321 nodemask_t tmp; in mpol_rebind_nodemask()
423 nodemask_t *nmask;
1063 nodemask_t nmask; in migrate_to_node()
1106 nodemask_t tmp; in do_migrate_pages()
1472 nodemask_t nodes; in kernel_mbind()
1567 nodemask_t nodes; in kernel_set_mempolicy()
1596 nodemask_t *old; in kernel_migrate_pages()
1597 nodemask_t *new; in kernel_migrate_pages()
1693 nodemask_t nodes; in kernel_get_mempolicy()
[all …]
A Dmemory-tiers.c24 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()
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()
A Dhugetlb.c1359 nodemask_t *nodemask; in dequeue_hugetlb_folio_vma()
1430 nodemask_t *nodes_allowed) in hstate_next_node_to_alloc()
1527 int nid, nodemask_t *nodemask) in alloc_gigantic_folio()
2103 nodemask_t *node_alloc_noretry) in alloc_buddy_hugetlb_folio()
2236 nodemask_t *nodes_allowed, in remove_pool_huge_page()
2456 nodemask_t *nodemask; in alloc_buddy_hugetlb_folio_with_mpol()
2500 nodemask_t *nodemask; in alloc_hugetlb_folio_vma()
3255 nodemask_t *node_alloc_noretry; in hugetlb_hstate_alloc_pages()
3363 nodemask_t *nodes_allowed) in try_to_free_low()
3395 nodemask_t *nodes_allowed) in try_to_free_low()
[all …]
A Dinternal.h220 nodemask_t *nodemask;
706 extern int find_next_best_node(int node, nodemask_t *used_node_mask);
713 static inline int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node()
822 nodemask_t *nmask;
A Dpage_alloc.c229 nodemask_t node_states[NR_NODE_STATES] __read_mostly = {
4358 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem()
4377 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc()
5341 int preferred_nid, nodemask_t *nodemask, in prepare_alloc_pages()
5404 nodemask_t *nodemask, int nr_pages, in __alloc_pages_bulk()
5556 nodemask_t *nodemask) in __alloc_pages()
5621 nodemask_t *nodemask) in __folio_alloc()
6419 int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node()
6515 nodemask_t used_mask = NODE_MASK_NONE; in build_zonelists()
8080 nodemask_t saved_node_state = node_states[N_MEMORY]; in find_zone_movable_pfns_for_nodes()
[all …]
/linux-6.3-rc2/kernel/cgroup/
A Dcpuset.c140 nodemask_t mems_allowed;
144 nodemask_t effective_mems;
166 nodemask_t old_mems_allowed;
1868 nodemask_t from;
1869 nodemask_t to;
1884 const nodemask_t *to) in cpuset_migrate_mm()
1921 nodemask_t *newmems) in cpuset_change_task_nodemask()
2515 static nodemask_t cpuset_attach_nodemask_to; in cpuset_attach()
3414 static nodemask_t new_mems; in cpuset_hotplug_update_tasks()
3544 static nodemask_t new_mems; in cpuset_hotplug_workfn()
[all …]
/linux-6.3-rc2/lib/
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()
A Dshow_mem.c11 void __show_mem(unsigned int filter, nodemask_t *nodemask, int max_zone_idx) in __show_mem()
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dnuma.h23 extern nodemask_t numa_nodes_parsed __initdata;
/linux-6.3-rc2/include/asm-generic/
A Dnuma.h12 extern nodemask_t numa_nodes_parsed __initdata;
/linux-6.3-rc2/arch/x86/include/asm/
A Dnuma.h33 extern nodemask_t numa_nodes_parsed __initdata;
/linux-6.3-rc2/arch/x86/mm/
A Dnuma.c23 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()
A Dnuma_emulation.c87 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-6.3-rc2/arch/mips/sgi-ip27/
A Dip27-klnuma.c23 static nodemask_t ktext_repmask;
/linux-6.3-rc2/drivers/irqchip/
A Dirq-loongson-eiointc.c42 nodemask_t node_map;
64 static void eiointc_set_irq_route(int pos, unsigned int cpu, unsigned int mnode, nodemask_t *node_m… in eiointc_set_irq_route()
/linux-6.3-rc2/drivers/base/
A Darch_numa.c20 nodemask_t numa_nodes_parsed __initdata;
/linux-6.3-rc2/kernel/
A Dcrash_core.c451 VMCOREINFO_SIZE(nodemask_t); in crash_save_vmcoreinfo_init()

Completed in 70 milliseconds

12