libnvme_mi_submit_entry(9)
πΈ libnvme_mi_submit_entry (9) β nvme girlie edition πΈ
okay so like, hi bestie π this one is from the libnvme API manual and it's honestly such a sweet little hook. it's giving "backstage pass" energy. let's go β¨
β¨ NAME β¨
libnvme_mi_submit_entry β the weak hook that gets called before an MI message is sent. literally the pre-game ritual π
π¦ SYNOPSIS π¦
void * libnvme_mi_submit_entry (__u8 type , const struct nvme_mi_msg_hdr *hdr , size_t hdr_len , const void *data , size_t data_len );
no cap, that's the whole signature π
π ARGUMENTS π
typeβ the MCTP message type πhdrβ pointer to the MI message header πhdr_lenβ how long the message header is, in bytes πdataβ pointer to the message payload data πdata_lenβ how long the payload data is, in bytes π§
π₯ DESCRIPTION π₯
so this is a weak symbol, which is the whole main character thing about it β an application can override it if it wants. and like, why would you? to intercept outgoing MI messages, bestie. for tracing or testing purposes. that's it, that's the vibe check β¨
oh and super important: whatever you return? it gets passed back as user_data to the matching libnvme_mi_submit_exit call. so like, they're linked, iykyk π«Ά
π RETURN π
an opaque pointer that gets passed to libnvme_mi_submit_exit, or NULL. no thoughts, just vibes π
ok that's the whole page, go forth and trace your MI messages responsibly π
peace out bestie π this has been libnvme_mi_submit_entry from the libnvme API manual, dated October 2026 β slay, periodt β¨ππ¦
π¦ 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