iPXE
Data Fields
efi_file Struct Reference

An EFI file. More...

Data Fields

struct refcnt refcnt
 Reference count. More...
 
EFI_FILE_PROTOCOL file
 EFI file protocol. More...
 
EFI_LOAD_FILE2_PROTOCOL load
 EFI load file protocol. More...
 
struct imageimage
 Image (if any) More...
 
const char * name
 Filename. More...
 
size_t pos
 Current file position. More...
 
size_t(* read )(struct efi_file_reader *reader)
 Read from file. More...
 

Detailed Description

An EFI file.

Definition at line 74 of file efi_file.c.

Field Documentation

◆ refcnt

struct refcnt efi_file::refcnt

Reference count.

Definition at line 76 of file efi_file.c.

Referenced by efi_file_open_fixed().

◆ file

EFI_FILE_PROTOCOL efi_file::file

◆ load

EFI_LOAD_FILE2_PROTOCOL efi_file::load

EFI load file protocol.

Definition at line 80 of file efi_file.c.

Referenced by efi_file_load(), and efi_file_open_image().

◆ image

struct image* efi_file::image

Image (if any)

Definition at line 82 of file efi_file.c.

Referenced by efi_file_image(), and efi_file_read_image().

◆ name

const char* efi_file::name

Filename.

Definition at line 84 of file efi_file.c.

Referenced by efi_file_image(), and efi_file_open().

◆ pos

size_t efi_file::pos

Current file position.

Definition at line 86 of file efi_file.c.

Referenced by efi_file_install(), efi_file_read(), and efi_file_read_dir().

◆ read

size_t( * efi_file::read) (struct efi_file_reader *reader)

Read from file.

Parameters
readerFile reader
Return values
lenLength read

Definition at line 93 of file efi_file.c.

Referenced by efi_file_image(), efi_file_len(), and efi_file_read().


The documentation for this struct was generated from the following file: