Lines Matching refs:old
702 struct mempolicy *old; in vma_replace_policy() local
720 old = vma->vm_policy; in vma_replace_policy()
722 mpol_put(old); in vma_replace_policy()
796 struct mempolicy *new, *old; in do_set_mempolicy() local
816 old = current->mempolicy; in do_set_mempolicy()
821 mpol_put(old); in do_set_mempolicy()
1468 nodemask_t *old; in kernel_migrate_pages() local
1475 old = &scratch->mask1; in kernel_migrate_pages()
1478 err = get_nodes(old, old_nodes, maxnode); in kernel_migrate_pages()
1533 err = do_migrate_pages(mm, old, new, in kernel_migrate_pages()
1673 unsigned long __user *old = NULL; in COMPAT_SYSCALL_DEFINE4() local
1684 old = compat_alloc_user_space(new_nodes ? size * 2 : size); in COMPAT_SYSCALL_DEFINE4()
1686 new = old + size / sizeof(unsigned long); in COMPAT_SYSCALL_DEFINE4()
1687 if (copy_to_user(old, nodes_addr(tmp_mask), size)) in COMPAT_SYSCALL_DEFINE4()
1698 return kernel_migrate_pages(pid, nr_bits + 1, old, new); in COMPAT_SYSCALL_DEFINE4()
2223 struct mempolicy *__mpol_dup(struct mempolicy *old) in __mpol_dup() argument
2231 if (old == current->mempolicy) { in __mpol_dup()
2233 *new = *old; in __mpol_dup()
2236 *new = *old; in __mpol_dup()