Debian Codegraph @

doc/man/nvmf_register_ctrl.2

raw
1 .TH "nvmf_register_ctrl" 9 "nvmf_register_ctrl" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvmf_register_ctrl \- Perform registration task with a DC
4 .SH SYNOPSIS
5 .B "int" nvmf_register_ctrl
6 .BI "(nvme_ctrl_t c " ","
7 .BI "enum nvmf_dim_tas tas " ","
8 .BI "__u32 *result " ");"
9 .SH ARGUMENTS
10 .IP "c" 12
11 Controller instance
12 .IP "tas" 12
13 Task field of the Command Dword 10 (cdw10). Indicates whether to
14 perform a Registration, Deregistration, or Registration-update.
15 .IP "result" 12
16 The command-specific result returned by the DC upon command
17 completion.
18 .SH "DESCRIPTION"
19 Perform registration task with a Discovery Controller (DC). Three
20 tasks are supported: register, deregister, and registration update.
21 .SH "RETURN"
22 0 on success; on failure -1 is returned and errno is set