Reference

libnvme_sed_l0_find-libnvme3(2)

Find a Level 0 Discovery descriptor

NAME

libnvme_sed_l0_find - Find a Level 0 Discovery descriptor

SYNOPSIS

struct tcg_l0_desc * libnvme_sed_l0_find (void *buf , size_t len , __u16 code );

ARGUMENTS

buf

Level 0 Discovery data

len

Size of buf in bytes

code

Feature code, see enum tcg_l0_code

RETURN

Pointer to the first descriptor with feature code code, or NULL if there is none.