Lines Matching defs:process

32 int kfd_dbg_ev_query_debug_event(struct kfd_process *process,
42 if (!(process && process->debug_trap_enabled))
45 mutex_lock(&process->event_mutex);
51 pqm = &process->pqm;
53 uint64_t tmp = process->exception_enable_mask;
71 for (i = 0; i < process->n_pdds; i++) {
72 struct kfd_process_device *pdd = process->pdds[i];
73 uint64_t tmp = process->exception_enable_mask
85 /* report process events */
86 if (process->exception_enable_mask & process->exception_status) {
87 *event_status = process->exception_status;
88 process->exception_status &= ~exception_clear_mask;
92 mutex_unlock(&process->event_mutex);
98 struct kfd_process *process;
103 process = container_of(work,
107 if (process->debug_trap_enabled && process->dbg_ev_file)
108 kernel_write(process->dbg_ev_file, &write_data, 1, &pos);
111 /* update process/device/queue exception status, write to descriptor
115 struct kfd_process *process, struct kfd_node *dev,
126 if (!(process && process->debug_trap_enabled))
129 mutex_lock(&process->event_mutex);
132 for (i = 0; i < process->n_pdds; i++) {
133 struct kfd_process_device *pdd = process->pdds[i];
159 process->exception_status |= event_mask & KFD_EC_MASK_PROCESS;
161 pqm = &process->pqm;
181 if (process->exception_enable_mask & event_mask) {
183 schedule_work(&process->debug_event_workarea);
185 kernel_write(process->dbg_ev_file,
193 mutex_unlock(&process->event_mutex);
352 uint32_t flags = pdd->process->dbg_flags;
369 "failed to allocate process context bo\n");
411 /* process owns device watch point so safe to clear */
597 * target: target process
761 * flag will be called again during CWSR initialization if the target process
824 /* We already hold the process reference but hold another one for the
1038 /* Per process exceptions */
1096 /* Run over all pdd of the process */