Lines Matching refs:mpol

112 	struct mempolicy *mpol;  member
1448 static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument
1452 if (!mpol || mpol->mode == MPOL_DEFAULT) in shmem_show_mpol()
1455 mpol_to_str(buffer, sizeof(buffer), mpol); in shmem_show_mpol()
1462 struct mempolicy *mpol = NULL; in shmem_get_sbmpol() local
1463 if (sbinfo->mpol) { in shmem_get_sbmpol()
1465 mpol = sbinfo->mpol; in shmem_get_sbmpol()
1466 mpol_get(mpol); in shmem_get_sbmpol()
1469 return mpol; in shmem_get_sbmpol()
1472 static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument
2236 static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) in shmem_set_policy() argument
2239 return mpol_set_shared_policy(&SHMEM_I(inode)->policy, vma, mpol); in shmem_set_policy()
3540 mpol_put(ctx->mpol); in shmem_parse_one()
3541 ctx->mpol = NULL; in shmem_parse_one()
3542 if (mpol_parse_str(param->string, &ctx->mpol)) in shmem_parse_one()
3624 struct mempolicy *mpol = NULL; in shmem_reconfigure() local
3672 if (ctx->mpol) { in shmem_reconfigure()
3673 mpol = sbinfo->mpol; in shmem_reconfigure()
3674 sbinfo->mpol = ctx->mpol; /* transfers initial ref */ in shmem_reconfigure()
3675 ctx->mpol = NULL; in shmem_reconfigure()
3678 mpol_put(mpol); in shmem_reconfigure()
3730 shmem_show_mpol(seq, sbinfo->mpol); in shmem_show_options()
3742 mpol_put(sbinfo->mpol); in shmem_put_super()
3794 sbinfo->mpol = ctx->mpol; in shmem_fill_super()
3795 ctx->mpol = NULL; in shmem_fill_super()
3842 mpol_put(ctx->mpol); in shmem_free_fc()