Searched refs:pcrat_image (Results 1 – 1 of 1) sorted by relevance
726 void *pcrat_image; in kfd_create_crat_image_acpi() local750 pcrat_image = kmalloc(crat_table->length, GFP_KERNEL); in kfd_create_crat_image_acpi()751 if (!pcrat_image) in kfd_create_crat_image_acpi()754 memcpy(pcrat_image, crat_table, crat_table->length); in kfd_create_crat_image_acpi()756 *crat_image = pcrat_image; in kfd_create_crat_image_acpi()904 static int kfd_create_vcrat_image_cpu(void *pcrat_image, size_t *size) in kfd_create_vcrat_image_cpu() argument906 struct crat_header *crat_table = (struct crat_header *)pcrat_image; in kfd_create_vcrat_image_cpu()915 if (!pcrat_image || avail_size < VCRAT_SIZE_FOR_CPU) in kfd_create_vcrat_image_cpu()1078 static int kfd_create_vcrat_image_gpu(void *pcrat_image, in kfd_create_vcrat_image_gpu() argument1082 struct crat_header *crat_table = (struct crat_header *)pcrat_image; in kfd_create_vcrat_image_gpu()[all …]