Home
last modified time | relevance | path

Searched refs:mempolicy (Results 1 – 6 of 6) sorted by relevance

/mm/
Dmempolicy.c122 static struct mempolicy default_policy = {
128 static struct mempolicy preferred_node_policy[MAX_NUMNODES];
130 struct mempolicy *get_task_policy(struct task_struct *p) in get_task_policy()
132 struct mempolicy *pol = p->mempolicy; in get_task_policy()
150 int (*create)(struct mempolicy *pol, const nodemask_t *nodes);
151 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes);
154 static inline int mpol_store_user_nodemask(const struct mempolicy *pol) in mpol_store_user_nodemask()
167 static int mpol_new_interleave(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_interleave()
175 static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_preferred()
186 static int mpol_new_bind(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_bind()
[all …]
Dshmem.c114 struct mempolicy *mpol;
1398 static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol()
1410 static struct mempolicy *shmem_get_sbmpol(struct shmem_sb_info *sbinfo) in shmem_get_sbmpol()
1412 struct mempolicy *mpol = NULL; in shmem_get_sbmpol()
1422 static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol()
1425 static inline struct mempolicy *shmem_get_sbmpol(struct shmem_sb_info *sbinfo) in shmem_get_sbmpol()
2163 static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) in shmem_set_policy()
2169 static struct mempolicy *shmem_get_policy(struct vm_area_struct *vma, in shmem_get_policy()
DMakefile64 obj-$(CONFIG_NUMA) += mempolicy.o
Dhugetlb.c945 struct mempolicy *mpol; in dequeue_huge_page_vma()
1741 struct mempolicy *mpol; in alloc_buddy_huge_page_with_mpol()
1798 struct mempolicy *mpol; in alloc_huge_page_vma()
Dslab.c3088 else if (current->mempolicy) in alternate_node_alloc()
3271 if (current->mempolicy || cpuset_do_slab_mem_spread()) { in __do_cache_alloc()
Dmmap.c1146 pgoff_t pgoff, struct mempolicy *policy, in vma_merge()