mpol 131 include/linux/mempolicy.h void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol); mpol 151 include/linux/mempolicy.h struct mempolicy **mpol, nodemask_t **nodemask); mpol 170 include/linux/mempolicy.h extern int mpol_parse_str(char *str, struct mempolicy **mpol); mpol 232 include/linux/mempolicy.h struct mempolicy *mpol) mpol 273 include/linux/mempolicy.h struct mempolicy **mpol, nodemask_t **nodemask) mpol 275 include/linux/mempolicy.h *mpol = NULL; mpol 296 include/linux/mempolicy.h static inline int mpol_parse_str(char *str, struct mempolicy **mpol) mpol 38 include/linux/shmem_fs.h struct mempolicy *mpol; /* default memory policy for mappings */ mpol 945 mm/hugetlb.c struct mempolicy *mpol; mpol 964 mm/hugetlb.c nid = huge_node(vma, address, gfp_mask, &mpol, &nodemask); mpol 971 mm/hugetlb.c mpol_cond_put(mpol); mpol 1741 mm/hugetlb.c struct mempolicy *mpol; mpol 1746 mm/hugetlb.c nid = huge_node(vma, addr, gfp_mask, &mpol, &nodemask); mpol 1748 mm/hugetlb.c mpol_cond_put(mpol); mpol 1798 mm/hugetlb.c struct mempolicy *mpol; mpol 1805 mm/hugetlb.c node = huge_node(vma, address, gfp_mask, &mpol, &nodemask); mpol 1807 mm/hugetlb.c mpol_cond_put(mpol); mpol 1943 mm/mempolicy.c struct mempolicy **mpol, nodemask_t **nodemask) mpol 1947 mm/mempolicy.c *mpol = get_vma_policy(vma, addr); mpol 1950 mm/mempolicy.c if (unlikely((*mpol)->mode == MPOL_INTERLEAVE)) { mpol 1951 mm/mempolicy.c nid = interleave_nid(*mpol, vma, addr, mpol 1954 mm/mempolicy.c nid = policy_node(gfp_flags, *mpol, numa_node_id()); mpol 1955 mm/mempolicy.c if ((*mpol)->mode == MPOL_BIND) mpol 1956 mm/mempolicy.c *nodemask = &(*mpol)->v.nodes; mpol 2580 mm/mempolicy.c void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol) mpol 2587 mm/mempolicy.c if (mpol) { mpol 2595 mm/mempolicy.c new = mpol_new(mpol->mode, mpol->flags, &mpol->w.user_nodemask); mpol 2600 mm/mempolicy.c ret = mpol_set_nodemask(new, &mpol->w.user_nodemask, scratch); mpol 2615 mm/mempolicy.c mpol_put(mpol); /* drop our incoming ref on sb mpol */ mpol 2796 mm/mempolicy.c int mpol_parse_str(char *str, struct mempolicy **mpol) mpol 2913 mm/mempolicy.c *mpol = new; mpol 114 mm/shmem.c struct mempolicy *mpol; mpol 1398 mm/shmem.c static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) mpol 1402 mm/shmem.c if (!mpol || mpol->mode == MPOL_DEFAULT) mpol 1405 mm/shmem.c mpol_to_str(buffer, sizeof(buffer), mpol); mpol 1412 mm/shmem.c struct mempolicy *mpol = NULL; mpol 1413 mm/shmem.c if (sbinfo->mpol) { mpol 1415 mm/shmem.c mpol = sbinfo->mpol; mpol 1416 mm/shmem.c mpol_get(mpol); mpol 1419 mm/shmem.c return mpol; mpol 1422 mm/shmem.c static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) mpol 2163 mm/shmem.c static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) mpol 2166 mm/shmem.c return mpol_set_shared_policy(&SHMEM_I(inode)->policy, vma, mpol); mpol 3473 mm/shmem.c mpol_put(ctx->mpol); mpol 3474 mm/shmem.c ctx->mpol = NULL; mpol 3475 mm/shmem.c if (mpol_parse_str(param->string, &ctx->mpol)) mpol 3583 mm/shmem.c if (ctx->mpol) { mpol 3584 mm/shmem.c mpol_put(sbinfo->mpol); mpol 3585 mm/shmem.c sbinfo->mpol = ctx->mpol; /* transfers initial ref */ mpol 3586 mm/shmem.c ctx->mpol = NULL; mpol 3617 mm/shmem.c shmem_show_mpol(seq, sbinfo->mpol); mpol 3628 mm/shmem.c mpol_put(sbinfo->mpol); mpol 3673 mm/shmem.c sbinfo->mpol = ctx->mpol; mpol 3674 mm/shmem.c ctx->mpol = NULL; mpol 3721 mm/shmem.c mpol_put(ctx->mpol);