Lines Matching refs:runtime_info

220 		       p->runtime_info.runtime_state == DEBUG_RUNTIME_STATE_ENABLED) {  in kfd_set_dbg_ev_from_interrupt()
342 target->runtime_info.runtime_state = r == -EBUSY ? in kfd_dbg_set_workaround()
604 target->runtime_info.ttmp_setup, in kfd_dbg_trap_deactivate()
655 if (target->runtime_info.runtime_state == DEBUG_RUNTIME_STATE_ENABLED) in kfd_dbg_trap_disable()
657 else if (target->runtime_info.runtime_state != DEBUG_RUNTIME_STATE_DISABLED) in kfd_dbg_trap_disable()
658 target->runtime_info.runtime_state = DEBUG_RUNTIME_STATE_ENABLED; in kfd_dbg_trap_disable()
691 target->runtime_info.runtime_state = (r == -EBUSY) ? in kfd_dbg_trap_activate()
708 target->runtime_info.ttmp_setup)) in kfd_dbg_trap_activate()
735 target->runtime_info.runtime_state = in kfd_dbg_trap_activate()
752 void __user *runtime_info, uint32_t *runtime_size) in kfd_dbg_trap_enable() argument
773 copy_size = min((size_t)(*runtime_size), sizeof(target->runtime_info)); in kfd_dbg_trap_enable()
784 if (target->runtime_info.runtime_state == DEBUG_RUNTIME_STATE_ENABLED) in kfd_dbg_trap_enable()
796 if (copy_to_user(runtime_info, (void *)&target->runtime_info, copy_size)) { in kfd_dbg_trap_enable()
801 *runtime_size = sizeof(target->runtime_info); in kfd_dbg_trap_enable()
1002 copy_size = min((size_t)(*info_size), sizeof(target->runtime_info)); in kfd_dbg_trap_query_exception_info()
1004 if (copy_to_user(info, (void *)&target->runtime_info, copy_size)) { in kfd_dbg_trap_query_exception_info()
1009 actual_info_size = sizeof(target->runtime_info); in kfd_dbg_trap_query_exception_info()