nvme_init_s...ery_log_page(9)
β¨ nvme_init_send_discovery_log_page(9) β¨
okay so bestie, this one lives in the libnvme API manual and it's literally the glow-up tutorial for the Send Discovery Log Page command π like it's the setup step, the "get ready with me" of NVMe commands π
πΈ NAME πΈ
nvme_init_send_discovery_log_page β initializes the passthru command for the Send Discovery Log Page command. that's the whole vibe π¦
β SYNOPSIS β
void nvme_init_send_discovery_log_page (struct libnvme_passthru_cmd *cmd
, __u8 rlps , __u8 sct , __u8 sc , __u8 tlsp , __u8 tlid , __u32 ndws ,
__u64 tlpo , void *data , __u32 len );
she returns void bestie, no return value, she just does the thing β¨
π ARGUMENTS π
ten args, we love a full cast π
cmdβ the passthru command you're gonna use. this is the main character, everything gets written into it πrlpsβ Requested Log Page Status (RLPS) β peepenum nvme_send_discovery_log_page_rlpsfor the deets π₯sctβ Status Code Type (SCT) β only gets used ifrlpsisNVME_SDLP_RLPS_NOT_SUCCESSFULπscβ Status Code (SC) β also only used ifrlpsisNVME_SDLP_RLPS_NOT_SUCCESSFULπtlspβ Transferred Log Specific Parameter (TLSP) πΈtlidβ Transferred Log Page Identifier (TLID) π¦ndwsβ Number of Dwords (NDWS) transferred πtlpoβ Transferred Log Page Offset (TLPO) βdataβ the transferred log page data buffer, this is where the actual bytes live πlenβ length ofdata, don't forget her π
ngl thesct/scpairing is giving conditional-usage energy β they're only in the group chat whenrlpsisNVME_SDLP_RLPS_NOT_SUCCESSFUL, periodt π
π§ DESCRIPTION π§
Initializes the passthru command buffer for the Send Discovery Log Page command. that's it, that's the whole job β she sets up the buffer so the command is ready to slay π₯
think of it as the pre-game. you hand her the cmd buffer plus all the parameters above, and she fills everything in so the Send Discovery Log Page command is all dressed and ready to go out π
π SEE ALSO π
no SEE ALSO section in this one bestie β she's a standalone icon π
alright that's the whole page!! π«Ά this absolute gem comes from the libnvme API manual, and the date stamp on her is October 2026 β so yes she's future-dated and she knows it, main character energy fr fr π β¨π
π¦ 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