STRUCT NVMEM_KEEPOUT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct nvmem_keepout(9) β€” the Kernel API Manual, but make it group chat πŸ’–

okay so bestie, this page lives in the Kernel API Manual and it's all about struct nvmem_keepout β€” literally the NVMEM register keepout range ✨ like, the little "do not touch" zone of your NVMEM. iykyk 🫢


🌸 NAME 🌸

struct nvmem_keepout β€” NVMEM register keepout range. no cap, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct nvmem_keepout {
    unsigned int start;
    unsigned int end;
    unsigned char value;
 };

look at her. three fields. main character energy πŸ’…


πŸ‘‘ Members πŸ‘‘

  • start β€” the first byte offset to avoid. like, this is where the "nope, not this one" begins 🚫
  • end β€” one beyond the last byte offset to avoid. yes bestie, one beyond β€” it's exclusive, so the last byte you actually avoid is end - 1. do not come for me, that's just how it is πŸ’€
  • value β€” the byte to fill reads with for this region. so when somebody reads this zone, they get this byte back instead of whatever spicy secret is actually there πŸ™ˆ

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/nvmem-provider.h β€” that's where the squad lives 🏠
  • struct nvmem_cell_info(9)
  • struct nvmem_config(9)
  • struct nvmem_layout(9)
  • of_nvmem_layout_get_container(9)

go read them, they're iconic, fr fr ⭐


πŸ’– bestie reminder: this page is from ./include/linux, dated October 2026. slay, bye πŸ‘‹πŸ’œ
πŸ“¦ where this page comes from