Lines Matching refs:mempolicy

45 struct mempolicy {  struct
65 extern void __mpol_put(struct mempolicy *pol);
66 static inline void mpol_put(struct mempolicy *pol) in mpol_put()
76 static inline int mpol_needs_cond_ref(struct mempolicy *pol) in mpol_needs_cond_ref()
81 static inline void mpol_cond_put(struct mempolicy *pol) in mpol_cond_put()
87 extern struct mempolicy *__mpol_dup(struct mempolicy *pol);
88 static inline struct mempolicy *mpol_dup(struct mempolicy *pol) in mpol_dup()
97 static inline void mpol_get(struct mempolicy *pol) in mpol_get()
103 extern bool __mpol_equal(struct mempolicy *a, struct mempolicy *b);
104 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal()
122 struct mempolicy *policy;
131 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol);
134 struct mempolicy *new);
136 struct mempolicy *mpol_shared_policy_lookup(struct shared_policy *sp,
139 struct mempolicy *get_task_policy(struct task_struct *p);
140 struct mempolicy *__get_vma_policy(struct vm_area_struct *vma,
151 struct mempolicy **mpol, nodemask_t **nodemask);
170 extern int mpol_parse_str(char *str, struct mempolicy **mpol);
173 extern void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol);
210 struct mempolicy {}; struct
212 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal()
217 static inline void mpol_put(struct mempolicy *p) in mpol_put()
221 static inline void mpol_cond_put(struct mempolicy *pol) in mpol_cond_put()
225 static inline void mpol_get(struct mempolicy *pol) in mpol_get()
232 struct mempolicy *mpol) in mpol_shared_policy_init()
240 static inline struct mempolicy *
273 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node()
296 static inline int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str()