Lines Matching refs:mpol
120 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
2238 static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) in shmem_set_policy() argument
2241 return mpol_set_shared_policy(&SHMEM_I(inode)->policy, vma, mpol); in shmem_set_policy()
3481 mpol_put(ctx->mpol); in shmem_parse_one()
3482 ctx->mpol = NULL; in shmem_parse_one()
3483 if (mpol_parse_str(param->string, &ctx->mpol)) in shmem_parse_one()
3611 if (ctx->mpol) { in shmem_reconfigure()
3612 mpol_put(sbinfo->mpol); in shmem_reconfigure()
3613 sbinfo->mpol = ctx->mpol; /* transfers initial ref */ in shmem_reconfigure()
3614 ctx->mpol = NULL; in shmem_reconfigure()
3668 shmem_show_mpol(seq, sbinfo->mpol); in shmem_show_options()
3680 mpol_put(sbinfo->mpol); in shmem_put_super()
3733 sbinfo->mpol = ctx->mpol; in shmem_fill_super()
3734 ctx->mpol = NULL; in shmem_fill_super()
3781 mpol_put(ctx->mpol); in shmem_free_fc()