Lines Matching refs:token
341 struct efi_file_io_token *token) in efi_file_open_ex() argument
346 file_name, open_mode, attributes, token); in efi_file_open_ex()
348 if (!token) { in efi_file_open_ex()
356 if (ret == EFI_SUCCESS && token->event) { in efi_file_open_ex()
357 token->status = EFI_SUCCESS; in efi_file_open_ex()
358 efi_signal_event(token->event); in efi_file_open_ex()
572 struct efi_file_io_token *token) in efi_file_read_ex() argument
576 EFI_ENTRY("%p, %p", this, token); in efi_file_read_ex()
578 if (!token) { in efi_file_read_ex()
583 ret = efi_file_read_int(this, &token->buffer_size, token->buffer); in efi_file_read_ex()
585 if (ret == EFI_SUCCESS && token->event) { in efi_file_read_ex()
586 token->status = EFI_SUCCESS; in efi_file_read_ex()
587 efi_signal_event(token->event); in efi_file_read_ex()
672 struct efi_file_io_token *token) in efi_file_write_ex() argument
676 EFI_ENTRY("%p, %p", this, token); in efi_file_write_ex()
678 if (!token) { in efi_file_write_ex()
683 ret = efi_file_write_int(this, &token->buffer_size, token->buffer); in efi_file_write_ex()
685 if (ret == EFI_SUCCESS && token->event) { in efi_file_write_ex()
686 token->status = EFI_SUCCESS; in efi_file_write_ex()
687 efi_signal_event(token->event); in efi_file_write_ex()
989 struct efi_file_io_token *token) in efi_file_flush_ex() argument
993 EFI_ENTRY("%p, %p", this, token); in efi_file_flush_ex()
995 if (!token) { in efi_file_flush_ex()
1002 if (ret == EFI_SUCCESS && token->event) { in efi_file_flush_ex()
1003 token->status = EFI_SUCCESS; in efi_file_flush_ex()
1004 efi_signal_event(token->event); in efi_file_flush_ex()