NVME_INIT_GET_FEATURES_LBA_RANGE-LIBNVME3(2)
π nvme_init_get_features_lba_range(9) π
okay so bestie, welcome to the libnvme API manual β this one's a little page about a little function that sets up a passthru command for Get Features, LBA Range edition. it's giving "small but crucial" ngl π
β¨ NAME β¨
nvme_init_get_features_lba_range β the glow-up ritual that Initializes a passthru command for Get Features - LBA Range. she's literally just here to prep your command buffer, and she ate π«Ά
πΈ SYNOPSIS πΈ
void nvme_init_get_features_lba_range (struct libnvme_passthru_cmd *cmd
, __u32 nsid , enum nvme_get_features_sel sel , struct
nvme_lba_range_type *lrt );
note the void β she returns nothing because she's not about that giving-back life, she just sets things up for you π
π¦ ARGUMENTS π¦
cmdβ the Passthru command to use. this is the blank canvas, the main character struct you're handing over so she can fill it in β¨nsidβ Namespace ID. a__u32, very demure, very mindful. tells everyone which namespace we're talking about πselβ Select which type of attribute to return. seeenum nvme_get_features_selfor your options, iykyk πlrtβ Buffer to receive LBA Range Type data structure. this is where the good stuff lands, so make sure it's ready to receive, no cap π
π₯ DESCRIPTION π₯
so what does she actually do? she initializes the passthru command buffer for the Get Features command with FID value NVME_FEAT_FID_LBA_RANGE β
that's it. that's the whole vibe. she preps the buffer, sets the FID, and hands it back to you ready to rock. iconic behaviour honestly π
real talk: this is just the setup step β she fills in the command buffer, she doesn't fire it off. don't come for her for not submitting the command, that's somebody else's job π
and that's the whole page, bestie β no hiding extra options, no secret flags, we keep it 100 π
β¨ sign-off szn β¨ this was the libnvme API manual, October 2026 edition β go forth and init those buffers, bestie. mwah πππ¦
π¦ 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