|
iPXE
|
A SAN device. More...
#include <sanboot.h>
Data Fields | |
| struct refcnt | refcnt |
| Reference count. More... | |
| struct list_head | list |
| List of SAN devices. More... | |
| unsigned int | drive |
| Drive number. More... | |
| unsigned int | flags |
| Flags. More... | |
| struct interface | command |
| Command interface. More... | |
| struct retry_timer | timer |
| Command timeout timer. More... | |
| int | command_rc |
| Command status. More... | |
| struct block_device_capacity | capacity |
| Raw block device capacity. More... | |
| unsigned int | blksize_shift |
| Block size shift. More... | |
| int | is_cdrom |
| Drive is a CD-ROM. More... | |
| void * | priv |
| Driver private data. More... | |
| unsigned int | paths |
| Number of paths. More... | |
| struct san_path * | active |
| Current active path. More... | |
| struct list_head | opened |
| List of opened SAN paths. More... | |
| struct list_head | closed |
| List of closed SAN paths. More... | |
| struct san_path | path [0] |
| SAN paths. More... | |
| struct refcnt san_device::refcnt |
Reference count.
Definition at line 60 of file sanboot.h.
Referenced by alloc_sandev(), sandev_get(), and sandev_put().
| struct list_head san_device::list |
List of SAN devices.
Definition at line 62 of file sanboot.h.
Referenced by register_sandev(), sandev_find(), sandev_next(), sanpath_open(), and unregister_sandev().
| unsigned int san_device::drive |
Drive number.
Definition at line 65 of file sanboot.h.
Referenced by dummy_san_hook(), efi_block_boot(), efi_block_io_flush(), efi_block_io_read(), efi_block_io_reset(), efi_block_io_write(), efi_block_rw(), int13(), int13_cdrom_read_boot_catalog(), int13_cdrom_status_terminate(), int13_device_path_info(), int13_extended_read(), int13_extended_rw(), int13_extended_seek(), int13_extended_verify(), int13_extended_write(), int13_extension_check(), int13_get_disk_type(), int13_get_extended_parameters(), int13_get_last_status(), int13_get_parameters(), int13_guess_geometry_fdd(), int13_guess_geometry_hdd(), int13_is_fdd(), int13_parse_eltorito(), int13_read_sectors(), int13_reset(), int13_rw_sectors(), int13_sync_num_drives(), int13_write_sectors(), register_sandev(), sandev_command_read_capacity(), sandev_command_rw(), sandev_describe(), sandev_find(), sandev_next(), sandev_parse_iso9660(), sandev_reopen(), sandev_reset(), sanpath_block_close(), sanpath_open(), sanpath_step(), and unregister_sandev().
| unsigned int san_device::flags |
Flags.
Definition at line 67 of file sanboot.h.
Referenced by register_sandev(), and sanpath_open().
| struct interface san_device::command |
Command interface.
Definition at line 70 of file sanboot.h.
Referenced by alloc_sandev(), sandev_command_close(), sandev_command_read_capacity(), sandev_command_rw(), and sanpath_close().
| struct retry_timer san_device::timer |
Command timeout timer.
Definition at line 72 of file sanboot.h.
Referenced by alloc_sandev(), sandev_command(), sandev_command_close(), sandev_free(), and unregister_sandev().
| int san_device::command_rc |
Command status.
Definition at line 74 of file sanboot.h.
Referenced by sandev_command(), and sandev_command_close().
| struct block_device_capacity san_device::capacity |
Raw block device capacity.
Definition at line 77 of file sanboot.h.
Referenced by efi_block_hook(), sandev_blksize(), sandev_capacity(), sandev_command_capacity(), sandev_command_rw(), sandev_parse_iso9660(), and sandev_rw().
| unsigned int san_device::blksize_shift |
Block size shift.
To allow for emulation of CD-ROM access, this represents the left-shift required to translate from exposed logical I/O blocks to underlying blocks.
Definition at line 84 of file sanboot.h.
Referenced by efi_block_hook(), sandev_blksize(), sandev_capacity(), sandev_parse_iso9660(), and sandev_rw().
| int san_device::is_cdrom |
Drive is a CD-ROM.
Definition at line 86 of file sanboot.h.
Referenced by int13(), int13_cdrom_status_terminate(), int13_hook(), and sandev_parse_iso9660().
| void* san_device::priv |
Driver private data.
Definition at line 89 of file sanboot.h.
Referenced by alloc_sandev(), efi_block_boot(), efi_block_hook(), efi_block_local(), efi_block_rw(), efi_block_unhook(), int13(), int13_cdrom_read_boot_catalog(), int13_get_extended_parameters(), int13_get_last_status(), int13_get_parameters(), int13_guess_geometry(), int13_hook(), int13_parse_eltorito(), int13_rw_sectors(), and int13_sync_num_drives().
| unsigned int san_device::paths |
Number of paths.
Definition at line 92 of file sanboot.h.
Referenced by alloc_sandev(), sandev_command(), sandev_free(), and sandev_undescribe().
| struct san_path* san_device::active |
Current active path.
Definition at line 94 of file sanboot.h.
Referenced by efi_block_hook(), int13_device_path_info(), sandev_command_read_capacity(), sandev_command_rw(), sandev_free(), sandev_needs_reopen(), sandev_reopen(), sandev_restart(), sanpath_close(), and sanpath_step().
| struct list_head san_device::opened |
List of opened SAN paths.
Definition at line 96 of file sanboot.h.
Referenced by alloc_sandev(), sandev_describe(), sandev_free(), sandev_reopen(), sandev_restart(), and sanpath_open().
| struct list_head san_device::closed |
List of closed SAN paths.
Definition at line 98 of file sanboot.h.
Referenced by alloc_sandev(), sandev_describe(), sandev_reopen(), sanpath_close(), and sanpath_open().
| struct san_path san_device::path[0] |
SAN paths.
Definition at line 100 of file sanboot.h.
Referenced by alloc_sandev(), sandev_free(), and sandev_undescribe().
1.8.15