Lines Matching refs:efiobj
457 struct efi_object *efiobj; in efi_search_protocol() local
462 efiobj = efi_search_obj(handle); in efi_search_protocol()
463 if (!efiobj) in efi_search_protocol()
465 list_for_each(lhandle, &efiobj->protocols) { in efi_search_protocol()
513 struct efi_object *efiobj; in efi_remove_all_protocols() local
517 efiobj = efi_search_obj(handle); in efi_remove_all_protocols()
518 if (!efiobj) in efi_remove_all_protocols()
520 list_for_each_entry_safe(protocol, pos, &efiobj->protocols, link) { in efi_remove_all_protocols()
904 struct efi_object *efiobj; in efi_search_obj() local
906 list_for_each_entry(efiobj, &efi_obj_list, link) { in efi_search_obj()
907 if (efiobj->handle == handle) in efi_search_obj()
908 return efiobj; in efi_search_obj()
961 struct efi_object *efiobj; in efi_add_protocol() local
965 efiobj = efi_search_obj(handle); in efi_add_protocol()
966 if (!efiobj) in efi_add_protocol()
977 list_add_tail(&handler->link, &efiobj->protocols); in efi_add_protocol()
1040 static efi_status_t efi_get_drivers(struct efi_object *efiobj, in efi_get_drivers() argument
1051 list_for_each_entry(handler, &efiobj->protocols, link) { in efi_get_drivers()
1069 list_for_each_entry(handler, &efiobj->protocols, link) { in efi_get_drivers()
1107 struct efi_object *efiobj, in efi_disconnect_all_drivers() argument
1115 ret = efi_get_drivers(efiobj, protocol, &number_of_drivers, in efi_disconnect_all_drivers()
1123 efiobj->handle, in efi_disconnect_all_drivers()
1149 struct efi_object *efiobj; in efi_uninstall_protocol_interface() local
1158 efiobj = efi_search_obj(handle); in efi_uninstall_protocol_interface()
1159 if (!efiobj) { in efi_uninstall_protocol_interface()
1168 efi_disconnect_all_drivers(efiobj, protocol, NULL); in efi_uninstall_protocol_interface()
1226 struct efi_object *efiobj) in efi_search() argument
1237 ret = efi_search_protocol(efiobj->handle, protocol, NULL); in efi_search()
1263 struct efi_object *efiobj; in efi_locate_handle() local
1292 list_for_each_entry(efiobj, &efi_obj_list, link) { in efi_locate_handle()
1293 if (!efi_search(search_type, protocol, search_key, efiobj)) in efi_locate_handle()
1307 list_for_each_entry(efiobj, &efi_obj_list, link) { in efi_locate_handle()
1308 if (!efi_search(search_type, protocol, search_key, efiobj)) in efi_locate_handle()
1309 *buffer++ = efiobj->handle; in efi_locate_handle()
1762 struct efi_object *efiobj; in efi_unload_image() local
1765 efiobj = efi_search_obj(image_handle); in efi_unload_image()
1766 if (efiobj) in efi_unload_image()
1767 list_del(&efiobj->link); in efi_unload_image()
2049 struct efi_object *efiobj; in efi_protocols_per_handle() local
2062 efiobj = efi_search_obj(handle); in efi_protocols_per_handle()
2063 if (!efiobj) in efi_protocols_per_handle()
2067 list_for_each(protocol_handle, &efiobj->protocols) { in efi_protocols_per_handle()
2080 list_for_each(protocol_handle, &efiobj->protocols) { in efi_protocols_per_handle()
2165 struct efi_object *efiobj; in efi_locate_protocol() local
2168 efiobj = list_entry(lhandle, struct efi_object, link); in efi_locate_protocol()
2170 ret = efi_search_protocol(efiobj->handle, protocol, &handler); in efi_locate_protocol()
2748 struct efi_object *efiobj; in efi_connect_controller() local
2753 efiobj = efi_search_obj(controller_handle); in efi_connect_controller()
2754 if (!efiobj) { in efi_connect_controller()
2768 list_for_each_entry(handler, &efiobj->protocols, link) { in efi_connect_controller()
2846 struct efi_object *efiobj, in efi_get_child_controllers() argument
2857 list_for_each_entry(handler, &efiobj->protocols, link) { in efi_get_child_controllers()
2874 list_for_each_entry(handler, &efiobj->protocols, link) { in efi_get_child_controllers()
2920 struct efi_object *efiobj; in efi_disconnect_controller() local
2925 efiobj = efi_search_obj(controller_handle); in efi_disconnect_controller()
2926 if (!efiobj) { in efi_disconnect_controller()
2938 r = efi_disconnect_all_drivers(efiobj, NULL, child_handle); in efi_disconnect_controller()
2947 efi_get_child_controllers(efiobj, in efi_disconnect_controller()