Lines Matching refs:preferred_loc
362 svm_range_set_default_attributes(svms, &prange->preferred_loc, in svm_range_new()
772 prange->preferred_loc = attrs[i].value; in svm_range_apply_attrs()
823 if (prange->preferred_loc != attrs[i].value) in svm_range_is_same_attrs()
1074 new->preferred_loc = old->preferred_loc; in svm_range_split_adjust()
2015 new->preferred_loc = old->preferred_loc; in svm_range_clone()
2687 if (prange->preferred_loc == gpuid || in svm_range_best_restore_location()
2688 prange->preferred_loc == KFD_IOCTL_SVM_LOCATION_SYSMEM) { in svm_range_best_restore_location()
2689 return prange->preferred_loc; in svm_range_best_restore_location()
2690 } else if (prange->preferred_loc != KFD_IOCTL_SVM_LOCATION_UNDEFINED) { in svm_range_best_restore_location()
2691 preferred_node = svm_range_get_node_by_id(prange, prange->preferred_loc); in svm_range_best_restore_location()
2693 return prange->preferred_loc; in svm_range_best_restore_location()
2862 prange->preferred_loc = KFD_IOCTL_SVM_LOCATION_SYSMEM; in svm_range_create_unregistered_range()
3834 if (prange->preferred_loc == in svm_range_get_attr()
3837 location != prange->preferred_loc)) { in svm_range_get_attr()
3841 location = prange->preferred_loc; in svm_range_get_attr()