Lines Matching refs:kfd_process

78 svm_range_check_vm(struct kfd_process *p, uint64_t start, uint64_t last,
211 struct kfd_process *p; in svm_range_dma_map()
215 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_dma_map()
259 struct kfd_process *p; in svm_range_dma_unmap()
262 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_dma_unmap()
283 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_range_free()
330 struct kfd_process *p; in svm_range_new()
336 p = container_of(svms, struct kfd_process, svms); in svm_range_new()
412 struct kfd_process *p; in svm_range_bo_release()
562 struct kfd_process *p; in svm_range_vram_node_new()
566 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_vram_node_new()
682 struct kfd_process *p; in svm_range_get_node_by_id()
685 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_get_node_by_id()
698 struct kfd_process *p; in svm_range_get_pdd_by_node()
700 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_get_pdd_by_node()
715 svm_range_check_attr(struct kfd_process *p, in svm_range_check_attr()
764 svm_range_apply_attrs(struct kfd_process *p, struct svm_range *prange, in svm_range_apply_attrs()
816 svm_range_is_same_attrs(struct kfd_process *p, struct svm_range *prange, in svm_range_is_same_attrs()
1377 struct kfd_process *p; in svm_range_unmap_from_gpus()
1392 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_unmap_from_gpus()
1516 struct kfd_process *p; in svm_range_map_to_gpus()
1524 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_map_to_gpus()
1567 struct kfd_process *process;
1630 static void *kfd_svm_page_owner(struct kfd_process *p, int32_t gpuidx) in kfd_svm_page_owner()
1672 struct kfd_process *p; in svm_range_validate_and_map()
1680 ctx->process = container_of(prange->svms, struct kfd_process, svms); in svm_range_validate_and_map()
1739 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_validate_and_map()
1890 struct kfd_process *p; in svm_range_restore_work()
1903 p = container_of(svms, struct kfd_process, svms); in svm_range_restore_work()
2002 struct kfd_process *p; in svm_range_evict()
2005 p = container_of(svms, struct kfd_process, svms); in svm_range_evict()
2190 svm_range_add(struct kfd_process *p, uint64_t start, uint64_t size, in svm_range_add()
2373 struct kfd_process *p; in svm_range_drain_retry_fault()
2376 p = container_of(svms, struct kfd_process, svms); in svm_range_drain_retry_fault()
2542 struct kfd_process *p; in svm_range_unmap_from_cpu()
2756 struct kfd_process *p; in svm_range_best_restore_location()
2760 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_best_restore_location()
2799 svm_range_get_range_boundaries(struct kfd_process *p, int64_t addr, in svm_range_get_range_boundaries()
2853 svm_range_check_vm_userptr(struct kfd_process *p, uint64_t start, uint64_t last, in svm_range_check_vm_userptr()
2905 struct kfd_process *p, in svm_range_create_unregistered_range()
2993 svm_range_count_fault(struct kfd_node *node, struct kfd_process *p, in svm_range_count_fault()
3041 struct kfd_process *p; in svm_range_restore_pages()
3262 svm_range_switch_xnack_reserve_mem(struct kfd_process *p, bool xnack_enabled) in svm_range_switch_xnack_reserve_mem()
3319 void svm_range_list_fini(struct kfd_process *p) in svm_range_list_fini()
3352 int svm_range_list_init(struct kfd_process *p) in svm_range_list_init()
3402 svm_range_check_vm(struct kfd_process *p, uint64_t start, uint64_t last, in svm_range_check_vm()
3454 svm_range_is_valid(struct kfd_process *p, uint64_t start, uint64_t size) in svm_range_is_valid()
3507 struct kfd_process *p; in svm_range_best_prefetch_location()
3510 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_best_prefetch_location()
3696 svm_range_set_attr(struct kfd_process *p, struct mm_struct *mm, in svm_range_set_attr()
3830 svm_range_get_attr(struct kfd_process *p, struct mm_struct *mm, in svm_range_get_attr()
4006 int kfd_criu_resume_svm(struct kfd_process *p) in kfd_criu_resume_svm()
4109 int kfd_criu_restore_svm(struct kfd_process *p, in kfd_criu_restore_svm()
4162 void svm_range_get_info(struct kfd_process *p, uint32_t *num_svm_ranges, in svm_range_get_info()
4218 int kfd_criu_checkpoint_svm(struct kfd_process *p, in kfd_criu_checkpoint_svm()
4312 svm_ioctl(struct kfd_process *p, enum kfd_ioctl_svm_op op, uint64_t start, in svm_ioctl()