Lines Matching refs:kfd_process
67 svm_range_check_vm(struct kfd_process *p, uint64_t start, uint64_t last,
200 struct kfd_process *p; in svm_range_dma_map()
204 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_dma_map()
248 struct kfd_process *p; in svm_range_free_dma_mappings()
251 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_free_dma_mappings()
273 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_range_free()
308 struct kfd_process *p; in svm_range_new()
314 p = container_of(svms, struct kfd_process, svms); in svm_range_new()
523 struct kfd_process *p; in svm_range_vram_node_new()
527 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_vram_node_new()
624 struct kfd_process *p; in svm_range_get_adev_by_id()
627 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_get_adev_by_id()
646 struct kfd_process *p; in svm_range_get_pdd_by_adev()
650 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_get_pdd_by_adev()
671 svm_range_check_attr(struct kfd_process *p, in svm_range_check_attr()
720 svm_range_apply_attrs(struct kfd_process *p, struct svm_range *prange, in svm_range_apply_attrs()
770 svm_range_is_same_attrs(struct kfd_process *p, struct svm_range *prange, in svm_range_is_same_attrs()
1107 svm_range_split_by_granularity(struct kfd_process *p, struct mm_struct *mm, in svm_range_split_by_granularity()
1240 struct kfd_process *p; in svm_range_unmap_from_gpus()
1257 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_unmap_from_gpus()
1369 struct kfd_process *p; in svm_range_map_to_gpus()
1379 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_map_to_gpus()
1422 struct kfd_process *process;
1488 static void *kfd_svm_page_owner(struct kfd_process *p, int32_t gpuidx) in kfd_svm_page_owner()
1527 struct kfd_process *p; in svm_range_validate_and_map()
1532 ctx.process = container_of(prange->svms, struct kfd_process, svms); in svm_range_validate_and_map()
1579 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_validate_and_map()
1691 struct kfd_process *p; in svm_range_restore_work()
1704 p = container_of(svms, struct kfd_process, svms); in svm_range_restore_work()
1802 struct kfd_process *p; in svm_range_evict()
1805 p = container_of(svms, struct kfd_process, svms); in svm_range_evict()
1975 svm_range_add(struct kfd_process *p, uint64_t start, uint64_t size, in svm_range_add()
2156 struct kfd_process *p; in svm_range_drain_retry_fault()
2160 p = container_of(svms, struct kfd_process, svms); in svm_range_drain_retry_fault()
2327 struct kfd_process *p; in svm_range_unmap_from_cpu()
2506 struct kfd_process *p; in svm_range_best_restore_location()
2510 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_best_restore_location()
2547 svm_range_get_range_boundaries(struct kfd_process *p, int64_t addr, in svm_range_get_range_boundaries()
2603 svm_range_check_vm_userptr(struct kfd_process *p, uint64_t start, uint64_t last, in svm_range_check_vm_userptr()
2655 struct kfd_process *p, in svm_range_create_unregistered_range()
2743 svm_range_count_fault(struct amdgpu_device *adev, struct kfd_process *p, in svm_range_count_fault()
2789 struct kfd_process *p; in svm_range_restore_pages()
2972 svm_range_switch_xnack_reserve_mem(struct kfd_process *p, bool xnack_enabled) in svm_range_switch_xnack_reserve_mem()
3029 void svm_range_list_fini(struct kfd_process *p) in svm_range_list_fini()
3059 int svm_range_list_init(struct kfd_process *p) in svm_range_list_init()
3103 svm_range_check_vm(struct kfd_process *p, uint64_t start, uint64_t last, in svm_range_check_vm()
3155 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()