Lines Matching refs:mempolicy
45 struct mempolicy { struct
62 extern void __mpol_put(struct mempolicy *pol);
63 static inline void mpol_put(struct mempolicy *pol) in mpol_put()
73 static inline int mpol_needs_cond_ref(struct mempolicy *pol) in mpol_needs_cond_ref()
78 static inline void mpol_cond_put(struct mempolicy *pol) in mpol_cond_put()
84 extern struct mempolicy *__mpol_dup(struct mempolicy *pol);
85 static inline struct mempolicy *mpol_dup(struct mempolicy *pol) in mpol_dup()
94 static inline void mpol_get(struct mempolicy *pol) in mpol_get()
100 extern bool __mpol_equal(struct mempolicy *a, struct mempolicy *b);
101 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal()
119 struct mempolicy *policy;
128 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol);
131 struct mempolicy *new);
133 struct mempolicy *mpol_shared_policy_lookup(struct shared_policy *sp,
136 struct mempolicy *get_task_policy(struct task_struct *p);
137 struct mempolicy *__get_vma_policy(struct vm_area_struct *vma,
148 struct mempolicy **mpol, nodemask_t **nodemask);
152 extern nodemask_t *policy_nodemask(gfp_t gfp, struct mempolicy *policy);
156 struct mempolicy *mpol = get_task_policy(current); in policy_nodemask_current()
176 extern int mpol_parse_str(char *str, struct mempolicy **mpol);
179 extern void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol);
189 static inline bool mpol_is_preferred_many(struct mempolicy *pol) in mpol_is_preferred_many()
197 struct mempolicy {}; struct
199 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal()
204 static inline void mpol_put(struct mempolicy *p) in mpol_put()
208 static inline void mpol_cond_put(struct mempolicy *pol) in mpol_cond_put()
212 static inline void mpol_get(struct mempolicy *pol) in mpol_get()
219 struct mempolicy *mpol) in mpol_shared_policy_init()
227 static inline struct mempolicy *
260 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node()
283 static inline int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str()
306 static inline bool mpol_is_preferred_many(struct mempolicy *pol) in mpol_is_preferred_many()