libnvme_sed_l0_next-libnvme32
Return the next level 0 discovery descriptor
Usage
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 |
Overview
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.