STRUCT QSEE_RSP_UEFI_QUERY_VARIABLE_INFO(9)
π STRUCT QSEE_RSP_UEFI_QUERY_VARIABLE_INFO(9) π
okay bestie so this is a page from the Kernel API Manual, and today's main character is struct qsee_rsp_uefi_query_variable_info β it's literally the Response for the GetNextVariableName command. no cap. π¦
β¨ NAME β¨
struct qsee_rsp_uefi_query_variable_info β the response you get back for the GetNextVariableName command. that's it, that's the vibe. π
πΈ SYNOPSIS πΈ
here's the whole glow-up, copy it exactly or the compiler will simply not hear you:
struct qsee_rsp_uefi_query_variable_info {
u32 command_id;
u32 length;
u32 status;
u32 _pad;
u64 storage_space;
u64 remaining_space;
u64 max_variable_size;
};
π§ MEMBERS π§
command_idβ the ID of the command. it must beQSEE_CMD_UEFI_QUERY_VARIABLE_INFO. not optional, not negotiable, it's giving very strict queen energy πlengthβ how long this response is, aka the size of this struct in bytes. yes, the struct measuring itself, we love a self-aware icon πstatusβ the status of this command. that's it, that's the whole assignment β¨_padβ padding. it's just there. filler episode, but make it byte-aligned πstorage_spaceβ the full storage space size, in bytes. the whole closet πremaining_spaceβ the free storage space still available, in bytes. how much room is actually left in said closet π«Άmax_variable_sizeβ the maximum variable data size, in bytes. the biggest fit you're allowed to cram in there π₯
π SEE ALSO π
peep the kernel file ./drivers/firmware/qcom/qcom_qseecom_uefisecapp.c and these absolute icons right here, iykyk:
struct qsee_req_uefi_get_variable(9)struct qsee_rsp_uefi_get_variable(9)struct qsee_req_uefi_set_variable(9)struct qsee_rsp_uefi_set_variable(9)struct qsee_req_uefi_get_next_variable(9)struct qsee_rsp_uefi_get_next_variable(9)struct qsee_req_uefi_query_variable_info(9)
go read all of them, bestie, they're a whole friend group π
lowkey reminder: everything lives under ./drivers/firmware/qcom, and this little masterpiece is dated October 2026 β so go forth, query those variables, and slay. periodt. βπ
mwah π that's the whole page, you ate it up fr fr πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms