iPXE
Data Fields
san_device Struct Reference

A SAN device. More...

#include <sanboot.h>

Data Fields

struct refcnt refcnt
 Reference count.
struct list_head list
 List of SAN devices.
unsigned int drive
 Drive number.
unsigned int flags
 Flags.
struct interface command
 Command interface.
struct retry_timer timer
 Command timeout timer.
int command_rc
 Command status.
struct block_device_capacity capacity
 Raw block device capacity.
unsigned int blksize_shift
 Block size shift.
int is_cdrom
 Drive is a CD-ROM.
void * priv
 Driver private data.
unsigned int paths
 Number of paths.
struct san_pathactive
 Current active path.
struct list_head opened
 List of opened SAN paths.
struct list_head closed
 List of closed SAN paths.
struct san_path path [0]
 SAN paths.

Detailed Description

A SAN device.

Definition at line 47 of file sanboot.h.


Field Documentation

Reference count.

Definition at line 49 of file sanboot.h.

Referenced by alloc_sandev().

List of SAN devices.

Definition at line 51 of file sanboot.h.

Referenced by register_sandev(), sandev_find(), sanpath_open(), and unregister_sandev().

unsigned int san_device::drive
unsigned int san_device::flags

Flags.

Definition at line 56 of file sanboot.h.

Referenced by register_sandev(), and sanpath_open().

Command interface.

Definition at line 59 of file sanboot.h.

Referenced by alloc_sandev(), sandev_command_close(), sandev_command_read_capacity(), sandev_command_rw(), and sanpath_close().

Command timeout timer.

Definition at line 61 of file sanboot.h.

Referenced by alloc_sandev(), sandev_command(), sandev_command_close(), sandev_free(), and unregister_sandev().

Command status.

Definition at line 63 of file sanboot.h.

Referenced by sandev_command(), and sandev_command_close().

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 73 of file sanboot.h.

Referenced by efi_block_hook(), sandev_blksize(), sandev_capacity(), sandev_parse_iso9660(), and sandev_rw().

Drive is a CD-ROM.

Definition at line 75 of file sanboot.h.

Referenced by int13(), int13_cdrom_status_terminate(), int13_hook(), and sandev_parse_iso9660().

unsigned int san_device::paths

Number of paths.

Definition at line 81 of file sanboot.h.

Referenced by alloc_sandev(), sandev_command(), sandev_free(), and sandev_undescribe().

List of opened SAN paths.

Definition at line 85 of file sanboot.h.

Referenced by alloc_sandev(), sandev_describe(), sandev_free(), sandev_reopen(), sandev_restart(), and sanpath_open().

List of closed SAN paths.

Definition at line 87 of file sanboot.h.

Referenced by alloc_sandev(), sandev_describe(), sandev_reopen(), sanpath_close(), and sanpath_open().

SAN paths.

Definition at line 89 of file sanboot.h.

Referenced by alloc_sandev(), sandev_free(), and sandev_undescribe().


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