libnvme_reap_passthru(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme_reap_passthru β€” the libnvme API manual, bestie edition πŸŽ€

okay so real quick, this page lives in the libnvme API manual and it's about libnvme_reap_passthru(9) β€” yes the whole name, we're not abbreviating, she's an icon and she knows it ✨


🌸 NAME 🌸

libnvme_reap_passthru β€” reap one async completion. literally just one. one single completion. she's not greedy πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int libnvme_reap_passthru (struct libnvme_transport_handle *hdl , struct
libnvme_passthru_completion *completion );

like copy that exactly, no touchy, character for character, iykyk 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • hdl β€” the transport handle. your little handle bestie, she carries the transport vibes πŸ’–
  • completion β€” the completion output structure. this is where the good stuff gets written back, so don't skimp on it πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

So the way that this works: libnvme_reap_passthru waits for one queued passthru command to complete ⏳ β€” yes, it actually blocks and waits, she's patient like that β€” and then it stashes three things into completion:

  • the completed command pointer πŸ‘‘
  • the associated cookie πŸͺ (not a real cookie, sorry bestie 😭)
  • the completion status ⭐

All three go into completion. That's the whole assignment. main character energy, minimal drama, no cap πŸ’œ


🌈 RETURN 🌈

  • 0 on success β€” slay, we ate πŸ’…
  • a negative error code otherwise β€” not slay, but at least you know πŸ’€

lowkey reminder: the return value is int, so the successful case is 0, and anything negative means something went sideways β€” check it, fr fr πŸ™ˆ

that's the whole page bestie, mwah πŸ’–

this cutie was brought to you by libnvme β€” page libnvme_reap_passthru, from the libnvme_reap_passthru(9) manual, dated October 2026 πŸ§šβ€β™€οΈ see you in the next man page, periodt βœ¨πŸ¦‹

πŸ“¦ where this page comes from