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

nvme_mi_admin_format_nvm - Format NVMe namespace

Arguments

ctrl Controller to send command to args Format NVM command arguments

Description

Perform a low-level format to set the LBA data & metadata size. May destroy data & metadata on the specified namespaces

Name

nvme_mi_admin_format_nvm - Format NVMe namespace

Return

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

Synopsis

intnvme_mi_admin_format_nvm(nvme_mi_ctrl_tctrl,structnvme_format_nvm_args*args);

See Also