Home
last modified time | relevance | path

Searched refs:mpol (Results 1 – 3 of 3) sorted by relevance

/mm/
Dshmem.c120 struct mempolicy *mpol; member
1479 static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument
1483 if (!mpol || mpol->mode == MPOL_DEFAULT) in shmem_show_mpol()
1486 mpol_to_str(buffer, sizeof(buffer), mpol); in shmem_show_mpol()
1493 struct mempolicy *mpol = NULL; in shmem_get_sbmpol() local
1494 if (sbinfo->mpol) { in shmem_get_sbmpol()
1496 mpol = sbinfo->mpol; in shmem_get_sbmpol()
1497 mpol_get(mpol); in shmem_get_sbmpol()
1500 return mpol; in shmem_get_sbmpol()
1503 static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument
[all …]
Dmempolicy.c2030 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument
2034 *mpol = get_vma_policy(vma, addr); in huge_node()
2037 if (unlikely((*mpol)->mode == MPOL_INTERLEAVE)) { in huge_node()
2038 nid = interleave_nid(*mpol, vma, addr, in huge_node()
2041 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node()
2042 if ((*mpol)->mode == MPOL_BIND) in huge_node()
2043 *nodemask = &(*mpol)->v.nodes; in huge_node()
2670 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol) in mpol_shared_policy_init() argument
2677 if (mpol) { in mpol_shared_policy_init()
2685 new = mpol_new(mpol->mode, mpol->flags, &mpol->w.user_nodemask); in mpol_shared_policy_init()
[all …]
Dhugetlb.c1144 struct mempolicy *mpol; in dequeue_huge_page_vma() local
1163 nid = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in dequeue_huge_page_vma()
1170 mpol_cond_put(mpol); in dequeue_huge_page_vma()
1958 struct mempolicy *mpol; in alloc_buddy_huge_page_with_mpol() local
1963 nid = huge_node(vma, addr, gfp_mask, &mpol, &nodemask); in alloc_buddy_huge_page_with_mpol()
1965 mpol_cond_put(mpol); in alloc_buddy_huge_page_with_mpol()
1993 struct mempolicy *mpol; in alloc_huge_page_vma() local
2000 node = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in alloc_huge_page_vma()
2002 mpol_cond_put(mpol); in alloc_huge_page_vma()