File: nvmf_register_ctrl.2

package info (click to toggle)
libnvme 1.16.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,016 kB
  • sloc: ansic: 35,812; perl: 1,834; sh: 475; python: 194; cpp: 64; makefile: 55
file content (22 lines) | stat: -rw-r--r-- 784 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.TH "nvmf_register_ctrl" 9 "nvmf_register_ctrl" "November 2025" "libnvme API manual" LINUX
.SH NAME
nvmf_register_ctrl \- Perform registration task with a DC
.SH SYNOPSIS
.B "int" nvmf_register_ctrl
.BI "(nvme_ctrl_t c "  ","
.BI "enum nvmf_dim_tas tas "  ","
.BI "__u32 *result "  ");"
.SH ARGUMENTS
.IP "c" 12
Controller instance
.IP "tas" 12
Task field of the Command Dword 10 (cdw10). Indicates whether to
perform a Registration, Deregistration, or Registration-update.
.IP "result" 12
The command-specific result returned by the DC upon command
completion.
.SH "DESCRIPTION"
Perform registration task with a Discovery Controller (DC). Three
tasks are supported: register, deregister, and registration update.
.SH "RETURN"
0 on success; on failure -1 is returned and errno is set