Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/linux/
Dnodemask.h98 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; typedef
99 extern nodemask_t _unused_nodemask_arg_;
109 static inline unsigned int __nodemask_pr_numnodes(const nodemask_t *m) in __nodemask_pr_numnodes()
113 static inline const unsigned long *__nodemask_pr_bits(const nodemask_t *m) in __nodemask_pr_bits()
128 static __always_inline void __node_set(int node, volatile nodemask_t *dstp) in __node_set()
134 static inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear()
140 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall()
146 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear()
156 static inline int __node_test_and_set(int node, nodemask_t *addr) in __node_test_and_set()
163 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and()
[all …]
Dmempolicy.h51 nodemask_t nodes; /* interleave/bind */
55 nodemask_t cpuset_mems_allowed; /* relative to these nodes */
56 nodemask_t user_nodemask; /* nodemask passed by user */
146 extern void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new);
147 extern void mpol_rebind_mm(struct mm_struct *mm, nodemask_t *new);
151 struct mempolicy **mpol, nodemask_t **nodemask);
152 extern bool init_nodemask_of_mempolicy(nodemask_t *mask);
154 const nodemask_t *mask);
165 int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from,
166 const nodemask_t *to, int flags);
[all …]
Dcpuset.h60 extern nodemask_t cpuset_mems_allowed(struct task_struct *p);
63 int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask);
150 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed()
189 static inline nodemask_t cpuset_mems_allowed(struct task_struct *p) in cpuset_mems_allowed()
197 static inline int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask) in cpuset_nodemask_valid_mems_allowed()
264 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed()
Doom.h27 nodemask_t *nodemask;
101 struct mem_cgroup *memcg, const nodemask_t *nodemask,
Dmmzone.h966 nodemask_t *nodes);
982 nodemask_t *nodes) in next_zones_zonelist()
1007 nodemask_t *nodes) in first_zones_zonelist()
Dmigrate.h35 int preferred_nid, nodemask_t *nodemask) in new_page_nodemask()
Dgfp.h468 nodemask_t *nodemask);
/Linux-v4.19/mm/
Dmempolicy.c150 int (*create)(struct mempolicy *pol, const nodemask_t *nodes);
151 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes);
159 static void mpol_relative_nodemask(nodemask_t *ret, const nodemask_t *orig, in mpol_relative_nodemask()
160 const nodemask_t *rel) in mpol_relative_nodemask()
162 nodemask_t tmp; in mpol_relative_nodemask()
167 static int mpol_new_interleave(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_interleave()
175 static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_preferred()
186 static int mpol_new_bind(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_bind()
204 const nodemask_t *nodes, struct nodemask_scratch *nsc) in mpol_set_nodemask()
243 nodemask_t *nodes) in mpol_new()
[all …]
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()
Doom_kill.c77 const nodemask_t *mask) in has_intersects_mems_allowed()
108 const nodemask_t *mask) in has_intersects_mems_allowed()
155 struct mem_cgroup *memcg, const nodemask_t *nodemask) in oom_unkillable_task()
204 const nodemask_t *nodemask, unsigned long totalpages) in oom_badness()
398 static void dump_tasks(struct mem_cgroup *memcg, const nodemask_t *nodemask) in dump_tasks()
Dhugetlb.c884 nodemask_t *nmask) in dequeue_huge_page_nodemask()
936 nodemask_t *nodemask; in dequeue_huge_page_vma()
974 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed()
982 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed()
996 nodemask_t *nodes_allowed) in hstate_next_node_to_alloc()
1014 static int hstate_next_node_to_free(struct hstate *h, nodemask_t *nodes_allowed) in hstate_next_node_to_free()
1105 int nid, nodemask_t *nodemask) in alloc_gigantic_page()
1149 int nid, nodemask_t *nodemask) { return NULL; } in alloc_gigantic_page()
1376 gfp_t gfp_mask, int nid, nodemask_t *nmask) in alloc_buddy_huge_page()
1398 gfp_t gfp_mask, int nid, nodemask_t *nmask) in alloc_fresh_huge_page()
[all …]
Dinternal.h119 nodemask_t *nodemask;
Dpage_alloc.c110 nodemask_t node_states[NR_NODE_STATES] __read_mostly = {
3383 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem()
3406 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc()
4304 int preferred_nid, nodemask_t *nodemask, in prepare_alloc_pages()
4355 nodemask_t *nodemask) in __alloc_pages_nodemask()
4799 static bool show_mem_node_skip(unsigned int flags, int nid, nodemask_t *nodemask) in show_mem_node_skip()
4853 void show_free_areas(unsigned int filter, nodemask_t *nodemask) in show_free_areas()
5139 static int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node()
5237 nodemask_t used_mask; in build_zonelists()
6600 nodemask_t saved_node_state = node_states[N_MEMORY]; in find_zone_movable_pfns_for_nodes()
/Linux-v4.19/lib/
Dnodemask.c6 int __next_node_in(int node, const nodemask_t *srcp) in __next_node_in()
21 int node_random(const nodemask_t *maskp) in node_random()
Dshow_mem.c12 void show_mem(unsigned int filter, nodemask_t *nodemask) in show_mem()
/Linux-v4.19/kernel/cgroup/
Dcpuset.c106 nodemask_t mems_allowed;
110 nodemask_t effective_mems;
122 nodemask_t old_mems_allowed;
379 static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask) in guarantee_online_mems()
1012 nodemask_t from;
1013 nodemask_t to;
1027 static void cpuset_migrate_mm(struct mm_struct *mm, const nodemask_t *from, in cpuset_migrate_mm()
1028 const nodemask_t *to) in cpuset_migrate_mm()
1060 nodemask_t *newmems) in cpuset_change_task_nodemask()
1089 static nodemask_t newmems; /* protected by cpuset_mutex */ in update_tasks_nodemask()
[all …]
/Linux-v4.19/kernel/irq/
Daffinity.c83 const struct cpumask *mask, nodemask_t *nodemsk) in get_nodes_in_cpumask()
107 nodemask_t nodemsk = NODE_MASK_NONE; in irq_build_affinity_masks()
/Linux-v4.19/arch/arm64/include/asm/
Dnuma.h14 extern nodemask_t numa_nodes_parsed __initdata;
/Linux-v4.19/arch/x86/include/asm/
Dnuma.h32 extern nodemask_t numa_nodes_parsed __initdata;
/Linux-v4.19/arch/ia64/sn/kernel/sn2/
Dsn2_smp.c58 sn2_ptc_deadlock_recovery(nodemask_t, short, short, int,
174 nodemask_t nodes_flushed; in sn2_global_tlb_purge()
332 sn2_ptc_deadlock_recovery(nodemask_t nodes, short ib, short ie, int mynasid, in sn2_ptc_deadlock_recovery()
/Linux-v4.19/arch/x86/mm/
Dnuma.c23 nodemask_t numa_nodes_parsed __initdata;
320 static void __init numa_nodemask_from_meminfo(nodemask_t *nodemask, in numa_nodemask_from_meminfo()
350 nodemask_t nodes_parsed; in numa_alloc_distance()
473 nodemask_t reserved_nodemask = NODE_MASK_NONE; in numa_clear_kernel_node_hotplug()
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-v4.19/arch/arm64/mm/
Dnuma.c33 nodemask_t numa_nodes_parsed __initdata;
/Linux-v4.19/drivers/acpi/
Dnuma.c36 static nodemask_t nodes_found_map = NODE_MASK_NONE;
/Linux-v4.19/kernel/
Dcrash_core.c424 VMCOREINFO_SIZE(nodemask_t); in crash_save_vmcoreinfo_init()

12