Lines Matching refs:mempolicy

44 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);
169 extern int mpol_parse_str(char *str, struct mempolicy **mpol);
172 extern void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol);
180 static inline bool mpol_is_preferred_many(struct mempolicy *pol) in mpol_is_preferred_many()
185 extern bool apply_policy_zone(struct mempolicy *policy, enum zone_type zone);
189 struct mempolicy {}; struct
191 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal()
196 static inline void mpol_put(struct mempolicy *p) in mpol_put()
200 static inline void mpol_cond_put(struct mempolicy *pol) in mpol_cond_put()
204 static inline void mpol_get(struct mempolicy *pol) in mpol_get()
211 struct mempolicy *mpol) in mpol_shared_policy_init()
219 static inline struct mempolicy *
252 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node()
275 static inline int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str()
291 static inline bool mpol_is_preferred_many(struct mempolicy *pol) in mpol_is_preferred_many()