STRUCT REGISTRY_LIST_ENTRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct registry_list_entry(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ this one's about struct registry_list_entry, and it's literally a linked list member for a registry key/value. yes that's a mouthful, no i will not be shortening it 🫢


🌸 SYNOPSIS 🌸

like, here's the whole vibe of the struct, don't touch a single character:

struct registry_list_entry {
    struct list_head head;
    enum registry_type type;
    size_t klen;
    char key[REGISTRY_MAX_KEY_LENGTH];
    size_t vlen;
    u32 dword;
    u8 binary[];
 };

πŸŽ€ Members πŸŽ€

bestie these are the members, pay attention, there will be a quiz:

  • head β€” the list_head struct, it's giving linked-list glue πŸ’…
  • type β€” it's one of dword, binary, or string
  • klen β€” the length of the name of the key
  • key β€” the key name itself, iconic
  • vlen β€” the length of the value
  • dword β€” the data, if it's REGISTRY_TABLE_ENTRY_TYPE_DWORD
  • binary β€” the data, if it's TYPE_BINARY or TYPE_STRING

✨ Description ✨

every single registry key/value is represented internally by this struct. every one. no cap πŸ’€

Type DWORD is a simple 32-bit unsigned integer, and its value is stored in dword. that's it, that's the whole personality.

Types BINARY and STRING are variable-length binary blobs 🌈 the only real difference between BINARY and STRING is that STRING is null-terminated and is expected to contain only printable characters. random bytes? not their moment. πŸ™ˆ


πŸ‘‘ Note πŸ‘‘

technically it is possible to have multiple keys with the same name but different types, but this is not useful since GSP-RM expects keys to have only one specific type. so like… don't. it's giving chaotic for no reason 😭

fr fr, one key = one type. that's the vibe check. ⭐

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the page!! 🧚 from ./drivers/gpu/drm/nouveau/nvkm..., dated October 2026 β€” mwah, slay, struct registry_list_entry(9) ate and left absolutely no crumbs πŸ’œπŸ“

πŸ“¦ where this page comes from