Lines Matching refs:mempolicy

46 struct mempolicy {  struct
64 extern void __mpol_put(struct mempolicy *pol);
65 static inline void mpol_put(struct mempolicy *pol) in mpol_put()
75 static inline int mpol_needs_cond_ref(struct mempolicy *pol) in mpol_needs_cond_ref()
80 static inline void mpol_cond_put(struct mempolicy *pol) in mpol_cond_put()
86 extern struct mempolicy *__mpol_dup(struct mempolicy *pol);
87 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()
118 struct mempolicy *policy;
122 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol);
124 struct vm_area_struct *vma, struct mempolicy *mpol);
126 struct mempolicy *mpol_shared_policy_lookup(struct shared_policy *sp,
129 struct mempolicy *get_task_policy(struct task_struct *p);
130 struct mempolicy *__get_vma_policy(struct vm_area_struct *vma,
132 struct mempolicy *get_vma_policy(struct vm_area_struct *vma,
143 struct mempolicy **mpol, nodemask_t **nodemask);
162 extern int mpol_parse_str(char *str, struct mempolicy **mpol);
165 extern void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol);
174 static inline bool mpol_is_preferred_many(struct mempolicy *pol) in mpol_is_preferred_many()
179 extern bool apply_policy_zone(struct mempolicy *policy, enum zone_type zone);
183 struct mempolicy {}; struct
185 static inline struct mempolicy *get_task_policy(struct task_struct *p) in get_task_policy()
190 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal()
195 static inline void mpol_put(struct mempolicy *pol) in mpol_put()
199 static inline void mpol_cond_put(struct mempolicy *pol) in mpol_cond_put()
203 static inline void mpol_get(struct mempolicy *pol) in mpol_get()
210 struct mempolicy *mpol) in mpol_shared_policy_init()
218 static inline struct mempolicy *
224 static inline struct mempolicy *get_vma_policy(struct vm_area_struct *vma, in get_vma_policy()
256 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node()
279 static inline int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str()
296 static inline bool mpol_is_preferred_many(struct mempolicy *pol) in mpol_is_preferred_many()