STRUCT UBI_FM_POOL(9)
π¦ 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 poolusedβ number of used PEBssizeβ total number of PEBs in this poolmax_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:
struct ubi_vid_io_buf(9)struct ubi_wl_entry(9)struct ubi_ltree_entry(9)struct ubi_rename_entry(9)struct ubi_fastmap_layout(9)struct ubi_eba_leb_desc(9)struct ubi_volume(9)struct ubi_volume_desc(9)struct ubi_debug_info(9)struct ubi_device(9)struct ubi_ainf_peb(9)struct ubi_ainf_volume(9)struct ubi_attach_info(9)struct ubi_work(9)ubi_init_vid_buf(9)ubi_free_vid_buf(9)ubi_get_vid_hdr(9)ubi_ro_mode(9)vol_id2idx(9)idx2vol_id(9)ubi_is_fm_vol(9)ubi_find_fm_block(9)
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
- 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