process_pool_aeb(9)
π process_pool_aeb β like, we found a non-empty PEB in a pool π
okay so real talk, this page is process_pool_aeb(9) straight out of the Kernel API Manual bestie, and it's way less scary than it sounds, promise π«Ά
β¨ NAME β¨
process_pool_aeb β we found a non-empty PEB in a pool. that's it, that's the whole vibe π
(a PEB = physical erase block, iykyk)
πΈ SYNOPSIS πΈ
int process_pool_aeb (struct ubi_device *ubi , struct ubi_attach_info
*ai , struct ubi_vid_hdr *new_vh , struct ubi_ainf_peb *new_aeb );
literally returns an int, no cap π₯
π ARGUMENTS π
ubiβ the UBI device object π¦ like, the whole device we're working withaiβ the attach info object β¨ the lil bundle of info from when we attachednew_vhβ the volume header derived fromnew_aebπ it's giving "header that came from the AEB below"new_aebβ the AEB to be examined π main character of the function tbh, we're inspecting this one
π DESCRIPTION π
so what happens? it returns 0 on success π and < 0 means an internal error happened π (yes, strictly less than zero, not "some number," okay bestie, the manpage said < 0).
that's it. that's the description. she's short and iconic π
ngl this is one of those tiny helper functions in the fastmap code β if you're reading this page you're probably deep in fastmap.c and that's honestly so brave of you π«Ά
π§ SEE ALSO π§
like the whole squad, fr fr. file: ./drivers/mtd/ubi/fastmap.c π
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)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)return_fm_pebs(9)ubi_update_fastmap(9)
like, read them all, they're all so valid β
and that's the whole page bestie π this one came out of ./drivers/mtd/ubi, dated October 2026, and it's filed under process_pool_aeb(9) β go forth and slay your fastmap debugging π¦β¨π
π¦ 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