Home
last modified time | relevance | path

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

/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.h62 extern nodemask_t cpuset_mems_allowed(struct task_struct *p);
65 int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask);
152 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed()
194 static inline nodemask_t cpuset_mems_allowed(struct task_struct *p) in cpuset_mems_allowed()
202 static inline int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask) in cpuset_nodemask_valid_mems_allowed()
269 static inline void set_mems_allowed(nodemask_t nodemask) in set_mems_allowed()
Doom.h34 nodemask_t *nodemask;
Dmigrate.h35 int preferred_nid, nodemask_t *nodemask) in new_page_nodemask()
Dhugetlb.h357 nodemask_t *nmask);
361 int nid, nodemask_t *nmask);
607 alloc_huge_page_nodemask(struct hstate *h, int preferred_nid, nodemask_t *nmask) in alloc_huge_page_nodemask()
Dmmzone.h1027 nodemask_t *nodes);
1043 nodemask_t *nodes) in next_zones_zonelist()
1068 nodemask_t *nodes) in first_zones_zonelist()
Dgfp.h491 nodemask_t *nodemask);
Dswap.h353 gfp_t gfp_mask, nodemask_t *mask);
Dmm.h1420 extern void show_free_areas(unsigned int flags, nodemask_t *nodemask);
2213 extern void show_mem(unsigned int flags, nodemask_t *nodemask);
2222 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...);
Dmemcontrol.h318 nodemask_t scan_nodes;
Dsched.h1038 nodemask_t mems_allowed;