pub unsafe extern "C" fn nvmf_register_ctrl(
c: nvme_ctrl_t,
tas: nvmf_dim_tas,
result: *mut __u32,
) -> c_intExpand description
nvmf_register_ctrl() - Perform registration task with a DC @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.
Perform registration task with a Discovery Controller (DC). Three tasks are supported: register, deregister, and registration update.
Return: 0 on success; on failure -1 is returned and errno is set