Reference

nvme_exported_subsys_mgmt_data-libnvme3(2)

Subsystem Management Data Structure, used by the Manage Exported NVM Subsystem Send Grant Host Access and Revoke Host Access operations

NAME

struct nvme_exported_subsys_mgmt_data - Subsystem Management Data Structure, used by the Manage Exported NVM Subsystem Send Grant Host Access and Revoke Host Access operations

SYNOPSIS

struct nvme_exported_subsys_mgmt_data {
__u8 rsvd0[64];
__le16 numhent;
__le16 numense;
__u8 rsvd68[188];
__u8 entries[];
};

Members

rsvd0

Reserved

numhent

Number of Host Entries (NUMHENT), shall be greater than 0h

numense

Number of Exported NVM Subsystem Entries (NUMENSE), shall be greater than 0h

rsvd68

Reserved

entries

numhent entries of struct nvme_exported_subsys_mgmt_host_entry followed by numense entries of struct nvme_exported_subsys_mgmt_subsys_entry. Left as a raw byte buffer since the two variable-length lists have different element sizes and cannot both be expressed as fixed struct members - the caller walks entries using the sizes of those two struct types.