NAME
libnvme_ns_get_lba_count - Get lba_count.
SYNOPSIS
int libnvme_ns_get_lba_count (const struct libnvme_ns *p , uint64_t *lba_count , uint64_t dflt );
ARGUMENTS
- p
-
The struct libnvme_ns instance to query.
- lba_count
-
Where to store the value on success.
- dflt
-
Value to store in lba_count on failure.
RETURN
0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.