libnvme_ns_get_lba_util(9) libnvme API manual libnvme_ns_get_lba_util(9)

libnvme_ns_get_lba_util - Get lba_util.

int libnvme_ns_get_lba_util (const struct libnvme_ns *p , uint64_t *lba_util , uint64_t dflt );

The struct libnvme_ns instance to query.
Where to store the value on success.
Value to store in lba_util on failure.

0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.

libnvme_ns_get_lba_util October 2026