Lines Matching refs:process
46 Ebl *ebl = state->thread->process->ebl; in state_fetch_pc()
90 Ebl *ebl = thread->process->ebl; in state_alloc()
110 __libdwfl_process_free (Dwfl_Process *process) in __libdwfl_process_free() argument
112 Dwfl *dwfl = process->dwfl; in __libdwfl_process_free()
113 if (process->callbacks->detach != NULL) in __libdwfl_process_free()
114 process->callbacks->detach (dwfl, process->callbacks_arg); in __libdwfl_process_free()
115 assert (dwfl->process == process); in __libdwfl_process_free()
116 dwfl->process = NULL; in __libdwfl_process_free()
117 if (process->ebl_close) in __libdwfl_process_free()
118 ebl_closebackend (process->ebl); in __libdwfl_process_free()
119 free (process); in __libdwfl_process_free()
127 Dwfl_Process *process = malloc (sizeof (*process)); in process_alloc() local
128 if (process == NULL) in process_alloc()
130 process->dwfl = dwfl; in process_alloc()
131 dwfl->process = process; in process_alloc()
138 if (dwfl->process != NULL) in dwfl_attach_state()
196 Dwfl_Process *process = dwfl->process; in dwfl_attach_state() local
197 if (process == NULL) in dwfl_attach_state()
204 process->ebl = ebl; in dwfl_attach_state()
205 process->ebl_close = ebl_close; in dwfl_attach_state()
206 process->pid = pid; in dwfl_attach_state()
207 process->callbacks = thread_callbacks; in dwfl_attach_state()
208 process->callbacks_arg = arg; in dwfl_attach_state()
222 if (dwfl->process == NULL) in INTDEF()
227 return dwfl->process->pid; in INTDEF()
234 return thread->process->dwfl; in INTDEF()
262 Dwfl_Process *process = dwfl->process; in INTDEF() local
263 if (process == NULL) in INTDEF()
270 thread.process = process; in INTDEF()
275 thread.tid = process->callbacks->next_thread (dwfl, in INTDEF()
276 process->callbacks_arg, in INTDEF()
339 Dwfl_Process *process = dwfl->process; in getthread() local
340 if (process == NULL) in getthread()
346 if (process->callbacks->get_thread != NULL) in getthread()
349 thread.process = process; in getthread()
353 if (process->callbacks->get_thread (dwfl, tid, process->callbacks_arg, in getthread()
417 Ebl *ebl = thread->process->ebl; in INTDEF()
428 Dwfl_Process *process = thread->process; in INTDEF() local
429 if (! process->callbacks->set_initial_registers (thread, in INTDEF()
437 if (process->callbacks->thread_detach) in INTDEF()
438 process->callbacks->thread_detach (thread, thread->callbacks_arg); in INTDEF()
450 if (process->callbacks->thread_detach) in INTDEF()
451 process->callbacks->thread_detach (thread, thread->callbacks_arg); in INTDEF()
463 if (process->callbacks->thread_detach) in INTDEF()
464 process->callbacks->thread_detach (thread, thread->callbacks_arg); in INTDEF()