Srb

final class ntoseye.Srb

Subclass of BaseRecord.

A decoded SRB (!storagekd.storsrb).

property address: int
property cdb: list[int]
property class_context: int | None

The contexts an extended SRB keeps for the class driver, the port driver, and the miniport; a legacy one has none.

property command: str | None

The CDB’s command, with its LBA and block count when it has them.

property data_buffer: int
property data_transfer_length: int
property ex_data: list[SrbExData]
property extended: bool

A STORAGE_REQUEST_BLOCK, rather than a SCSI_REQUEST_BLOCK.

property flag_names: list[str]

The SRB_FLAGS_* names of the flags.

property flags: int
property function: int

SrbFunction of an extended SRB, else Function.

property function_name: str | None

The function by SRB_FUNCTION_* name, without the prefix.

property lun: int | None
property miniport_context: int | None
property next_srb: int
property original_request: int

OriginalRequest: the IRP the SRB carries.

property path: int | None

The path, target, and LUN, when the SRB has a BTL8 address.

property port: int | None

An extended SRB’s port; a legacy one has none.

property port_context: int | None
property priority: int | None
property request_tag: int | None
property scsi_status: int | None
property sense: str | None

The sense data, decoded, when SRB_STATUS_AUTOSENSE_VALID says it holds some.

property sense_buffer: int
property sense_length: int
property srb_status: int
property srb_status_text: str

The status by name, with QUEUE_FROZEN and AUTOSENSE_VALID.

property target: int | None
property timeout: int

Seconds.