Lines Matching refs:efiobj
538 struct efi_object *efiobj; in efi_search_protocol() local
543 efiobj = efi_search_obj(handle); in efi_search_protocol()
544 if (!efiobj) in efi_search_protocol()
546 list_for_each(lhandle, &efiobj->protocols) { in efi_search_protocol()
592 struct efi_object *efiobj; in efi_remove_all_protocols() local
596 efiobj = efi_search_obj(handle); in efi_remove_all_protocols()
597 if (!efiobj) in efi_remove_all_protocols()
599 list_for_each_entry_safe(protocol, pos, &efiobj->protocols, link) { in efi_remove_all_protocols()
1056 struct efi_object *efiobj; in efi_search_obj() local
1061 list_for_each_entry(efiobj, &efi_obj_list, link) { in efi_search_obj()
1062 if (efiobj == handle) in efi_search_obj()
1063 return efiobj; in efi_search_obj()
1115 struct efi_object *efiobj; in efi_add_protocol() local
1120 efiobj = efi_search_obj(handle); in efi_add_protocol()
1121 if (!efiobj) in efi_add_protocol()
1132 list_add_tail(&handler->link, &efiobj->protocols); in efi_add_protocol()
1327 struct efi_object *efiobj; in efi_uninstall_protocol() local
1334 efiobj = efi_search_obj(handle); in efi_uninstall_protocol()
1335 if (!efiobj) { in efi_uninstall_protocol()
1344 efi_disconnect_all_drivers(efiobj, protocol, NULL); in efi_uninstall_protocol()
1509 struct efi_object *efiobj; in efi_locate_handle() local
1541 efiobj = handle->handle; in efi_locate_handle()
1544 list_for_each_entry(efiobj, &efi_obj_list, link) { in efi_locate_handle()
1545 if (!efi_search(search_type, protocol, efiobj)) in efi_locate_handle()
1568 *buffer = efiobj; in efi_locate_handle()
1571 list_for_each_entry(efiobj, &efi_obj_list, link) { in efi_locate_handle()
1572 if (!efi_search(search_type, protocol, efiobj)) in efi_locate_handle()
1573 *buffer++ = efiobj; in efi_locate_handle()
2409 struct efi_object *efiobj; in efi_protocols_per_handle() local
2422 efiobj = efi_search_obj(handle); in efi_protocols_per_handle()
2423 if (!efiobj) in efi_protocols_per_handle()
2427 list_for_each(protocol_handle, &efiobj->protocols) { in efi_protocols_per_handle()
2440 list_for_each(protocol_handle, &efiobj->protocols) { in efi_protocols_per_handle()
2520 struct efi_object *efiobj; in efi_locate_protocol() local
2551 efiobj = handle->handle; in efi_locate_protocol()
2554 ret = efi_search_protocol(efiobj, protocol, &handler); in efi_locate_protocol()
2558 list_for_each_entry(efiobj, &efi_obj_list, link) { in efi_locate_protocol()
2559 ret = efi_search_protocol(efiobj, protocol, &handler); in efi_locate_protocol()
3065 struct efi_object *efiobj; in efi_delete_image() local
3069 list_for_each_entry(efiobj, &efi_obj_list, link) { in efi_delete_image()
3072 list_for_each_entry(protocol, &efiobj->protocols, link) { in efi_delete_image()
3080 (efiobj, protocol->guid, in efi_delete_image()
3117 struct efi_object *efiobj; in efi_unload_image() local
3122 efiobj = efi_search_obj(image_handle); in efi_unload_image()
3123 if (!efiobj) { in efi_unload_image()
3136 switch (efiobj->type) { in efi_unload_image()
3153 efi_delete_image((struct efi_loaded_image_obj *)efiobj, in efi_unload_image()
3441 struct efi_object *efiobj; in efi_connect_controller() local
3446 efiobj = efi_search_obj(controller_handle); in efi_connect_controller()
3447 if (!efiobj) { in efi_connect_controller()
3461 list_for_each_entry(handler, &efiobj->protocols, link) { in efi_connect_controller()
3545 struct efi_object *efiobj, in efi_get_child_controllers() argument
3556 list_for_each_entry(handler, &efiobj->protocols, link) { in efi_get_child_controllers()
3575 list_for_each_entry(handler, &efiobj->protocols, link) { in efi_get_child_controllers()
3621 struct efi_object *efiobj; in efi_disconnect_controller() local
3627 efiobj = efi_search_obj(controller_handle); in efi_disconnect_controller()
3628 if (!efiobj) { in efi_disconnect_controller()
3640 r = efi_disconnect_all_drivers(efiobj, NULL, child_handle); in efi_disconnect_controller()
3645 r = efi_get_child_controllers(efiobj, in efi_disconnect_controller()