Lines Matching full:pe
60 /* We might have event without binding PE */ in eeh_event_handler()
61 if (event->pe) in eeh_event_handler()
62 eeh_handle_normal_event(event->pe); in eeh_event_handler()
96 * @pe: EEH PE
102 int __eeh_send_failure_event(struct eeh_pe *pe) in __eeh_send_failure_event() argument
112 event->pe = pe; in __eeh_send_failure_event()
115 * Mark the PE as recovering before inserting it in the queue. in __eeh_send_failure_event()
116 * This prevents the PE from being free()ed by a hotplug driver in __eeh_send_failure_event()
117 * while the PE is sitting in the event queue. in __eeh_send_failure_event()
119 if (pe) { in __eeh_send_failure_event()
125 pe->trace_entries = stack_trace_save(pe->stack_trace, in __eeh_send_failure_event()
126 ARRAY_SIZE(pe->stack_trace), 0); in __eeh_send_failure_event()
129 eeh_pe_state_mark(pe, EEH_PE_RECOVERING); in __eeh_send_failure_event()
143 int eeh_send_failure_event(struct eeh_pe *pe) in eeh_send_failure_event() argument
154 return __eeh_send_failure_event(pe); in eeh_send_failure_event()
159 * @pe: Event binding to the PE
167 void eeh_remove_event(struct eeh_pe *pe, bool force) in eeh_remove_event() argument
173 * If we have NULL PE passed in, we have dead IOC in eeh_remove_event()
177 * With "force", the event with associated PE that in eeh_remove_event()
183 if (!force && event->pe && in eeh_remove_event()
184 (event->pe->state & EEH_PE_ISOLATED)) in eeh_remove_event()
187 if (!pe) { in eeh_remove_event()
190 } else if (pe->type & EEH_PE_PHB) { in eeh_remove_event()
191 if (event->pe && event->pe->phb == pe->phb) { in eeh_remove_event()
195 } else if (event->pe == pe) { in eeh_remove_event()