nvme_init_g...handle_usage(9)
β¨ nvme_init_get_log_reclaim_unit_handle_usage β¨
okay bestie, welcome to the libnvme API manual π this one is a little function with a huge name and honestly? it's giving "my parents named me after the whole family tree" energy π but it's fine, we're gonna get through it together π«Ά
πΈ NAME πΈ
nvme_init_get_log_reclaim_unit_handle_usage β Initialize passthru command for Reclaim Unit Handle Usage
like yes, that's the actual name, no I can't shorten it, she's iconic and she's long π
π¦ SYNOPSIS π¦
void nvme_init_get_log_reclaim_unit_handle_usage (struct
libnvme_passthru_cmd *cmd , __u16 egid , __u64 lpo , void *log , __u32
len );
that's it. five arguments. one void return, so she doesn't return anything back to you, she just sets things up and vibes β¨
π ARGUMENTS π
cmdβ the passthru command you're working with, like the canvas and she's the painter π¨egidβ Endurance group identifier, a__u16bestie, keep it safe πlpoβ Offset into the log page,__u64, iykyk πlogβ your Log page data buffer, this is where the good stuff lands πlenβ Length (in bytes) of the provided user buffer that's gonna hold the log data, a__u32, no cap π
π₯ DESCRIPTION π₯
so what does she actually do? she initializes the passthru command buffer for the Get Log command, with LID value NVME_LOG_LID_RUH_USAGE π
that's the whole gig. the way that she just sets that up for you and expects zero credit... main character energy honestly π
no cap, that's genuinely all there is β hand her the command struct and the details, and she does the passthru buffer prep so you don't have to π
reminder bestie:LIDhere isNVME_LOG_LID_RUH_USAGE, not some other LID. don't mix them up, I'm begging π
β sign-off β
okay that's the whole page, you ate that π this gem is from the libnvme API manual, dated October 2026 β go forth and Get Log responsibly, love u, bye π§π
π¦ 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