return_fm_pebs(9)
π return_fm_pebs(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for return_fm_pebs, and no cap it's a little one, but it's iconic in its own quiet way π
β¨ NAME β¨
return_fm_pebs β returns all PEBs used by a fastmap back to the WL subsystem.
like. that's the whole job. it gives the PEBs back. handover complete, bye πβ¨
πΈ SYNOPSIS πΈ
void return_fm_pebs (struct ubi_device *ubi , struct ubi_fastmap_layout *fm );
returns nothing (void, she's mysterious like that π
), takes two pointers, done.
π¦ ARGUMENTS π¦
ubiβ the UBI device object. your whole device, the main character πfmβ the fastmap layout object. the layout bestie in question π«Ά
π SEE ALSO π
these all live in the kernel file ./drivers/mtd/ubi/fastmap.c β the whole squad, fr fr:
init_seen(9)free_seen(9)set_seen(9)self_check_seen(9)ubi_calc_fm_size(9)new_fm_vbuf(9)add_aeb(9)add_vol(9)assign_aeb_to_av(9)update_vol(9)process_pool_aeb(9)unmap_peb(9)scan_pool(9)count_fastmap_pebs(9)ubi_attach_fastmap(9)find_fm_anchor(9)ubi_scan_fastmap(9)ubi_write_fastmap(9)invalidate_fastmap(9)ubi_update_fastmap(9)
go read those too, they ate π₯
anyway that's the page!! mwah π it lives in ./drivers/mtd/ubi, it's dated October 2026, and it's filed under return_fm_pebs(9) β slay, bye 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