Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

nvme_identify_ns_granularity - Retrieves namespace granularity identification

Arguments

fd File descriptor of nvme device gr_list User space destination address to transfer the data

Description

If the controller supports reporting of Namespace Granularity, then a Namespace Granularity List is returned to the host for up to sixteen namespace granularity descriptors See structnvme_id_ns_granularity_list for the definition of the returned structure.

Name

nvme_identify_ns_granularity - Retrieves namespace granularity identification

Return

The nvme command status if a response was received (see enumnvme_status_field) or -1 with errno set otherwise. August 2025 nvme_identify_ns_granularity nvme_identify_ns_granularity(2)

Synopsis

intnvme_identify_ns_granularity(intfd,structnvme_id_ns_granularity_list*gr_list);

See Also