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

nvmf_register_ctrl - Perform registration task with a DC

Arguments

c Controller instance tas Task field of the Command Dword 10 (cdw10). Indicates whether to perform a Registration, Deregistration, or Registration-update. result The command-specific result returned by the DC upon command completion.

Description

Perform registration task with a Discovery Controller (DC). Three tasks are supported: register, deregister, and registration update.

Name

nvmf_register_ctrl - Perform registration task with a DC

Return

0 on success; on failure -1 is returned and errno is set August 2025 nvmf_register_ctrl nvmf_register_ctrl(2)

Synopsis

intnvmf_register_ctrl(nvme_ctrl_tc,enumnvmf_dim_tastas,__u32*result);

See Also