kgd_mem 707 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c int amdgpu_amdkfd_evict_userptr(struct kgd_mem *mem, struct mm_struct *mm) kgd_mem 133 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h int amdgpu_amdkfd_evict_userptr(struct kgd_mem *mem, struct mm_struct *mm); kgd_mem 161 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem); kgd_mem 212 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h void *vm, struct kgd_mem **mem, kgd_mem 215 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h struct kgd_dev *kgd, struct kgd_mem *mem); kgd_mem 217 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h struct kgd_dev *kgd, struct kgd_mem *mem, void *vm); kgd_mem 219 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h struct kgd_dev *kgd, struct kgd_mem *mem, void *vm); kgd_mem 221 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h struct kgd_dev *kgd, struct kgd_mem *mem, bool intr); kgd_mem 223 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h struct kgd_mem *mem, void **kptr, uint64_t *size); kgd_mem 233 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h struct kgd_mem **mem, uint64_t *size, kgd_mem 84 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct kgd_mem *mem) kgd_mem 371 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c static int add_bo_to_vm(struct amdgpu_device *adev, struct kgd_mem *mem, kgd_mem 443 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c static void add_kgd_mem_to_kfd_bo_list(struct kgd_mem *mem, kgd_mem 461 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c static void remove_kgd_mem_from_kfd_bo_list(struct kgd_mem *mem, kgd_mem 484 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c static int init_user_pages(struct kgd_mem *mem, struct mm_struct *mm, kgd_mem 561 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c static int reserve_bo_and_vm(struct kgd_mem *mem, kgd_mem 611 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c static int reserve_bo_and_cond_vms(struct kgd_mem *mem, kgd_mem 1072 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c void *vm, struct kgd_mem **mem, kgd_mem 1122 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c *mem = kzalloc(sizeof(struct kgd_mem), GFP_KERNEL); kgd_mem 1227 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct kgd_dev *kgd, struct kgd_mem *mem) kgd_mem 1299 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct kgd_dev *kgd, struct kgd_mem *mem, void *vm) kgd_mem 1437 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct kgd_dev *kgd, struct kgd_mem *mem, void *vm) kgd_mem 1505 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct kgd_dev *kgd, struct kgd_mem *mem, bool intr) kgd_mem 1522 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct kgd_mem *mem, void **kptr, uint64_t *size) kgd_mem 1594 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct kgd_mem **mem, uint64_t *size, kgd_mem 1617 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c *mem = kzalloc(sizeof(struct kgd_mem), GFP_KERNEL); kgd_mem 1657 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c int amdgpu_amdkfd_evict_userptr(struct kgd_mem *mem, kgd_mem 1687 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct kgd_mem *mem, *tmp_mem; kgd_mem 1769 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct kgd_mem *mem, *tmp_mem; kgd_mem 1965 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct kgd_mem *mem; kgd_mem 2099 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem) kgd_mem 2108 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c *mem = kzalloc(sizeof(struct kgd_mem), GFP_KERNEL); kgd_mem 2164 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct kgd_mem *kgd_mem = (struct kgd_mem *)mem; kgd_mem 2165 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct amdgpu_bo *gws_bo = kgd_mem->bo; kgd_mem 2170 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c remove_kgd_mem_from_kfd_bo_list(kgd_mem, process_info); kgd_mem 2181 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_sync_free(&kgd_mem->sync); kgd_mem 2183 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c mutex_destroy(&kgd_mem->lock); kgd_mem 277 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c struct kgd_mem *mem = bo->kfd_bo; kgd_mem 108 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h struct kgd_mem *kfd_bo; kgd_mem 1295 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c pdd->vm, (struct kgd_mem **) &mem, &offset, kgd_mem 1323 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, (struct kgd_mem *)mem); kgd_mem 1359 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (struct kgd_mem *)mem); kgd_mem 1440 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c peer->kgd, (struct kgd_mem *)mem, peer_pdd->vm); kgd_mem 1451 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c err = amdgpu_amdkfd_gpuvm_sync_memory(dev->kgd, (struct kgd_mem *) mem, true); kgd_mem 1547 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c peer->kgd, (struct kgd_mem *)mem, peer_pdd->vm); kgd_mem 1655 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (struct kgd_mem **)&mem, &size, kgd_mem 1673 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, (struct kgd_mem *)mem); kgd_mem 161 drivers/gpu/drm/amd/amdkfd/kfd_process.c static void kfd_process_free_gpuvm(struct kgd_mem *mem, kgd_mem 181 drivers/gpu/drm/amd/amdkfd/kfd_process.c struct kgd_mem *mem = NULL; kgd_mem 214 drivers/gpu/drm/amd/amdkfd/kfd_process.c (struct kgd_mem *)mem, kptr, NULL); kgd_mem 84 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c struct kgd_mem *mem = NULL; kgd_mem 42 drivers/gpu/drm/amd/include/kgd_kfd_interface.h struct kgd_mem;