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

nvme_mi_admin_security_send - Perform a Security Send command on a controller.

Arguments

ctrl Controller to send command to args Security Send command arguments

Description

Performs a Security Send Admin command as specified by args. Response data is stored in args->data, which should be a buffer of args->data_len bytes. Resulting data length is stored in args->data_len on successful command completion. Security Send data length should not be greater than 4096 bytes to comply with specification limits. See: structnvme_get_log_args

Name

nvme_mi_admin_security_send - Perform a Security Send command on a controller.

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_security_send nvme_mi_admin_security_send(2)

Synopsis

intnvme_mi_admin_security_send(nvme_mi_ctrl_tctrl,structnvme_security_send_args*args);

See Also