Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dmempolicy.h92 #define vma_policy(vma) ((vma)->vm_policy)
Dmm_types.h506 struct mempolicy *vm_policy; /* NUMA policy for the VMA */ member
/linux-6.1.9/mm/
Dmempolicy.c388 mpol_rebind_policy(vma->vm_policy, new); in mpol_rebind_mm()
776 old = vma->vm_policy; in vma_replace_policy()
777 vma->vm_policy = new; /* protected by mmap_lock */ in vma_replace_policy()
966 pol = vma->vm_policy; in do_get_mempolicy()
1760 } else if (vma->vm_policy) { in __get_vma_policy()
1761 pol = vma->vm_policy; in __get_vma_policy()
1815 pol = vma->vm_policy; in vma_policy_mof()
2392 dst->vm_policy = pol; in vma_dup_policy()
Dshmem.c1481 #define vm_policy vm_private_data macro
1491 vma->vm_policy = mpol_shared_policy_lookup(&info->policy, index); in shmem_pseudo_vma_init()
1497 mpol_cond_put(vma->vm_policy); in shmem_pseudo_vma_destroy()
/linux-6.1.9/fs/kernfs/
Dfile.c458 return vma->vm_policy; in kernfs_vma_get_policy()
461 return vma->vm_policy; in kernfs_vma_get_policy()
463 pol = vma->vm_policy; in kernfs_vma_get_policy()
/linux-6.1.9/fs/hugetlbfs/
Dinode.c90 vma->vm_policy = mpol_shared_policy_lookup(&HUGETLBFS_I(inode)->policy, in hugetlb_set_vma_policy()
96 mpol_cond_put(vma->vm_policy); in hugetlb_drop_vma_policy()
/linux-6.1.9/ipc/
Dshm.c585 else if (vma->vm_policy) in shm_get_policy()
586 pol = vma->vm_policy; in shm_get_policy()