Lines Matching refs:pol
79 extern void __mpol_free(struct mempolicy *pol);
80 static inline void mpol_free(struct mempolicy *pol)
82 if (pol)
83 __mpol_free(pol);
86 extern struct mempolicy *__mpol_copy(struct mempolicy *pol);
87 static inline struct mempolicy *mpol_copy(struct mempolicy *pol)
89 if (pol)
90 pol = __mpol_copy(pol);
91 return pol;
95 #define vma_set_policy(vma, pol) ((vma)->vm_policy = (pol))
97 static inline void mpol_get(struct mempolicy *pol)
99 if (pol)
100 atomic_inc(&pol->refcnt);
146 extern void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *new);
194 static inline void mpol_get(struct mempolicy *pol)
228 #define vma_set_policy(vma, pol) do {} while(0)
238 static inline void mpol_rebind_policy(struct mempolicy *pol,