Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dnodemask.h95 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 …]
Dmempolicy.h49 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 …]
Dcpuset.h46 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()
Doom.h24 nodemask_t *nodemask;
76 struct mem_cgroup *memcg, const nodemask_t *nodemask,
Dmmzone.h926 nodemask_t *nodes);
942 nodemask_t *nodes, in first_zones_zonelist()
Dgfp.h409 struct zonelist *zonelist, nodemask_t *nodemask);
Dswap.h320 gfp_t gfp_mask, nodemask_t *mask);
Dmemcontrol.h261 nodemask_t scan_nodes;
Dsched.h1663 nodemask_t mems_allowed; /* Protected by alloc_lock */
/linux-4.4.14/mm/
Dmempolicy.c146 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 …]
Dmmzone.c45 static inline int zref_in_nodemask(struct zoneref *zref, nodemask_t *nodes) in zref_in_nodemask()
57 nodemask_t *nodes) in next_zones_zonelist()
Doom_kill.c59 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()
Dhugetlb.c882 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 …]
Dinternal.h146 nodemask_t *nodemask;
Dmigrate.c1320 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()
Dvmscan.c75 nodemask_t *nodemask;
2743 nodemask_t *nodemask) in throttle_direct_reclaim()
2827 gfp_t gfp_mask, nodemask_t *nodemask) in try_to_free_pages()
Dpage_alloc.c95 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()
Dslub.c4187 nodemask_t nodes;
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_cpu.h97 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/
Dlinux-cpu.h58 nodemask_t *cpt_nodemask;
78 nodemask_t *ctb_nodemask;
/linux-4.4.14/kernel/
Dcpuset.c101 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 …]
Dkexec_core.c1384 VMCOREINFO_SIZE(nodemask_t); in crash_save_vmcoreinfo_init()
Dcompat.c1114 nodemask_t tmp_mask; in COMPAT_SYSCALL_DEFINE4()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dlibcfs_cpu.c154 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/
Dnuma.h31 extern nodemask_t numa_nodes_parsed __initdata;
/linux-4.4.14/arch/x86/mm/
Dnuma.c24 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()
Dnuma_emulation.c84 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/
Dlinux-cpu.c271 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/
Dnuma.c37 static nodemask_t nodes_found_map = NODE_MASK_NONE;
/linux-4.4.14/arch/tile/kernel/
Dsetup.c117 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/
Dsn2_smp.c173 nodemask_t nodes_flushed; in sn2_global_tlb_purge()
/linux-4.4.14/arch/ia64/mm/
Ddiscontig.c48 static nodemask_t memory_less_mask __initdata;
/linux-4.4.14/drivers/base/
Dnode.c428 NODEMASK_ALLOC(nodemask_t, unlinked_nodes, GFP_KERNEL); in unregister_mem_sect_under_nodes()
/linux-4.4.14/kernel/sched/
Dfair.c885 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()