ubi_find_fm_block(9)
πΈ NAME πΈ
Okay bestie, welcome to the Kernel API Manual page for ubi_find_fm_block(9) β yes, that's the manual name, and yes, it's a whole vibe. This one checks whether a PEB is part of the current Fastmap, periodt. π
β¨ SYNOPSIS β¨
The signature is literally right here, no cap:
struct ubi_wl_entry * ubi_find_fm_block (const struct ubi_device *ubi ,
int pnum );
π ARGUMENTS π
ubiβ the UBI device description object. It's giving main character energy. π«Άpnumβ the physical eraseblock to look for. Go find your PEB, bestie. π
π DESCRIPTION π
Okay so here's the tea: this function returns a wear leveling object if pnum relates to the current fastmap. Otherwise? It returns NULL. That's it. That's the whole plot. π
π¦ SEE ALSO π¦
Y'all should also peek at these, iykyk:
- Kernel file
./drivers/mtd/ubi/ubi.h 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_fm_pool(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)
And that's the page, bestie! It comes from ./drivers/mtd/ubi, it's dated October 2026, and it's literally the ubi_find_fm_block(9) page. Slay. πβ¨
π¦ 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