Reference

libnvme_sed_l0_next-libnvme3(2)

Return the next Level 0 Discovery descriptor

NAME

libnvme_sed_l0_next - Return the next Level 0 Discovery descriptor

SYNOPSIS

struct tcg_l0_desc * libnvme_sed_l0_next (void *buf , size_t len , struct tcg_l0_desc *desc );

ARGUMENTS

buf

Level 0 Discovery data

len

Size of buf in bytes

desc

Current descriptor, or NULL to get the first descriptor

DESCRIPTION

The walk ends at the length reported in the header or at the end of buf, whichever comes first. A descriptor which does not fit completely ends the walk.

RETURN

Pointer to the next descriptor, or NULL if there is none.