Lines Matching refs:mpol
112 struct mempolicy *mpol; member
1452 static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument
1456 if (!mpol || mpol->mode == MPOL_DEFAULT) in shmem_show_mpol()
1459 mpol_to_str(buffer, sizeof(buffer), mpol); in shmem_show_mpol()
1466 struct mempolicy *mpol = NULL; in shmem_get_sbmpol() local
1467 if (sbinfo->mpol) { in shmem_get_sbmpol()
1469 mpol = sbinfo->mpol; in shmem_get_sbmpol()
1470 mpol_get(mpol); in shmem_get_sbmpol()
1473 return mpol; in shmem_get_sbmpol()
1476 static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument
2251 static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) in shmem_set_policy() argument
2254 return mpol_set_shared_policy(&SHMEM_I(inode)->policy, vma, mpol); in shmem_set_policy()
3551 mpol_put(ctx->mpol); in shmem_parse_one()
3552 ctx->mpol = NULL; in shmem_parse_one()
3553 if (mpol_parse_str(param->string, &ctx->mpol)) in shmem_parse_one()
3635 struct mempolicy *mpol = NULL; in shmem_reconfigure() local
3683 if (ctx->mpol) { in shmem_reconfigure()
3684 mpol = sbinfo->mpol; in shmem_reconfigure()
3685 sbinfo->mpol = ctx->mpol; /* transfers initial ref */ in shmem_reconfigure()
3686 ctx->mpol = NULL; in shmem_reconfigure()
3689 mpol_put(mpol); in shmem_reconfigure()
3741 shmem_show_mpol(seq, sbinfo->mpol); in shmem_show_options()
3753 mpol_put(sbinfo->mpol); in shmem_put_super()
3805 sbinfo->mpol = ctx->mpol; in shmem_fill_super()
3806 ctx->mpol = NULL; in shmem_fill_super()
3854 mpol_put(ctx->mpol); in shmem_free_fc()