Lines Matching refs:kfd_process
77 svm_range_check_vm(struct kfd_process *p, uint64_t start, uint64_t last,
210 struct kfd_process *p; in svm_range_dma_map()
214 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_dma_map()
258 struct kfd_process *p; in svm_range_dma_unmap()
261 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_dma_unmap()
282 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_range_free()
329 struct kfd_process *p; in svm_range_new()
335 p = container_of(svms, struct kfd_process, svms); in svm_range_new()
411 struct kfd_process *p; in svm_range_bo_release()
561 struct kfd_process *p; in svm_range_vram_node_new()
565 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_vram_node_new()
681 struct kfd_process *p; in svm_range_get_node_by_id()
684 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_get_node_by_id()
697 struct kfd_process *p; in svm_range_get_pdd_by_node()
699 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_get_pdd_by_node()
714 svm_range_check_attr(struct kfd_process *p, in svm_range_check_attr()
763 svm_range_apply_attrs(struct kfd_process *p, struct svm_range *prange, in svm_range_apply_attrs()
815 svm_range_is_same_attrs(struct kfd_process *p, struct svm_range *prange, in svm_range_is_same_attrs()
1333 struct kfd_process *p; in svm_range_unmap_from_gpus()
1350 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_unmap_from_gpus()
1466 struct kfd_process *p; in svm_range_map_to_gpus()
1474 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_map_to_gpus()
1517 struct kfd_process *process;
1580 static void *kfd_svm_page_owner(struct kfd_process *p, int32_t gpuidx) in kfd_svm_page_owner()
1622 struct kfd_process *p; in svm_range_validate_and_map()
1630 ctx->process = container_of(prange->svms, struct kfd_process, svms); in svm_range_validate_and_map()
1689 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_validate_and_map()
1811 struct kfd_process *p; in svm_range_restore_work()
1824 p = container_of(svms, struct kfd_process, svms); in svm_range_restore_work()
1923 struct kfd_process *p; in svm_range_evict()
1926 p = container_of(svms, struct kfd_process, svms); in svm_range_evict()
2111 svm_range_add(struct kfd_process *p, uint64_t start, uint64_t size, in svm_range_add()
2294 struct kfd_process *p; in svm_range_drain_retry_fault()
2297 p = container_of(svms, struct kfd_process, svms); in svm_range_drain_retry_fault()
2459 struct kfd_process *p; in svm_range_unmap_from_cpu()
2673 struct kfd_process *p; in svm_range_best_restore_location()
2677 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_best_restore_location()
2716 svm_range_get_range_boundaries(struct kfd_process *p, int64_t addr, in svm_range_get_range_boundaries()
2770 svm_range_check_vm_userptr(struct kfd_process *p, uint64_t start, uint64_t last, in svm_range_check_vm_userptr()
2822 struct kfd_process *p, in svm_range_create_unregistered_range()
2910 svm_range_count_fault(struct kfd_node *node, struct kfd_process *p, in svm_range_count_fault()
2958 struct kfd_process *p; in svm_range_restore_pages()
3177 svm_range_switch_xnack_reserve_mem(struct kfd_process *p, bool xnack_enabled) in svm_range_switch_xnack_reserve_mem()
3234 void svm_range_list_fini(struct kfd_process *p) in svm_range_list_fini()
3267 int svm_range_list_init(struct kfd_process *p) in svm_range_list_init()
3317 svm_range_check_vm(struct kfd_process *p, uint64_t start, uint64_t last, in svm_range_check_vm()
3369 svm_range_is_valid(struct kfd_process *p, uint64_t start, uint64_t size) in svm_range_is_valid()
3422 struct kfd_process *p; in svm_range_best_prefetch_location()
3425 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_best_prefetch_location()
3611 svm_range_set_attr(struct kfd_process *p, struct mm_struct *mm, in svm_range_set_attr()
3743 svm_range_get_attr(struct kfd_process *p, struct mm_struct *mm, in svm_range_get_attr()
3919 int kfd_criu_resume_svm(struct kfd_process *p) in kfd_criu_resume_svm()
4022 int kfd_criu_restore_svm(struct kfd_process *p, in kfd_criu_restore_svm()
4075 void svm_range_get_info(struct kfd_process *p, uint32_t *num_svm_ranges, in svm_range_get_info()
4131 int kfd_criu_checkpoint_svm(struct kfd_process *p, in kfd_criu_checkpoint_svm()
4225 svm_ioctl(struct kfd_process *p, enum kfd_ioctl_svm_op op, uint64_t start, in svm_ioctl()