libzbc
Data Fields
zbc_zone_realm Struct Reference

Zone realm descriptor. More...

#include <zbc.h>

Data Fields

uint16_t zbr_number
 
uint8_t zbr_dom_id
 
uint8_t zbr_type
 
uint8_t zbr_actv_flags
 
uint8_t zbr_nr_domains
 
uint8_t zbr_restr
 
uint8_t __pad [2]
 
struct zbc_realm_item zbr_ri [ZBC_NR_ZONE_TYPES]
 

Detailed Description

Zone realm descriptor.

Provide all information about a single zone realm defined by the device. This structure is typically populated with the information returned to the client after successful execution of REPORT REALMS SCSI command or REPORT REALMS DMA ATA command.

Field Documentation

uint8_t zbc_zone_realm::__pad[2]

Padding to 8 bytes.

uint8_t zbc_zone_realm::zbr_actv_flags

A set of flags indicating what zone types can be activated in this realm.

uint8_t zbc_zone_realm::zbr_dom_id

The currently active domain ID. This is the type of all zones in the realm (enum zbc_zone_type).

uint8_t zbc_zone_realm::zbr_nr_domains

The number of valid items in zbr_ri array below.

uint16_t zbc_zone_realm::zbr_number

Zone realm ID as returned by REPORT REALMS. The lowest is 0.

uint8_t zbc_zone_realm::zbr_restr

Realm restrictions.

struct zbc_realm_item zbc_zone_realm::zbr_ri[ZBC_NR_ZONE_TYPES]

Array of realm items. Depending on the number of domains, some of the entries in this array may be empty.

uint8_t zbc_zone_realm::zbr_type

Current realm zone type. This the type of all zones in the realm (enum zbc_zone_type).


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