STRUCT UBI_FM_POOL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct ubi_fm_pool(9) πŸ¦‹

okay bestie, welcome to the Kernel API Manual page for struct ubi_fm_pool(9) β€” this is the in-memory fastmap pool situation, and it's lowkey iconic. let's get into it πŸ’…


🌸 NAME 🌸

struct ubi_fm_pool β€” in-memory fastmap pool


✨ SYNOPSIS ✨

       struct ubi_fm_pool {
           int pebs[UBI_FM_MAX_POOL_SIZE];
           int used;
           int size;
           int max_size;
        };

πŸŽ€ Members πŸŽ€

  • pebs β€” PEBs in this pool
  • used β€” number of used PEBs
  • size β€” total number of PEBs in this pool
  • max_size β€” maximal size of the pool

πŸ’« Description πŸ’«

so a pool gets filled with up to max_size. if all PEBs within the pool are used, a new fastmap will be written to the flash and the pool gets refilled with empty PEBs. that's the whole vibe check 🫢


πŸ”— SEE ALSO πŸ”—

Kernel file ./drivers/mtd/ubi/ubi.h β€” and bestie, you also gotta peek at these:


mwah πŸ’‹ β€” source/version: ./drivers/mtd/ubi, date: October 2026, title: struct ubi_fm_pool(9). that's the whole footer, bestie 🫢

πŸ“¦ where this page comes from