.TH "libnvme_path_get_queue_depth" 9 "libnvme_path_get_queue_depth" "October 2026" "libnvme API manual" LINUX .SH NAME libnvme_path_get_queue_depth \- Get queue_depth. .SH SYNOPSIS .B "int" libnvme_path_get_queue_depth .BI "(const struct libnvme_path *p " "," .BI "int *queue_depth " "," .BI "int dflt " ");" .SH ARGUMENTS .IP "p" 12 The \fIstruct libnvme_path\fP instance to query. .IP "queue_depth" 12 Where to store the value on success. .IP "dflt" 12 Value to store in \fIqueue_depth\fP on failure. .SH "RETURN" 0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.