efivar_init(9)
π efivar_init(9) π
okay so bestie, welcome to the Kernel API Manual page for efivar_init(9) β it's giving βbuild the initial list of EFI variablesβ and weβre gonna get through it together π
β¨ NAME β¨
efivar_init β build the initial list of EFI variables π¦
πΈ SYNOPSIS πΈ
int efivar_init (int (*func)(efi_char16_t *, efi_guid_t, unsigned long,
void *) , void *data , bool duplicate_check );
π ARGUMENTS π
funcβ the callback function to invoke for every variable, no cap β¨dataβ function-specific data that gets passed tofunc, iykyk π«Άduplicate_checkβ fail if a duplicate variable is found π
π₯ DESCRIPTION π₯
Get every EFI variable from the firmware and invoke func. func should populate the initial dentry and inode tree π
Returns 0 on success, or a kernel error code on failure. periodt π
π SEE ALSO π
Kernel file ./fs/efivarfs/vars.c β go look, bestie π
efivar_entry_delete(9)efivar_entry_size(9)__efivar_entry_get(9)efivar_entry_get(9)efivar_entry_set_get_size(9)
thatβs the whole vibe! this page is from ./fs/efivarfs (source/version), dated October 2026, and yes itβs efivar_init(9) β mwah πβ¨
π¦ 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