Searched refs:vm_policy (Results 1 – 7 of 7) sorted by relevance
95 #define vma_policy(vma) ((vma)->vm_policy)
353 struct mempolicy *vm_policy; /* NUMA policy for the VMA */ member
443 return vma->vm_policy; in kernfs_vma_get_policy()446 return vma->vm_policy; in kernfs_vma_get_policy()448 pol = vma->vm_policy; in kernfs_vma_get_policy()
384 mpol_rebind_policy(vma->vm_policy, new); in mpol_rebind_mm()720 old = vma->vm_policy; in vma_replace_policy()721 vma->vm_policy = new; /* protected by mmap_sem */ in vma_replace_policy()908 pol = vma->vm_policy; in do_get_mempolicy()1710 } else if (vma->vm_policy) { in __get_vma_policy()1711 pol = vma->vm_policy; in __get_vma_policy()1765 pol = vma->vm_policy; in vma_policy_mof()2206 dst->vm_policy = pol; in vma_dup_policy()
1431 #define vm_policy vm_private_data macro1441 vma->vm_policy = mpol_shared_policy_lookup(&info->policy, index); in shmem_pseudo_vma_init()1447 mpol_cond_put(vma->vm_policy); in shmem_pseudo_vma_destroy()
96 vma->vm_policy = mpol_shared_policy_lookup(&HUGETLBFS_I(inode)->policy, in hugetlb_set_vma_policy()102 mpol_cond_put(vma->vm_policy); in hugetlb_drop_vma_policy()
480 else if (vma->vm_policy) in shm_get_policy()481 pol = vma->vm_policy; in shm_get_policy()