libnvme_ns_get_lba_util-libnvme32
Get lba_util.
Usage
int libnvme_ns_get_lba_util (const struct libnvme_ns *p , uint64_t *lba_util , uint64_t dflt );
Arguments
p
|
The struct libnvme_ns instance to query. |
|---|---|
lba_util
|
Where to store the value on success. |
dflt
|
Value to store in lba_util on failure. |
Return
0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.