Lines Matching refs:svm_priv
3896 struct kfd_criu_svm_range_priv_data *svm_priv = NULL; in kfd_criu_checkpoint_svm() local
3937 svm_priv_data_size = sizeof(*svm_priv) + query_attr_size; in kfd_criu_checkpoint_svm()
3939 svm_priv = kzalloc(svm_priv_data_size, GFP_KERNEL); in kfd_criu_checkpoint_svm()
3940 if (!svm_priv) { in kfd_criu_checkpoint_svm()
3948 svm_priv->object_type = KFD_CRIU_OBJECT_TYPE_SVM_RANGE; in kfd_criu_checkpoint_svm()
3949 svm_priv->start_addr = prange->start; in kfd_criu_checkpoint_svm()
3950 svm_priv->size = prange->npages; in kfd_criu_checkpoint_svm()
3951 memcpy(&svm_priv->attrs, query_attr, query_attr_size); in kfd_criu_checkpoint_svm()
3957 ret = svm_range_get_attr(p, mm, svm_priv->start_addr, in kfd_criu_checkpoint_svm()
3958 svm_priv->size, in kfd_criu_checkpoint_svm()
3960 svm_priv->attrs); in kfd_criu_checkpoint_svm()
3966 if (copy_to_user(user_priv_data + *priv_data_offset, svm_priv, in kfd_criu_checkpoint_svm()
3979 kfree(svm_priv); in kfd_criu_checkpoint_svm()