Home
last modified time | relevance | path

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

12

/linux-2.6.39/include/linux/
Dnodemask.h96 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; typedef
97 extern nodemask_t _unused_nodemask_arg_;
100 static inline void __node_set(int node, volatile nodemask_t *dstp) in __node_set()
106 static inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear()
112 static inline void __nodes_setall(nodemask_t *dstp, int nbits) in __nodes_setall()
118 static inline void __nodes_clear(nodemask_t *dstp, int nbits) in __nodes_clear()
128 static inline int __node_test_and_set(int node, nodemask_t *addr) in __node_test_and_set()
135 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and()
136 const nodemask_t *src2p, int nbits) in __nodes_and()
143 static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_or()
[all …]
Dmempolicy.h104 nodemask_t nodes; /* interleave/bind */
108 nodemask_t cpuset_mems_allowed; /* relative to these nodes */
109 nodemask_t user_nodemask; /* nodemask passed by user */
204 extern void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new,
206 extern void mpol_rebind_mm(struct mm_struct *mm, nodemask_t *new);
211 struct mempolicy **mpol, nodemask_t **nodemask);
212 extern bool init_nodemask_of_mempolicy(nodemask_t *mask);
214 const nodemask_t *mask);
226 const nodemask_t *from_nodes, const nodemask_t *to_nodes, int flags);
321 const nodemask_t *new, in mpol_rebind_task()
[all …]
Dcpuset.h26 extern nodemask_t cpuset_mems_allowed(struct task_struct *p);
29 int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask);
124 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed()
153 static inline nodemask_t cpuset_mems_allowed(struct task_struct *p) in cpuset_mems_allowed()
161 static inline int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask) in cpuset_nodemask_valid_mems_allowed()
233 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed()
Dmigrate.h28 const nodemask_t *from, const nodemask_t *to,
48 const nodemask_t *from, const nodemask_t *to, in migrate_vmas()
Doom.h44 const nodemask_t *nodemask, unsigned long totalpages);
49 int order, nodemask_t *mask);
67 const nodemask_t *nodemask, unsigned long uptime);
Dcompaction.h24 int order, gfp_t gfp_mask, nodemask_t *mask,
61 int order, gfp_t gfp_mask, nodemask_t *nodemask, in try_to_compact_pages()
Dseq_file.h100 static inline int seq_nodemask(struct seq_file *m, nodemask_t *mask) in seq_nodemask()
114 static inline int seq_nodemask_list(struct seq_file *m, nodemask_t *mask) in seq_nodemask_list()
Dmmzone.h863 nodemask_t *nodes,
880 nodemask_t *nodes, in first_zones_zonelist()
Dgfp.h301 struct zonelist *zonelist, nodemask_t *nodemask);
Dswap.h253 gfp_t gfp_mask, nodemask_t *mask);
/linux-2.6.39/mm/
Doom_kill.c52 const nodemask_t *mask) in has_intersects_mems_allowed()
80 const nodemask_t *mask) in has_intersects_mems_allowed()
108 const struct mem_cgroup *mem, const nodemask_t *nodemask) in oom_unkillable_task()
136 const nodemask_t *nodemask, unsigned long totalpages) in oom_badness()
213 gfp_t gfp_mask, nodemask_t *nodemask, in constrained_alloc()
263 gfp_t gfp_mask, nodemask_t *nodemask, in constrained_alloc()
279 const nodemask_t *nodemask) in select_bad_process()
353 static void dump_tasks(const struct mem_cgroup *mem, const nodemask_t *nodemask) in dump_tasks()
383 struct mem_cgroup *mem, const nodemask_t *nodemask) in dump_header()
446 struct mem_cgroup *mem, nodemask_t *nodemask, in oom_kill_process()
[all …]
Dmempolicy.c121 int (*create)(struct mempolicy *pol, const nodemask_t *nodes);
136 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes,
141 static int is_valid_nodemask(const nodemask_t *nodemask) in is_valid_nodemask()
163 static void mpol_relative_nodemask(nodemask_t *ret, const nodemask_t *orig, in mpol_relative_nodemask()
164 const nodemask_t *rel) in mpol_relative_nodemask()
166 nodemask_t tmp; in mpol_relative_nodemask()
171 static int mpol_new_interleave(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_interleave()
179 static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_preferred()
190 static int mpol_new_bind(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_bind()
208 const nodemask_t *nodes, struct nodemask_scratch *nsc) in mpol_set_nodemask()
[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()
Dhugetlb.c459 nodemask_t *nodemask; in dequeue_huge_page_vma()
626 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed()
636 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed()
650 nodemask_t *nodes_allowed) in hstate_next_node_to_alloc()
662 static int alloc_fresh_huge_page(struct hstate *h, nodemask_t *nodes_allowed) in alloc_fresh_huge_page()
695 static int hstate_next_node_to_free(struct hstate *h, nodemask_t *nodes_allowed) in hstate_next_node_to_free()
713 static int free_pool_huge_page(struct hstate *h, nodemask_t *nodes_allowed, in free_pool_huge_page()
1169 nodemask_t *nodes_allowed) in try_to_free_low()
1193 nodemask_t *nodes_allowed) in try_to_free_low()
1203 static int adjust_pool_surplus(struct hstate *h, nodemask_t *nodes_allowed, in adjust_pool_surplus()
[all …]
Dpage_alloc.c81 nodemask_t node_states[NR_NODE_STATES] __read_mostly = {
1537 static nodemask_t *zlc_setup(struct zonelist *zonelist, int alloc_flags) in zlc_setup()
1540 nodemask_t *allowednodes; /* zonelist_cache approximation */ in zlc_setup()
1580 nodemask_t *allowednodes) in zlc_zone_worth_trying()
1618 static nodemask_t *zlc_setup(struct zonelist *zonelist, int alloc_flags) in zlc_setup()
1624 nodemask_t *allowednodes) in zlc_zone_worth_trying()
1639 get_page_from_freelist(gfp_t gfp_mask, nodemask_t *nodemask, unsigned int order, in get_page_from_freelist()
1647 nodemask_t *allowednodes = NULL;/* zonelist_cache approximation */ in get_page_from_freelist()
1776 nodemask_t *nodemask, struct zone *preferred_zone, in __alloc_pages_may_oom()
1829 nodemask_t *nodemask, int alloc_flags, struct zone *preferred_zone, in __alloc_pages_direct_compact()
[all …]
Dmigrate.c1131 nodemask_t task_nodes; in do_pages_move()
1358 int migrate_vmas(struct mm_struct *mm, const nodemask_t *to, in migrate_vmas()
1359 const nodemask_t *from, unsigned long flags) in migrate_vmas()
Dcompaction.c588 int order, gfp_t gfp_mask, nodemask_t *nodemask, in try_to_compact_pages()
/linux-2.6.39/kernel/
Dcpuset.c96 nodemask_t mems_allowed; /* Memory Nodes allowed to tasks */
294 static void guarantee_online_mems(const struct cpuset *cs, nodemask_t *pmask) in guarantee_online_mems()
928 static void cpuset_migrate_mm(struct mm_struct *mm, const nodemask_t *from, in cpuset_migrate_mm()
929 const nodemask_t *to) in cpuset_migrate_mm()
950 nodemask_t *newmems) in cpuset_change_task_nodemask()
1017 const nodemask_t *oldmem = scan->data; in cpuset_change_nodemask()
1018 static nodemask_t newmems; /* protected by cgroup_mutex */ in cpuset_change_nodemask()
1049 static void update_tasks_nodemask(struct cpuset *cs, const nodemask_t *oldmem, in update_tasks_nodemask()
1060 scan.data = (nodemask_t *)oldmem; in update_tasks_nodemask()
1094 NODEMASK_ALLOC(nodemask_t, oldmem, GFP_KERNEL); in update_nodemask()
[all …]
/linux-2.6.39/arch/x86/include/asm/
Dnuma_64.h27 extern nodemask_t numa_nodes_parsed __initdata;
/linux-2.6.39/arch/x86/mm/
Dnuma_64.c29 nodemask_t numa_nodes_parsed __initdata;
374 static void __init numa_nodemask_from_meminfo(nodemask_t *nodemask, in numa_nodemask_from_meminfo()
405 nodemask_t nodes_parsed; in numa_alloc_distance()
Dnuma_emulation.c73 nodemask_t physnode_mask = NODE_MASK_NONE; in split_nodes_interleave()
194 nodemask_t physnode_mask = NODE_MASK_NONE; in split_nodes_size_interleave()
/linux-2.6.39/fs/sysfs/
Dbin.c302 static int bin_migrate(struct vm_area_struct *vma, const nodemask_t *from, in bin_migrate()
303 const nodemask_t *to, unsigned long flags) in bin_migrate()
/linux-2.6.39/drivers/acpi/
Dnuma.c40 static nodemask_t nodes_found_map = NODE_MASK_NONE;
/linux-2.6.39/arch/tile/kernel/
Dsetup.c95 static nodemask_t __initdata isolnodes;
211 nodemask_t highonlynodes = isolnodes; in setup_pa_va_mapping()
740 nodemask_t default_nodes; in setup_numa_mapping()
/linux-2.6.39/arch/ia64/sn/kernel/sn2/
Dsn2_smp.c174 nodemask_t nodes_flushed; in sn2_global_tlb_purge()

12