Lines Matching refs:handler

577  * @handler:       reference to the protocol
583 struct efi_handler **handler)
598 if (handler)
599 *handler = protocol;
618 struct efi_handler *handler;
621 ret = efi_search_protocol(handle, protocol, &handler);
624 if (handler->protocol_interface != protocol_interface)
626 list_del(&handler->link);
627 free(handler);
1126 * @handler: handler of a protocol
1131 struct efi_handler *handler)
1139 list_add_tail(&item->link, &handler->open_infos);
1171 struct efi_handler *handler;
1181 handler = calloc(1, sizeof(struct efi_handler));
1182 if (!handler)
1184 memcpy((void *)&handler->guid, protocol, sizeof(efi_guid_t));
1185 handler->protocol_interface = protocol_interface;
1186 INIT_LIST_HEAD(&handler->open_infos);
1187 list_add_tail(&handler->link, &efiobj->protocols);
1196 list_del(&handler->link);
1197 free(handler);
1273 struct efi_handler *handler;
1279 list_for_each_entry(handler, &handle->protocols, link) {
1280 if (protocol && guidcmp(&handler->guid, protocol))
1282 list_for_each_entry(item, &handler->open_infos, link) {
1301 list_for_each_entry(handler, &handle->protocols, link) {
1302 if (protocol && guidcmp(&handler->guid, protocol))
1304 list_for_each_entry(item, &handler->open_infos, link) {
1385 struct efi_handler *handler;
1391 r = efi_search_protocol(handle, protocol, &handler);
1394 if (handler->protocol_interface != protocol_interface)
1410 list_for_each_entry_safe(item, pos, &handler->open_infos, link) {
1418 if (!list_empty(&handler->open_infos)) {
1872 struct efi_handler *handler;
1899 &handler);
1902 dp = (struct efi_device_path *)handler->protocol_interface;
2011 struct efi_handler *handler;
2033 ret = efi_search_protocol(device, guid, &handler);
2037 load_file_protocol = handler->protocol_interface;
2365 struct efi_handler *handler;
2373 ret = efi_search_protocol(handle, protocol, &handler);
2378 list_for_each_entry_safe(item, pos, &handler->open_infos, link) {
2441 struct efi_handler *handler;
2453 r = efi_search_protocol(handle, protocol, &handler);
2459 list_for_each_entry(item, &handler->open_infos, link) {
2476 list_for_each_entry_reverse(item, &handler->open_infos, link) {
2623 struct efi_handler *handler;
2659 ret = efi_search_protocol(efiobj, protocol, &handler);
2664 ret = efi_search_protocol(efiobj, protocol, &handler);
2673 *protocol_interface = handler->protocol_interface;
2997 * @handler: handler of a protocol
3006 struct efi_handler *handler,
3027 list_for_each_entry(item, &handler->open_infos, link) {
3055 list_for_each_entry(item, &handler->open_infos, link) {
3081 list_for_each_entry(item, &handler->open_infos, link) {
3089 match = efi_create_open_info(handler);
3102 *protocol_interface = handler->protocol_interface;
3128 struct efi_handler *handler;
3165 r = efi_search_protocol(handle, protocol, &handler);
3176 r = efi_protocol_open(handler, protocol_interface, agent_handle,
3698 struct efi_handler *handler;
3701 list_for_each_entry(handler, &efiobj->protocols, link) {
3702 list_for_each_entry(item, &handler->open_infos, link) {
3790 struct efi_handler *handler;
3796 list_for_each_entry(handler, &efiobj->protocols, link) {
3797 list_for_each_entry(item, &handler->open_infos, link) {
3815 list_for_each_entry(handler, &efiobj->protocols, link) {
3816 list_for_each_entry(item, &handler->open_infos, link) {