pcrat_image 751 drivers/gpu/drm/amd/amdkfd/kfd_crat.c void *pcrat_image; pcrat_image 775 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcrat_image = kmemdup(crat_table, crat_table->length, GFP_KERNEL); pcrat_image 776 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (!pcrat_image) pcrat_image 779 drivers/gpu/drm/amd/amdkfd/kfd_crat.c *crat_image = pcrat_image; pcrat_image 929 drivers/gpu/drm/amd/amdkfd/kfd_crat.c static int kfd_create_vcrat_image_cpu(void *pcrat_image, size_t *size) pcrat_image 931 drivers/gpu/drm/amd/amdkfd/kfd_crat.c struct crat_header *crat_table = (struct crat_header *)pcrat_image; pcrat_image 942 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (!pcrat_image || avail_size < VCRAT_SIZE_FOR_CPU) pcrat_image 1137 drivers/gpu/drm/amd/amdkfd/kfd_crat.c static int kfd_create_vcrat_image_gpu(void *pcrat_image, pcrat_image 1141 drivers/gpu/drm/amd/amdkfd/kfd_crat.c struct crat_header *crat_table = (struct crat_header *)pcrat_image; pcrat_image 1154 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (!pcrat_image || avail_size < VCRAT_SIZE_FOR_GPU) pcrat_image 1341 drivers/gpu/drm/amd/amdkfd/kfd_crat.c void *pcrat_image = NULL; pcrat_image 1356 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcrat_image = kmalloc(VCRAT_SIZE_FOR_CPU, GFP_KERNEL); pcrat_image 1357 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (!pcrat_image) pcrat_image 1360 drivers/gpu/drm/amd/amdkfd/kfd_crat.c ret = kfd_create_vcrat_image_cpu(pcrat_image, size); pcrat_image 1365 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcrat_image = kmalloc(VCRAT_SIZE_FOR_GPU, GFP_KERNEL); pcrat_image 1366 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (!pcrat_image) pcrat_image 1369 drivers/gpu/drm/amd/amdkfd/kfd_crat.c ret = kfd_create_vcrat_image_gpu(pcrat_image, size, kdev, pcrat_image 1382 drivers/gpu/drm/amd/amdkfd/kfd_crat.c *crat_image = pcrat_image; pcrat_image 1384 drivers/gpu/drm/amd/amdkfd/kfd_crat.c kfree(pcrat_image);