nvme_eom_hdr_t
#define PHYEYE_F_EOM(f) .nf_off = offsetof(nvme_eom_hdr_t, eom_##f), \
.nf_len = sizeof (((nvme_eom_hdr_t *)NULL)->eom_##f), \
volatile nvme_eom_hdr_t *eom, uint16_t wait, const char *qual)
VERIFY3U(min_len, >=, sizeof (nvme_eom_hdr_t));
const volatile nvme_eom_hdr_t *eom = buf;
nvmeadm_phyeye_read(npa, req, buf, sizeof (nvme_eom_hdr_t), 0);
phyeye_eol_oed_len(const nvme_eom_hdr_t *hdr, const nvme_eom_lane_desc_t *desc)
typedef void (*phyeye_lane_iter_cb_f)(uint8_t, const nvme_eom_hdr_t *,
phyeye_lane_iter(const nvme_eom_hdr_t *hdr, off_t max,
off_t cur_off = sizeof (nvme_eom_hdr_t);
phyeye_report_sanity_check(const nvme_eom_hdr_t *hdr, off_t len,
if (len < sizeof (nvme_eom_hdr_t)) {
"header", sizeof (nvme_eom_hdr_t));
if (hdr->eom_hsize != sizeof (nvme_eom_hdr_t)) {
"expected 0x%zx", hdr->eom_hsize, sizeof (nvme_eom_hdr_t));
phyeye_report_ascii(uint8_t descno, const nvme_eom_hdr_t *hdr,
phyeye_report_oed(uint8_t descno, const nvme_eom_hdr_t *hdr,
const nvme_eom_hdr_t *hdr = data;
phyeye_log_drive_lane_cb(uint8_t descno, const nvme_eom_hdr_t *hdr,
.nlfi_min = sizeof (nvme_eom_hdr_t),
nvme_eom_hdr_t hdr;
.nlpi_len = sizeof (nvme_eom_hdr_t),
CTASSERT(sizeof (nvme_eom_hdr_t) == 64);