/linux/include/linux/ |
A D | nodemask.h | 163 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and() 171 static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_or() 179 static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_xor() 187 static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_andnot() 348 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap() 355 static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, in __nodes_remap() 356 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap() 363 static inline void __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, in __nodes_onto() 371 static inline void __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, in __nodes_fold() 533 nodemask_t mask1; [all …]
|
A D | mempolicy.h | 48 nodemask_t nodes; /* interleave/bind/perfer */ 51 nodemask_t cpuset_mems_allowed; /* relative to these nodes */ 52 nodemask_t user_nodemask; /* nodemask passed by user */ 147 struct mempolicy **mpol, nodemask_t **nodemask); 148 extern bool init_nodemask_of_mempolicy(nodemask_t *mask); 150 const nodemask_t *mask); 153 static inline nodemask_t *policy_nodemask_current(gfp_t gfp) in policy_nodemask_current() 171 const nodemask_t *to, int flags); 247 const nodemask_t *new) in mpol_rebind_task() 257 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() [all …]
|
A D | cpuset.h | 78 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 D | gfp.h | 525 nodemask_t *nodemask); 527 nodemask_t *nodemask); 530 nodemask_t *nodemask, int nr_pages, 693 int nid, nodemask_t *nodemask);
|
A D | mmzone.h | 1152 nodemask_t *nodes); 1171 nodemask_t *nodes) in next_zones_zonelist() 1197 nodemask_t *nodes) in first_zones_zonelist() 1240 static inline bool movable_only_nodes(nodemask_t *nodes) in movable_only_nodes()
|
A D | oom.h | 34 nodemask_t *nodemask;
|
A D | hugetlb.h | 640 nodemask_t *nmask, gfp_t gfp_mask); 936 nodemask_t *nmask, gfp_t gfp_mask)
|
/linux/mm/ |
A D | mempolicy.c | 190 nodemask_t tmp; in mpol_relative_nodemask() 317 nodemask_t tmp; in mpol_rebind_nodemask() 418 nodemask_t *nmask; 1055 nodemask_t nmask; in migrate_to_node() 1096 nodemask_t tmp; in do_migrate_pages() 1464 nodemask_t nodes; in kernel_mbind() 1492 nodemask_t nodes; in kernel_set_mempolicy() 1521 nodemask_t *old; in kernel_migrate_pages() 1522 nodemask_t *new; in kernel_migrate_pages() 1618 nodemask_t nodes; in kernel_get_mempolicy() [all …]
|
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()
|
A D | internal.h | 184 nodemask_t *nodemask; 588 extern int find_next_best_node(int node, nodemask_t *used_node_mask); 595 static inline int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node() 692 nodemask_t *nmask;
|
A D | hugetlb.c | 1149 nodemask_t *nmask) in dequeue_huge_page_nodemask() 1192 nodemask_t *nodemask; in dequeue_huge_page_vma() 1262 nodemask_t *nodes_allowed) in hstate_next_node_to_alloc() 1356 int nid, nodemask_t *nodemask) in alloc_gigantic_page() 2012 nodemask_t *nodes_allowed, in remove_pool_huge_page() 2257 nodemask_t *nodemask; in alloc_buddy_huge_page_with_mpol() 2300 nodemask_t *nodemask; in alloc_huge_page_vma() 3075 nodemask_t *node_alloc_noretry; in hugetlb_hstate_alloc_pages() 3185 nodemask_t *nodes_allowed) in try_to_free_low() 3217 nodemask_t *nodes_allowed) in try_to_free_low() [all …]
|
A D | migrate.c | 1774 static int do_pages_move(struct mm_struct *mm, nodemask_t task_nodes, in do_pages_move() 1954 static struct mm_struct *find_mm_struct(pid_t pid, nodemask_t *mem_nodes) in find_mm_struct() 2012 nodemask_t task_nodes; in kernel_move_pages() 3007 static int establish_migrate_target(int node, nodemask_t *used) in establish_migrate_target() 3051 nodemask_t next_pass = NODE_MASK_NONE; in __set_migration_target_nodes() 3052 nodemask_t this_pass = NODE_MASK_NONE; in __set_migration_target_nodes() 3053 nodemask_t used_targets = NODE_MASK_NONE; in __set_migration_target_nodes()
|
A D | page_alloc.c | 166 nodemask_t node_states[NR_NODE_STATES] __read_mostly = { 4182 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem() 5120 int preferred_nid, nodemask_t *nodemask, in prepare_alloc_pages() 5186 nodemask_t *nodemask, int nr_pages, in __alloc_pages_bulk() 5332 nodemask_t *nodemask) in __alloc_pages() 5398 nodemask_t *nodemask) in __folio_alloc() 5877 void show_free_areas(unsigned int filter, nodemask_t *nodemask) in show_free_areas() 6153 int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node() 6249 nodemask_t used_mask = NODE_MASK_NONE; in build_zonelists() 7719 nodemask_t saved_node_state = node_states[N_MEMORY]; in find_zone_movable_pfns_for_nodes() [all …]
|
/linux/lib/ |
A D | nodemask.c | 6 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()
|
A D | show_mem.c | 11 void show_mem(unsigned int filter, nodemask_t *nodemask) in show_mem()
|
/linux/kernel/cgroup/ |
A D | cpuset.c | 115 nodemask_t mems_allowed; 119 nodemask_t effective_mems; 141 nodemask_t old_mems_allowed; 1650 nodemask_t from; 1651 nodemask_t to; 1666 const nodemask_t *to) in cpuset_migrate_mm() 1703 nodemask_t *newmems) in cpuset_change_task_nodemask() 2253 static nodemask_t cpuset_attach_nodemask_to; in cpuset_attach() 3111 static nodemask_t new_mems; in cpuset_hotplug_update_tasks() 3228 static nodemask_t new_mems; in cpuset_hotplug_workfn() [all …]
|
/linux/kernel/irq/ |
A D | affinity.c | 84 const struct cpumask *mask, nodemask_t *nodemsk) in get_nodes_in_cpumask() 131 const nodemask_t nodemsk, in alloc_nodes_vectors() 258 nodemask_t nodemsk = NODE_MASK_NONE; in __irq_build_affinity_masks()
|
/linux/arch/x86/mm/ |
A D | numa.c | 23 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 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()
|
/linux/include/asm-generic/ |
A D | numa.h | 12 extern nodemask_t numa_nodes_parsed __initdata;
|
/linux/arch/x86/include/asm/ |
A D | numa.h | 33 extern nodemask_t numa_nodes_parsed __initdata;
|
/linux/arch/mips/sgi-ip27/ |
A D | ip27-klnuma.c | 23 static nodemask_t ktext_repmask;
|
/linux/drivers/acpi/numa/ |
A D | srat.c | 21 static nodemask_t nodes_found_map = NODE_MASK_NONE;
|
/linux/drivers/base/ |
A D | arch_numa.c | 21 nodemask_t numa_nodes_parsed __initdata;
|
/linux/kernel/ |
A D | crash_core.c | 440 VMCOREINFO_SIZE(nodemask_t); in crash_save_vmcoreinfo_init()
|