Lines Matching refs:handler

536 				 struct efi_handler **handler)  in efi_search_protocol()  argument
551 if (handler) in efi_search_protocol()
552 *handler = protocol; in efi_search_protocol()
571 struct efi_handler *handler; in efi_remove_protocol() local
574 ret = efi_search_protocol(handle, protocol, &handler); in efi_remove_protocol()
577 if (handler->protocol_interface != protocol_interface) in efi_remove_protocol()
579 list_del(&handler->link); in efi_remove_protocol()
580 free(handler); in efi_remove_protocol()
1076 struct efi_handler *handler) in efi_create_open_info() argument
1084 list_add_tail(&item->link, &handler->open_infos); in efi_create_open_info()
1116 struct efi_handler *handler; in efi_add_protocol() local
1126 handler = calloc(1, sizeof(struct efi_handler)); in efi_add_protocol()
1127 if (!handler) in efi_add_protocol()
1129 handler->guid = protocol; in efi_add_protocol()
1130 handler->protocol_interface = protocol_interface; in efi_add_protocol()
1131 INIT_LIST_HEAD(&handler->open_infos); in efi_add_protocol()
1132 list_add_tail(&handler->link, &efiobj->protocols); in efi_add_protocol()
1141 list_del(&handler->link); in efi_add_protocol()
1142 free(handler); in efi_add_protocol()
1218 struct efi_handler *handler; in efi_get_drivers() local
1224 list_for_each_entry(handler, &handle->protocols, link) { in efi_get_drivers()
1225 if (protocol && guidcmp(handler->guid, protocol)) in efi_get_drivers()
1227 list_for_each_entry(item, &handler->open_infos, link) { in efi_get_drivers()
1246 list_for_each_entry(handler, &handle->protocols, link) { in efi_get_drivers()
1247 if (protocol && guidcmp(handler->guid, protocol)) in efi_get_drivers()
1249 list_for_each_entry(item, &handler->open_infos, link) { in efi_get_drivers()
1328 struct efi_handler *handler; in efi_uninstall_protocol() local
1340 r = efi_search_protocol(handle, protocol, &handler); in efi_uninstall_protocol()
1346 list_for_each_entry_safe(item, pos, &handler->open_infos, link) { in efi_uninstall_protocol()
1353 if (!list_empty(&handler->open_infos)) { in efi_uninstall_protocol()
1804 struct efi_handler *handler; in efi_locate_device_path() local
1831 &handler); in efi_locate_device_path()
1834 dp = (struct efi_device_path *)handler->protocol_interface; in efi_locate_device_path()
2297 struct efi_handler *handler; in efi_close_protocol() local
2310 r = efi_search_protocol(handle, protocol, &handler); in efi_close_protocol()
2315 list_for_each_entry_safe(item, pos, &handler->open_infos, link) { in efi_close_protocol()
2348 struct efi_handler *handler; in efi_open_protocol_information() local
2360 r = efi_search_protocol(handle, protocol, &handler); in efi_open_protocol_information()
2366 list_for_each_entry(item, &handler->open_infos, link) { in efi_open_protocol_information()
2383 list_for_each_entry_reverse(item, &handler->open_infos, link) { in efi_open_protocol_information()
2518 struct efi_handler *handler; in efi_locate_protocol() local
2554 ret = efi_search_protocol(efiobj, protocol, &handler); in efi_locate_protocol()
2559 ret = efi_search_protocol(efiobj, protocol, &handler); in efi_locate_protocol()
2568 *protocol_interface = handler->protocol_interface; in efi_locate_protocol()
2788 struct efi_handler *handler, in efi_protocol_open() argument
2809 list_for_each_entry(item, &handler->open_infos, link) { in efi_protocol_open()
2837 list_for_each_entry(item, &handler->open_infos, link) { in efi_protocol_open()
2863 list_for_each_entry(item, &handler->open_infos, link) { in efi_protocol_open()
2871 match = efi_create_open_info(handler); in efi_protocol_open()
2884 *protocol_interface = handler->protocol_interface; in efi_protocol_open()
2910 struct efi_handler *handler; in efi_open_protocol() local
2947 r = efi_search_protocol(handle, protocol, &handler); in efi_open_protocol()
2958 r = efi_protocol_open(handler, protocol_interface, agent_handle, in efi_open_protocol()
3458 struct efi_handler *handler; in efi_connect_controller() local
3461 list_for_each_entry(handler, &efiobj->protocols, link) { in efi_connect_controller()
3462 list_for_each_entry(item, &handler->open_infos, link) { in efi_connect_controller()
3550 struct efi_handler *handler; in efi_get_child_controllers() local
3556 list_for_each_entry(handler, &efiobj->protocols, link) { in efi_get_child_controllers()
3557 list_for_each_entry(item, &handler->open_infos, link) { in efi_get_child_controllers()
3575 list_for_each_entry(handler, &efiobj->protocols, link) { in efi_get_child_controllers()
3576 list_for_each_entry(item, &handler->open_infos, link) { in efi_get_child_controllers()