Lines Matching refs:mempolicy
43 struct mempolicy { struct
63 extern void __mpol_put(struct mempolicy *pol);
64 static inline void mpol_put(struct mempolicy *pol) in mpol_put()
74 static inline int mpol_needs_cond_ref(struct mempolicy *pol) in mpol_needs_cond_ref()
79 static inline void mpol_cond_put(struct mempolicy *pol) in mpol_cond_put()
85 extern struct mempolicy *__mpol_dup(struct mempolicy *pol);
86 static inline struct mempolicy *mpol_dup(struct mempolicy *pol) in mpol_dup()
95 static inline void mpol_get(struct mempolicy *pol) in mpol_get()
101 extern bool __mpol_equal(struct mempolicy *a, struct mempolicy *b);
102 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal()
120 struct mempolicy *policy;
129 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol);
132 struct mempolicy *new);
134 struct mempolicy *mpol_shared_policy_lookup(struct shared_policy *sp,
137 struct mempolicy *get_task_policy(struct task_struct *p);
138 struct mempolicy *__get_vma_policy(struct vm_area_struct *vma,
150 struct mempolicy **mpol, nodemask_t **nodemask);
169 extern int mpol_parse_str(char *str, struct mempolicy **mpol);
172 extern void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol);
201 struct mempolicy {}; struct
203 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal()
208 static inline void mpol_put(struct mempolicy *p) in mpol_put()
212 static inline void mpol_cond_put(struct mempolicy *pol) in mpol_cond_put()
216 static inline void mpol_get(struct mempolicy *pol) in mpol_get()
223 struct mempolicy *mpol) in mpol_shared_policy_init()
259 struct mempolicy **mpol, nodemask_t **nodemask) in huge_zonelist()
282 static inline int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str()