mempolicy 415 fs/kernfs/file.c struct mempolicy *new) mempolicy 435 fs/kernfs/file.c static struct mempolicy *kernfs_vma_get_policy(struct vm_area_struct *vma, mempolicy 440 fs/kernfs/file.c struct mempolicy *pol; mempolicy 18 fs/proc/internal.h struct mempolicy; mempolicy 284 fs/proc/internal.h struct mempolicy *task_mempolicy; mempolicy 1824 fs/proc/task_mmu.c struct mempolicy *pol; mempolicy 65 include/linux/mempolicy.h extern void __mpol_put(struct mempolicy *pol); mempolicy 66 include/linux/mempolicy.h static inline void mpol_put(struct mempolicy *pol) mempolicy 76 include/linux/mempolicy.h static inline int mpol_needs_cond_ref(struct mempolicy *pol) mempolicy 81 include/linux/mempolicy.h static inline void mpol_cond_put(struct mempolicy *pol) mempolicy 87 include/linux/mempolicy.h extern struct mempolicy *__mpol_dup(struct mempolicy *pol); mempolicy 88 include/linux/mempolicy.h static inline struct mempolicy *mpol_dup(struct mempolicy *pol) mempolicy 97 include/linux/mempolicy.h static inline void mpol_get(struct mempolicy *pol) mempolicy 103 include/linux/mempolicy.h extern bool __mpol_equal(struct mempolicy *a, struct mempolicy *b); mempolicy 104 include/linux/mempolicy.h static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) mempolicy 122 include/linux/mempolicy.h struct mempolicy *policy; mempolicy 131 include/linux/mempolicy.h void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol); mempolicy 134 include/linux/mempolicy.h struct mempolicy *new); mempolicy 136 include/linux/mempolicy.h struct mempolicy *mpol_shared_policy_lookup(struct shared_policy *sp, mempolicy 139 include/linux/mempolicy.h struct mempolicy *get_task_policy(struct task_struct *p); mempolicy 140 include/linux/mempolicy.h struct mempolicy *__get_vma_policy(struct vm_area_struct *vma, mempolicy 151 include/linux/mempolicy.h struct mempolicy **mpol, nodemask_t **nodemask); mempolicy 170 include/linux/mempolicy.h extern int mpol_parse_str(char *str, struct mempolicy **mpol); mempolicy 173 include/linux/mempolicy.h extern void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol); mempolicy 212 include/linux/mempolicy.h static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) mempolicy 217 include/linux/mempolicy.h static inline void mpol_put(struct mempolicy *p) mempolicy 221 include/linux/mempolicy.h static inline void mpol_cond_put(struct mempolicy *pol) mempolicy 225 include/linux/mempolicy.h static inline void mpol_get(struct mempolicy *pol) mempolicy 232 include/linux/mempolicy.h struct mempolicy *mpol) mempolicy 240 include/linux/mempolicy.h static inline struct mempolicy * mempolicy 273 include/linux/mempolicy.h struct mempolicy **mpol, nodemask_t **nodemask) mempolicy 296 include/linux/mempolicy.h static inline int mpol_parse_str(char *str, struct mempolicy **mpol) mempolicy 31 include/linux/mm.h struct mempolicy; mempolicy 505 include/linux/mm.h int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new); mempolicy 517 include/linux/mm.h struct mempolicy *(*get_policy)(struct vm_area_struct *vma, mempolicy 2288 include/linux/mm.h struct mempolicy *, struct vm_userfaultfd_ctx); mempolicy 353 include/linux/mm_types.h struct mempolicy *vm_policy; /* NUMA policy for the VMA */ mempolicy 45 include/linux/sched.h struct mempolicy; mempolicy 1070 include/linux/sched.h struct mempolicy *mempolicy; mempolicy 38 include/linux/shmem_fs.h struct mempolicy *mpol; /* default memory policy for mappings */ mempolicy 460 ipc/shm.c static int shm_set_policy(struct vm_area_struct *vma, struct mempolicy *new) mempolicy 471 ipc/shm.c static struct mempolicy *shm_get_policy(struct vm_area_struct *vma, mempolicy 476 ipc/shm.c struct mempolicy *pol = NULL; mempolicy 1935 kernel/fork.c p->mempolicy = mpol_dup(p->mempolicy); mempolicy 1936 kernel/fork.c if (IS_ERR(p->mempolicy)) { mempolicy 1937 kernel/fork.c retval = PTR_ERR(p->mempolicy); mempolicy 1938 kernel/fork.c p->mempolicy = NULL; mempolicy 2272 kernel/fork.c mpol_put(p->mempolicy); mempolicy 834 kernel/sched/debug.c struct mempolicy *pol; mempolicy 840 kernel/sched/debug.c pol = p->mempolicy; mempolicy 945 mm/hugetlb.c struct mempolicy *mpol; mempolicy 1741 mm/hugetlb.c struct mempolicy *mpol; mempolicy 1798 mm/hugetlb.c struct mempolicy *mpol; mempolicy 122 mm/mempolicy.c static struct mempolicy default_policy = { mempolicy 128 mm/mempolicy.c static struct mempolicy preferred_node_policy[MAX_NUMNODES]; mempolicy 130 mm/mempolicy.c struct mempolicy *get_task_policy(struct task_struct *p) mempolicy 132 mm/mempolicy.c struct mempolicy *pol = p->mempolicy; mempolicy 150 mm/mempolicy.c int (*create)(struct mempolicy *pol, const nodemask_t *nodes); mempolicy 151 mm/mempolicy.c void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes); mempolicy 154 mm/mempolicy.c static inline int mpol_store_user_nodemask(const struct mempolicy *pol) mempolicy 167 mm/mempolicy.c static int mpol_new_interleave(struct mempolicy *pol, const nodemask_t *nodes) mempolicy 175 mm/mempolicy.c static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) mempolicy 186 mm/mempolicy.c static int mpol_new_bind(struct mempolicy *pol, const nodemask_t *nodes) mempolicy 203 mm/mempolicy.c static int mpol_set_nodemask(struct mempolicy *pol, mempolicy 242 mm/mempolicy.c static struct mempolicy *mpol_new(unsigned short mode, unsigned short flags, mempolicy 245 mm/mempolicy.c struct mempolicy *policy; mempolicy 287 mm/mempolicy.c void __mpol_put(struct mempolicy *p) mempolicy 294 mm/mempolicy.c static void mpol_rebind_default(struct mempolicy *pol, const nodemask_t *nodes) mempolicy 298 mm/mempolicy.c static void mpol_rebind_nodemask(struct mempolicy *pol, const nodemask_t *nodes) mempolicy 318 mm/mempolicy.c static void mpol_rebind_preferred(struct mempolicy *pol, mempolicy 349 mm/mempolicy.c static void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *newmask) mempolicy 369 mm/mempolicy.c mpol_rebind_policy(tsk->mempolicy, new); mempolicy 699 mm/mempolicy.c struct mempolicy *pol) mempolicy 702 mm/mempolicy.c struct mempolicy *old; mempolicy 703 mm/mempolicy.c struct mempolicy *new; mempolicy 732 mm/mempolicy.c unsigned long end, struct mempolicy *new_pol) mempolicy 795 mm/mempolicy.c struct mempolicy *new, *old; mempolicy 815 mm/mempolicy.c old = current->mempolicy; mempolicy 816 mm/mempolicy.c current->mempolicy = new; mempolicy 832 mm/mempolicy.c static void get_policy_nodemask(struct mempolicy *p, nodemask_t *nodes) mempolicy 877 mm/mempolicy.c struct mempolicy *pol = current->mempolicy, *pol_refcount = NULL; mempolicy 930 mm/mempolicy.c } else if (pol == current->mempolicy && mempolicy 1222 mm/mempolicy.c struct mempolicy *new; mempolicy 1702 mm/mempolicy.c struct mempolicy *__get_vma_policy(struct vm_area_struct *vma, mempolicy 1705 mm/mempolicy.c struct mempolicy *pol = NULL; mempolicy 1739 mm/mempolicy.c static struct mempolicy *get_vma_policy(struct vm_area_struct *vma, mempolicy 1742 mm/mempolicy.c struct mempolicy *pol = __get_vma_policy(vma, addr); mempolicy 1752 mm/mempolicy.c struct mempolicy *pol; mempolicy 1772 mm/mempolicy.c static int apply_policy_zone(struct mempolicy *policy, enum zone_type zone) mempolicy 1796 mm/mempolicy.c static nodemask_t *policy_nodemask(gfp_t gfp, struct mempolicy *policy) mempolicy 1808 mm/mempolicy.c static int policy_node(gfp_t gfp, struct mempolicy *policy, mempolicy 1826 mm/mempolicy.c static unsigned interleave_nodes(struct mempolicy *policy) mempolicy 1843 mm/mempolicy.c struct mempolicy *policy; mempolicy 1849 mm/mempolicy.c policy = current->mempolicy; mempolicy 1888 mm/mempolicy.c static unsigned offset_il_node(struct mempolicy *pol, unsigned long n) mempolicy 1905 mm/mempolicy.c static inline unsigned interleave_nid(struct mempolicy *pol, mempolicy 1943 mm/mempolicy.c struct mempolicy **mpol, nodemask_t **nodemask) mempolicy 1979 mm/mempolicy.c struct mempolicy *mempolicy; mempolicy 1982 mm/mempolicy.c if (!(mask && current->mempolicy)) mempolicy 1986 mm/mempolicy.c mempolicy = current->mempolicy; mempolicy 1987 mm/mempolicy.c switch (mempolicy->mode) { mempolicy 1989 mm/mempolicy.c if (mempolicy->flags & MPOL_F_LOCAL) mempolicy 1992 mm/mempolicy.c nid = mempolicy->v.preferred_node; mempolicy 1999 mm/mempolicy.c *mask = mempolicy->v.nodes; mempolicy 2024 mm/mempolicy.c struct mempolicy *mempolicy; mempolicy 2030 mm/mempolicy.c mempolicy = tsk->mempolicy; mempolicy 2031 mm/mempolicy.c if (!mempolicy) mempolicy 2034 mm/mempolicy.c switch (mempolicy->mode) { mempolicy 2045 mm/mempolicy.c ret = nodes_intersects(mempolicy->v.nodes, *mask); mempolicy 2101 mm/mempolicy.c struct mempolicy *pol; mempolicy 2179 mm/mempolicy.c struct mempolicy *pol = &default_policy; mempolicy 2202 mm/mempolicy.c struct mempolicy *pol = mpol_dup(vma_policy(src)); mempolicy 2222 mm/mempolicy.c struct mempolicy *__mpol_dup(struct mempolicy *old) mempolicy 2224 mm/mempolicy.c struct mempolicy *new = kmem_cache_alloc(policy_cache, GFP_KERNEL); mempolicy 2230 mm/mempolicy.c if (old == current->mempolicy) { mempolicy 2246 mm/mempolicy.c bool __mpol_equal(struct mempolicy *a, struct mempolicy *b) mempolicy 2344 mm/mempolicy.c struct mempolicy * mempolicy 2347 mm/mempolicy.c struct mempolicy *pol = NULL; mempolicy 2387 mm/mempolicy.c struct mempolicy *pol; mempolicy 2459 mm/mempolicy.c struct mempolicy *pol; mempolicy 2462 mm/mempolicy.c pol = task->mempolicy; mempolicy 2463 mm/mempolicy.c task->mempolicy = NULL; mempolicy 2476 mm/mempolicy.c unsigned long end, struct mempolicy *pol) mempolicy 2484 mm/mempolicy.c struct mempolicy *pol) mempolicy 2487 mm/mempolicy.c struct mempolicy *newpol; mempolicy 2510 mm/mempolicy.c struct mempolicy *mpol_new = NULL; mempolicy 2580 mm/mempolicy.c void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol) mempolicy 2589 mm/mempolicy.c struct mempolicy *new; mempolicy 2620 mm/mempolicy.c struct vm_area_struct *vma, struct mempolicy *npol) mempolicy 2716 mm/mempolicy.c sizeof(struct mempolicy), mempolicy 2724 mm/mempolicy.c preferred_node_policy[nid] = (struct mempolicy) { mempolicy 2796 mm/mempolicy.c int mpol_parse_str(char *str, struct mempolicy **mpol) mempolicy 2798 mm/mempolicy.c struct mempolicy *new = NULL; mempolicy 2928 mm/mempolicy.c void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol) mempolicy 1139 mm/mmap.c pgoff_t pgoff, struct mempolicy *policy, mempolicy 114 mm/shmem.c struct mempolicy *mpol; mempolicy 1398 mm/shmem.c static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) mempolicy 1410 mm/shmem.c static struct mempolicy *shmem_get_sbmpol(struct shmem_sb_info *sbinfo) mempolicy 1412 mm/shmem.c struct mempolicy *mpol = NULL; mempolicy 1422 mm/shmem.c static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) mempolicy 1425 mm/shmem.c static inline struct mempolicy *shmem_get_sbmpol(struct shmem_sb_info *sbinfo) mempolicy 2163 mm/shmem.c static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) mempolicy 2169 mm/shmem.c static struct mempolicy *shmem_get_policy(struct vm_area_struct *vma, mempolicy 3088 mm/slab.c else if (current->mempolicy) mempolicy 3271 mm/slab.c if (current->mempolicy || cpuset_do_slab_mem_spread()) {