Home
last modified time | relevance | path

Searched refs:vm_policy (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dmempolicy.h95 #define vma_policy(vma) ((vma)->vm_policy)
Dmm_types.h392 struct mempolicy *vm_policy; /* NUMA policy for the VMA */ member
/kernel/linux/linux-5.10/fs/kernfs/
Dfile.c424 return vma->vm_policy; in kernfs_vma_get_policy()
427 return vma->vm_policy; in kernfs_vma_get_policy()
429 pol = vma->vm_policy; in kernfs_vma_get_policy()
/kernel/linux/linux-5.10/mm/
Dmempolicy.c410 mpol_rebind_policy(vma->vm_policy, new); in mpol_rebind_mm()
791 old = vma->vm_policy; in vma_replace_policy()
792 vma->vm_policy = new; /* protected by mmap_lock */ in vma_replace_policy()
971 pol = vma->vm_policy; in do_get_mempolicy()
1782 } else if (vma->vm_policy) { in __get_vma_policy()
1783 pol = vma->vm_policy; in __get_vma_policy()
1837 pol = vma->vm_policy; in vma_policy_mof()
2280 dst->vm_policy = pol; in vma_dup_policy()
Dshmem.c1504 #define vm_policy vm_private_data macro
1514 vma->vm_policy = mpol_shared_policy_lookup(&info->policy, index); in shmem_pseudo_vma_init()
1520 mpol_cond_put(vma->vm_policy); in shmem_pseudo_vma_destroy()
/kernel/linux/linux-5.10/fs/hugetlbfs/
Dinode.c92 vma->vm_policy = mpol_shared_policy_lookup(&HUGETLBFS_I(inode)->policy, in hugetlb_set_vma_policy()
98 mpol_cond_put(vma->vm_policy); in hugetlb_drop_vma_policy()
/kernel/linux/linux-5.10/ipc/
Dshm.c572 else if (vma->vm_policy) in shm_get_policy()
573 pol = vma->vm_policy; in shm_get_policy()