• Home
  • Raw
  • Download

Lines Matching refs:handlers

345 	const struct ipmi_smi_handlers *handlers;  member
980 if (!try_module_get(intf->handlers->owner)) { in ipmi_create_user()
985 if (intf->handlers->inc_usecount) { in ipmi_create_user()
986 rv = intf->handlers->inc_usecount(intf->send_info); in ipmi_create_user()
988 module_put(intf->handlers->owner); in ipmi_create_user()
1024 const struct ipmi_smi_handlers *handlers; in ipmi_get_smi_info() local
1037 handlers = intf->handlers; in ipmi_get_smi_info()
1039 if (handlers->get_smi_info) in ipmi_get_smi_info()
1040 rv = handlers->get_smi_info(intf->send_info, data); in ipmi_get_smi_info()
1105 if (intf->handlers) { in ipmi_destroy_user()
1106 module_put(intf->handlers->owner); in ipmi_destroy_user()
1107 if (intf->handlers->dec_usecount) in ipmi_destroy_user()
1108 intf->handlers->dec_usecount(intf->send_info); in ipmi_destroy_user()
1188 if (intf->handlers->set_maintenance_mode) in maintenance_mode_update()
1189 intf->handlers->set_maintenance_mode( in maintenance_mode_update()
1510 static void smi_send(ipmi_smi_t intf, const struct ipmi_smi_handlers *handlers, in smi_send() argument
1526 handlers->sender(intf->send_info, smi_msg); in smi_send()
1910 smi_send(intf, intf->handlers, smi_msg, priority); in i_ipmi_request()
2746 if (intf->handlers->poll) in ipmi_poll()
2747 intf->handlers->poll(intf->send_info); in ipmi_poll()
2758 int ipmi_register_smi(const struct ipmi_smi_handlers *handlers, in ipmi_register_smi() argument
2809 intf->handlers = handlers; in ipmi_register_smi()
2861 rv = handlers->start_processing(send_info, intf); in ipmi_register_smi()
2904 intf->handlers = NULL; in ipmi_register_smi()
3002 module_put(intf->handlers->owner); in ipmi_unregister_smi()
3003 if (intf->handlers->dec_usecount) in ipmi_unregister_smi()
3004 intf->handlers->dec_usecount(intf->send_info); in ipmi_unregister_smi()
3007 intf->handlers = NULL; in ipmi_unregister_smi()
3153 smi_send(intf, intf->handlers, msg, 0); in handle_ipmb_get_msg_cmd()
3905 intf->handlers->sender(intf->send_info, newmsg); in smi_recv_tasklet()
4040 const struct ipmi_smi_handlers *handlers; in check_msg_timeout() local
4098 handlers = intf->handlers; in check_msg_timeout()
4099 if (handlers) { in check_msg_timeout()
4107 smi_send(intf, handlers, smi_msg, 0); in check_msg_timeout()
4175 intf->handlers->request_events(intf->send_info); in ipmi_request_event()
4207 intf->handlers->set_need_watch) in ipmi_timeout()
4208 intf->handlers->set_need_watch(intf->send_info, lnt); in ipmi_timeout()
4317 else if (intf->handlers->flush_messages) in ipmi_panic_request_and_wait()
4318 intf->handlers->flush_messages(intf->send_info); in ipmi_panic_request_and_wait()
4389 if (!intf->handlers) in send_panic_events()
4529 if (!intf->handlers) in panic_event()
4551 intf->handlers->set_run_to_completion(intf->send_info, 1); in panic_event()