/linux-4.4.14/include/linux/ |
D | nodemask.h | 95 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; typedef 96 extern nodemask_t _unused_nodemask_arg_; 116 static __always_inline void __node_set(int node, volatile nodemask_t *dstp) in __node_set() 122 static inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear() 128 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall() 134 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear() 144 static inline int __node_test_and_set(int node, nodemask_t *addr) in __node_test_and_set() 151 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and() 152 const nodemask_t *src2p, unsigned int nbits) in __nodes_and() 159 static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_or() [all …]
|
D | mempolicy.h | 49 nodemask_t nodes; /* interleave/bind */ 53 nodemask_t cpuset_mems_allowed; /* relative to these nodes */ 54 nodemask_t user_nodemask; /* nodemask passed by user */ 144 extern void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new, 146 extern void mpol_rebind_mm(struct mm_struct *mm, nodemask_t *new); 150 struct mempolicy **mpol, nodemask_t **nodemask); 151 extern bool init_nodemask_of_mempolicy(nodemask_t *mask); 153 const nodemask_t *mask); 164 int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from, 165 const nodemask_t *to, int flags); [all …]
|
D | cpuset.h | 46 extern nodemask_t cpuset_mems_allowed(struct task_struct *p); 49 int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask); 127 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed() 162 static inline nodemask_t cpuset_mems_allowed(struct task_struct *p) in cpuset_mems_allowed() 170 static inline int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask) in cpuset_nodemask_valid_mems_allowed() 232 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed()
|
D | oom.h | 24 nodemask_t *nodemask; 76 struct mem_cgroup *memcg, const nodemask_t *nodemask,
|
D | mmzone.h | 926 nodemask_t *nodes); 942 nodemask_t *nodes, in first_zones_zonelist()
|
D | gfp.h | 409 struct zonelist *zonelist, nodemask_t *nodemask);
|
D | swap.h | 320 gfp_t gfp_mask, nodemask_t *mask);
|
D | memcontrol.h | 261 nodemask_t scan_nodes;
|
D | sched.h | 1663 nodemask_t mems_allowed; /* Protected by alloc_lock */
|
/linux-4.4.14/mm/ |
D | mempolicy.c | 146 int (*create)(struct mempolicy *pol, const nodemask_t *nodes); 161 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes, 170 static void mpol_relative_nodemask(nodemask_t *ret, const nodemask_t *orig, in mpol_relative_nodemask() 171 const nodemask_t *rel) in mpol_relative_nodemask() 173 nodemask_t tmp; in mpol_relative_nodemask() 178 static int mpol_new_interleave(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_interleave() 186 static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_preferred() 197 static int mpol_new_bind(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_bind() 215 const nodemask_t *nodes, struct nodemask_scratch *nsc) in mpol_set_nodemask() 254 nodemask_t *nodes) in mpol_new() [all …]
|
D | mmzone.c | 45 static inline int zref_in_nodemask(struct zoneref *zref, nodemask_t *nodes) in zref_in_nodemask() 57 nodemask_t *nodes) in next_zones_zonelist()
|
D | oom_kill.c | 59 const nodemask_t *mask) in has_intersects_mems_allowed() 90 const nodemask_t *mask) in has_intersects_mems_allowed() 132 struct mem_cgroup *memcg, const nodemask_t *nodemask) in oom_unkillable_task() 160 const nodemask_t *nodemask, unsigned long totalpages) in oom_badness() 353 static void dump_tasks(struct mem_cgroup *memcg, const nodemask_t *nodemask) in dump_tasks()
|
D | hugetlb.c | 882 nodemask_t *nodemask; in dequeue_huge_page_vma() 939 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed() 949 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed() 963 nodemask_t *nodes_allowed) in hstate_next_node_to_alloc() 981 static int hstate_next_node_to_free(struct hstate *h, nodemask_t *nodes_allowed) in hstate_next_node_to_free() 1118 nodemask_t *nodes_allowed) in alloc_fresh_gigantic_page() 1139 nodemask_t *nodes_allowed) { return 0; } in alloc_fresh_gigantic_page() 1351 static int alloc_fresh_huge_page(struct hstate *h, nodemask_t *nodes_allowed) in alloc_fresh_huge_page() 1379 static int free_pool_huge_page(struct hstate *h, nodemask_t *nodes_allowed, in free_pool_huge_page() 1495 nodemask_t *nodemask; in __hugetlb_alloc_buddy_huge_page() [all …]
|
D | internal.h | 146 nodemask_t *nodemask;
|
D | migrate.c | 1320 static int do_pages_move(struct mm_struct *mm, nodemask_t task_nodes, in do_pages_move() 1488 nodemask_t task_nodes; in SYSCALL_DEFINE6()
|
D | vmscan.c | 75 nodemask_t *nodemask; 2743 nodemask_t *nodemask) in throttle_direct_reclaim() 2827 gfp_t gfp_mask, nodemask_t *nodemask) in try_to_free_pages()
|
D | page_alloc.c | 95 nodemask_t node_states[NR_NODE_STATES] __read_mostly = { 3193 struct zonelist *zonelist, nodemask_t *nodemask) in __alloc_pages_nodemask() 4024 static int find_next_best_node(int node, nodemask_t *used_node_mask) in find_next_best_node() 4172 nodemask_t used_mask; in build_zonelists() 5494 nodemask_t saved_node_state = node_states[N_MEMORY]; in find_zone_movable_pfns_for_nodes()
|
D | slub.c | 4187 nodemask_t nodes;
|
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_cpu.h | 97 nodemask_t ctb_nodemask; 141 nodemask_t *cfs_cpt_nodemask(struct cfs_cpt_table *cptab, int cpt); 189 int cpt, nodemask_t *mask); 194 int cpt, nodemask_t *mask);
|
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/linux/ |
D | linux-cpu.h | 58 nodemask_t *cpt_nodemask; 78 nodemask_t *ctb_nodemask;
|
/linux-4.4.14/kernel/ |
D | cpuset.c | 101 nodemask_t mems_allowed; 105 nodemask_t effective_mems; 117 nodemask_t old_mems_allowed; 353 static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask) in guarantee_online_mems() 985 nodemask_t from; 986 nodemask_t to; 1000 static void cpuset_migrate_mm(struct mm_struct *mm, const nodemask_t *from, in cpuset_migrate_mm() 1001 const nodemask_t *to) in cpuset_migrate_mm() 1032 nodemask_t *newmems) in cpuset_change_task_nodemask() 1086 static nodemask_t newmems; /* protected by cpuset_mutex */ in update_tasks_nodemask() [all …]
|
D | kexec_core.c | 1384 VMCOREINFO_SIZE(nodemask_t); in crash_save_vmcoreinfo_init()
|
D | compat.c | 1114 nodemask_t tmp_mask; in COMPAT_SYSCALL_DEFINE4()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | libcfs_cpu.c | 154 cfs_cpt_set_nodemask(struct cfs_cpt_table *cptab, int cpt, nodemask_t *mask) in cfs_cpt_set_nodemask() 161 cfs_cpt_unset_nodemask(struct cfs_cpt_table *cptab, int cpt, nodemask_t *mask) in cfs_cpt_unset_nodemask()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | numa.h | 31 extern nodemask_t numa_nodes_parsed __initdata;
|
/linux-4.4.14/arch/x86/mm/ |
D | numa.c | 24 nodemask_t numa_nodes_parsed __initdata; 321 static void __init numa_nodemask_from_meminfo(nodemask_t *nodemask, in numa_nodemask_from_meminfo() 351 nodemask_t nodes_parsed; in numa_alloc_distance() 471 nodemask_t numa_kernel_nodes = NODE_MASK_NONE; in numa_clear_kernel_node_hotplug()
|
D | numa_emulation.c | 84 nodemask_t physnode_mask = NODE_MASK_NONE; in split_nodes_interleave() 209 nodemask_t physnode_mask = NODE_MASK_NONE; in split_nodes_size_interleave()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-cpu.c | 271 nodemask_t * 462 cfs_cpt_set_nodemask(struct cfs_cpt_table *cptab, int cpt, nodemask_t *mask) in cfs_cpt_set_nodemask() 476 cfs_cpt_unset_nodemask(struct cfs_cpt_table *cptab, int cpt, nodemask_t *mask) in cfs_cpt_unset_nodemask() 508 nodemask_t *mask; in cfs_cpt_spread_node() 570 nodemask_t *nodemask; in cfs_cpt_bind()
|
/linux-4.4.14/drivers/acpi/ |
D | numa.c | 37 static nodemask_t nodes_found_map = NODE_MASK_NONE;
|
/linux-4.4.14/arch/tile/kernel/ |
D | setup.c | 117 static nodemask_t __initdata isolnodes; 287 nodemask_t highonlynodes = isolnodes; in setup_pa_va_mapping() 890 nodemask_t default_nodes; in setup_numa_mapping()
|
/linux-4.4.14/arch/ia64/sn/kernel/sn2/ |
D | sn2_smp.c | 173 nodemask_t nodes_flushed; in sn2_global_tlb_purge()
|
/linux-4.4.14/arch/ia64/mm/ |
D | discontig.c | 48 static nodemask_t memory_less_mask __initdata;
|
/linux-4.4.14/drivers/base/ |
D | node.c | 428 NODEMASK_ALLOC(nodemask_t, unlinked_nodes, GFP_KERNEL); in unregister_mem_sect_under_nodes()
|
/linux-4.4.14/kernel/sched/ |
D | fair.c | 885 nodemask_t active_nodes; 1729 nodemask_t nodes; in preferred_group_nid() 1769 nodemask_t max_group = NODE_MASK_NONE; in preferred_group_nid() 1778 nodemask_t this_group; in preferred_group_nid()
|