Lines Matching refs:kfd_process

66 svm_range_check_vm(struct kfd_process *p, uint64_t start, uint64_t last,
199 struct kfd_process *p; in svm_range_dma_map()
203 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_dma_map()
247 struct kfd_process *p; in svm_range_free_dma_mappings()
250 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_free_dma_mappings()
272 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_range_free()
307 struct kfd_process *p; in svm_range_new()
313 p = container_of(svms, struct kfd_process, svms); in svm_range_new()
522 struct kfd_process *p; in svm_range_vram_node_new()
526 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_vram_node_new()
623 struct kfd_process *p; in svm_range_get_adev_by_id()
626 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_get_adev_by_id()
645 struct kfd_process *p; in svm_range_get_pdd_by_adev()
649 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_get_pdd_by_adev()
670 svm_range_check_attr(struct kfd_process *p, in svm_range_check_attr()
719 svm_range_apply_attrs(struct kfd_process *p, struct svm_range *prange, in svm_range_apply_attrs()
769 svm_range_is_same_attrs(struct kfd_process *p, struct svm_range *prange, in svm_range_is_same_attrs()
1106 svm_range_split_by_granularity(struct kfd_process *p, struct mm_struct *mm, in svm_range_split_by_granularity()
1239 struct kfd_process *p; in svm_range_unmap_from_gpus()
1256 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_unmap_from_gpus()
1368 struct kfd_process *p; in svm_range_map_to_gpus()
1378 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_map_to_gpus()
1421 struct kfd_process *process;
1487 static void *kfd_svm_page_owner(struct kfd_process *p, int32_t gpuidx) in kfd_svm_page_owner()
1526 struct kfd_process *p; in svm_range_validate_and_map()
1531 ctx.process = container_of(prange->svms, struct kfd_process, svms); in svm_range_validate_and_map()
1578 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_validate_and_map()
1690 struct kfd_process *p; in svm_range_restore_work()
1703 p = container_of(svms, struct kfd_process, svms); in svm_range_restore_work()
1801 struct kfd_process *p; in svm_range_evict()
1804 p = container_of(svms, struct kfd_process, svms); in svm_range_evict()
1974 svm_range_add(struct kfd_process *p, uint64_t start, uint64_t size, in svm_range_add()
2155 struct kfd_process *p; in svm_range_drain_retry_fault()
2159 p = container_of(svms, struct kfd_process, svms); in svm_range_drain_retry_fault()
2326 struct kfd_process *p; in svm_range_unmap_from_cpu()
2505 struct kfd_process *p; in svm_range_best_restore_location()
2509 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_best_restore_location()
2546 svm_range_get_range_boundaries(struct kfd_process *p, int64_t addr, in svm_range_get_range_boundaries()
2602 svm_range_check_vm_userptr(struct kfd_process *p, uint64_t start, uint64_t last, in svm_range_check_vm_userptr()
2654 struct kfd_process *p, in svm_range_create_unregistered_range()
2742 svm_range_count_fault(struct amdgpu_device *adev, struct kfd_process *p, in svm_range_count_fault()
2788 struct kfd_process *p; in svm_range_restore_pages()
2971 svm_range_switch_xnack_reserve_mem(struct kfd_process *p, bool xnack_enabled) in svm_range_switch_xnack_reserve_mem()
3028 void svm_range_list_fini(struct kfd_process *p) in svm_range_list_fini()
3058 int svm_range_list_init(struct kfd_process *p) in svm_range_list_init()
3102 svm_range_check_vm(struct kfd_process *p, uint64_t start, uint64_t last, in svm_range_check_vm()
3154 svm_range_is_valid(struct kfd_process *p, uint64_t start, uint64_t size) in svm_range_is_valid()
3208 struct kfd_process *p; in svm_range_best_prefetch_location()
3211 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_best_prefetch_location()
3383 svm_range_set_attr(struct kfd_process *p, struct mm_struct *mm, in svm_range_set_attr()
3501 svm_range_get_attr(struct kfd_process *p, struct mm_struct *mm, in svm_range_get_attr()
3677 int kfd_criu_resume_svm(struct kfd_process *p) in kfd_criu_resume_svm()
3780 int kfd_criu_restore_svm(struct kfd_process *p, in kfd_criu_restore_svm()
3833 int svm_range_get_info(struct kfd_process *p, uint32_t *num_svm_ranges, in svm_range_get_info()
3892 int kfd_criu_checkpoint_svm(struct kfd_process *p, in kfd_criu_checkpoint_svm()
3988 svm_ioctl(struct kfd_process *p, enum kfd_ioctl_svm_op op, uint64_t start, in svm_ioctl()