NVME_INIT_DIRECTIVE_RECV_STREAM_STATUS-LIBNVME3(2)
π nvme_init_directive_recv_stream_status(9) β the libnvme API manual, but make it cute
Okay bestie, so this is a page straight outta the libnvme API manual, and the star of the show is nvme_init_directive_recv_stream_status. She's a function, she's lowkey iconic, and she's about to set up a passthru command for you. Let's get into it β¨
πΈ NAME πΈ
nvme_init_directive_recv_stream_status β initialize the passthru command for Directive Receive Stream Status. That's literally her whole job, and she ate π
π¦ SYNOPSIS π¦
int nvme_init_directive_recv_stream_status (struct libnvme_passthru_cmd
*cmd , __u32 nsid , unsigned int nr_entries , struct
nvme_streams_directive_status *id );
Like, she returns an int, and she takes four lil friends along for the ride. Keep reading, bestie π«Ά
π ARGUMENTS π
cmdβ the passthru command you're gonna use. This is the main character's stage, fr fr.nsidβ the Namespace ID. Think of it as the address of the vibe you're visiting πnr_entriesβ the number of streams you wanna receive. Counting is caring β¨idβ the stream status buffer. This is where the tea gets stored π
π DESCRIPTION π
So what does she even do? She initializes the passthru command buffer for the Directive Receive - Stream Status command. That's it, that's the whole vibe. No cap, she sets up the buffer so the command can do its thing π₯
β RETURN β
0on success β slay, we love a clean win π- negative error code otherwise β not me catching an L π
Real talk bestie: those return values are exactly what the page says, so if you get a negative number, something went sideways. Treat it with respect π
And that's the whole page, mwah π This lil beauty comes to you from the libnvme API manual, dated October 2026 β she's fresh, she's official, and she's obsessed with initializing your buffers. Bye bestie, go forth and receive those stream statuses ππ§ββοΈ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms