libnvme(9)

πŸ“¦ version 3.2, in arch rolling

✨ libnvme(9) ✨ β€” the API Manual, bestie edition πŸŽ€

okay so this page is literally about libnvme, the API manual, and ngl the whole thing is one single struct and it's lowkey iconic for it. we're talking the Streams Directive - Return Parameters Data Structure and every single field gets its own little moment. no skips, no cuts, we're covering all of it πŸ’…


🌸 NAME 🌸

struct nvme_streams_directive_params β€” Streams Directive - Return Parameters Data Structure

like, that's the whole vibe. it's a struct, it's the return parameters, it's the Streams Directive's data structure. periodt ✨


πŸ’– SYNOPSIS πŸ’–

here's the code, copied exactly, don't touch a single character bestie 🫢

struct nvme_streams_directive_params {
    __le16 msl;
    __le16 nssa;
    __le16 nsso;
    __u8 nssc;
    __u8 rsvd[9];
    __le32 sws;
    __le16 sgs;
    __le16 nsa;
    __le16 nso;
    __u8 rsvd2[6];
 };

the way that closing brace has one extra space before it?? iconic, we keep it fr fr 😭


πŸ‘‘ Members πŸ‘‘

okay, member by member, main character energy for each one:

  • msl β€” Max Streams Limit. that's the ceiling, the limit, the "know your place" field πŸ’€
  • nssa β€” NVM Subsystem Streams Available. how many streams the NVM Subsystem has available, slay 🌈
  • nsso β€” NVM Subsystem Streams Open. how many are actually open β€” the extroverts of the streams 🫢
  • nssc β€” NVM Subsystem Stream Capability. the capability field. it's giving potential ✨
  • rsvd β€” Reserved. not for you bestie, leave it alone πŸ™ˆ
  • sws β€” Stream Write Size. the size of a stream write, exactly what it says πŸ”₯
  • sgs β€” Stream Granularity Size. granularity, so like, the fine-grain detail of it all πŸ¦‹
  • nsa β€” Namespace Streams Allocated. the namespace's allocated streams, claimed and accounted for πŸ’œ
  • nso β€” Namespace Streams Open. the namespace's streams that are open right now 🌸
  • rsvd2 β€” Reserved. again. also not for you. also leave it alone πŸ’…
bestie note: rsvd and rsvd2 are Reserved β€” that's the whole description. don't be out here reading into them, they're reserved and that's the tea β˜•

and that's the whole page!! no options, no exit statuses, no SEE ALSO, just one struct living its best life πŸ’–

cute little sign-off πŸŽ€ this one's from October 2026, titled struct nvme_streams_directive_params, and it belongs to the libnvme(9) manual. mwah, take care of her πŸŒΈπŸ’…βœ¨

πŸ“¦ where this page comes from