logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_mi_mi_subsystem_health_status_poll - Read the Subsystem Health Data Structure from the NVM subsystem

Arguments

ep endpoint for MI communication clear flag to clear the Composite Controller Status state nshds subsystem health status data to populate

Description

Retrieves the Subsystem Health Data Structure into nshds. If clear is set, requests that the Composite Controller Status bits are cleared after the read. See NVMe-MI section 5.6 for details on the CCS bits. See structnvme_mi_nvm_ss_health_status.

Name

nvme_mi_mi_subsystem_health_status_poll - Read the Subsystem Health Data Structure from the NVM subsystem

Return

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

Synopsis

intnvme_mi_mi_subsystem_health_status_poll(nvme_mi_ep_tep,boolclear,structnvme_mi_nvm_ss_health_status*nshds);

See Also