Lines Matching refs:mpol

111 	struct mempolicy *mpol;  member
1456 static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument
1460 if (!mpol || mpol->mode == MPOL_DEFAULT) in shmem_show_mpol()
1463 mpol_to_str(buffer, sizeof(buffer), mpol); in shmem_show_mpol()
1470 struct mempolicy *mpol = NULL; in shmem_get_sbmpol() local
1471 if (sbinfo->mpol) { in shmem_get_sbmpol()
1473 mpol = sbinfo->mpol; in shmem_get_sbmpol()
1474 mpol_get(mpol); in shmem_get_sbmpol()
1477 return mpol; in shmem_get_sbmpol()
1480 static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument
2211 static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) in shmem_set_policy() argument
2214 return mpol_set_shared_policy(&SHMEM_I(inode)->policy, vma, mpol); in shmem_set_policy()
3396 mpol_put(ctx->mpol); in shmem_parse_one()
3397 ctx->mpol = NULL; in shmem_parse_one()
3398 if (mpol_parse_str(param->string, &ctx->mpol)) in shmem_parse_one()
3480 struct mempolicy *mpol = NULL; in shmem_reconfigure() local
3527 if (ctx->mpol) { in shmem_reconfigure()
3528 mpol = sbinfo->mpol; in shmem_reconfigure()
3529 sbinfo->mpol = ctx->mpol; /* transfers initial ref */ in shmem_reconfigure()
3530 ctx->mpol = NULL; in shmem_reconfigure()
3533 mpol_put(mpol); in shmem_reconfigure()
3585 shmem_show_mpol(seq, sbinfo->mpol); in shmem_show_options()
3597 mpol_put(sbinfo->mpol); in shmem_put_super()
3649 sbinfo->mpol = ctx->mpol; in shmem_fill_super()
3650 ctx->mpol = NULL; in shmem_fill_super()
3697 mpol_put(ctx->mpol); in shmem_free_fc()