Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager_vi.c31 enum cache_policy default_policy,
37 enum cache_policy default_policy,
99 enum cache_policy default_policy, in set_cache_memory_policy_vi() argument
107 default_mtype = (default_policy == cache_policy_coherent) ? in set_cache_memory_policy_vi()
128 enum cache_policy default_policy, in set_cache_memory_policy_vi_tonga() argument
136 default_mtype = (default_policy == cache_policy_coherent) ? in set_cache_memory_policy_vi_tonga()
Dkfd_device_queue_manager_cik.c31 enum cache_policy default_policy,
92 enum cache_policy default_policy, in set_cache_memory_policy_cik() argument
100 default_mtype = (default_policy == cache_policy_coherent) ? in set_cache_memory_policy_cik()
Dkfd_device_queue_manager.h116 enum cache_policy default_policy,
146 enum cache_policy default_policy,
Dkfd_chardev.c473 enum cache_policy default_policy, alternate_policy; in kfd_ioctl_set_memory_policy() local
475 if (args->default_policy != KFD_IOC_CACHE_POLICY_COHERENT in kfd_ioctl_set_memory_policy()
476 && args->default_policy != KFD_IOC_CACHE_POLICY_NONCOHERENT) { in kfd_ioctl_set_memory_policy()
497 default_policy = (args->default_policy == KFD_IOC_CACHE_POLICY_COHERENT) in kfd_ioctl_set_memory_policy()
506 default_policy, in kfd_ioctl_set_memory_policy()
Dkfd_device_queue_manager.c1413 enum cache_policy default_policy, in set_cache_memory_policy() argument
1456 default_policy, in set_cache_memory_policy()
/Linux-v5.4/mm/
Dmempolicy.c122 static struct mempolicy default_policy = { variable
146 return &default_policy; in get_task_policy()
835 if (p == &default_policy) in get_policy_nodemask()
913 pol = &default_policy; /* indicates default behavior */ in do_get_mempolicy()
938 *policy = pol == &default_policy ? MPOL_DEFAULT : in do_get_mempolicy()
2179 struct mempolicy *pol = &default_policy; in alloc_pages_current()
2931 if (pol && pol != &default_policy && !(pol->flags & MPOL_F_MORON)) { in mpol_to_str()
/Linux-v5.4/include/uapi/linux/
Dkfd_ioctl.h103 __u32 default_policy; /* to KFD */ member