Lines Matching refs:mpol
114 struct mempolicy *mpol; member
1398 static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument
1402 if (!mpol || mpol->mode == MPOL_DEFAULT) in shmem_show_mpol()
1405 mpol_to_str(buffer, sizeof(buffer), mpol); in shmem_show_mpol()
1412 struct mempolicy *mpol = NULL; in shmem_get_sbmpol() local
1413 if (sbinfo->mpol) { in shmem_get_sbmpol()
1415 mpol = sbinfo->mpol; in shmem_get_sbmpol()
1416 mpol_get(mpol); in shmem_get_sbmpol()
1419 return mpol; in shmem_get_sbmpol()
1422 static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() argument
2161 static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) in shmem_set_policy() argument
2164 return mpol_set_shared_policy(&SHMEM_I(inode)->policy, vma, mpol); in shmem_set_policy()
3465 mpol_put(ctx->mpol); in shmem_parse_one()
3466 ctx->mpol = NULL; in shmem_parse_one()
3467 if (mpol_parse_str(param->string, &ctx->mpol)) in shmem_parse_one()
3575 if (ctx->mpol) { in shmem_reconfigure()
3576 mpol_put(sbinfo->mpol); in shmem_reconfigure()
3577 sbinfo->mpol = ctx->mpol; /* transfers initial ref */ in shmem_reconfigure()
3578 ctx->mpol = NULL; in shmem_reconfigure()
3609 shmem_show_mpol(seq, sbinfo->mpol); in shmem_show_options()
3620 mpol_put(sbinfo->mpol); in shmem_put_super()
3665 sbinfo->mpol = ctx->mpol; in shmem_fill_super()
3666 ctx->mpol = NULL; in shmem_fill_super()
3713 mpol_put(ctx->mpol); in shmem_free_fc()