assign_aeb_to_av(9)
π assign_aeb_to_av(9) β a Kernel API Manual moment
okay so bestie, welcome to the assign_aeb_to_av page from the Kernel API Manual β¨ this one's short and sweet and honestly kind of a glow-up for your data structures, so let's get into it π«Ά
β¨ NAME β¨
assign_aeb_to_av β assigns a SEB to a given ainf_volume and removes it from it's original list π«
like literally, it takes a SEB, hands it over to an ainf_volume, and is like "you don't live in that old list anymore, you live HERE now" and the old list is just supposed to deal π
πΈ SYNOPSIS πΈ
void assign_aeb_to_av (struct ubi_attach_info *ai , struct ubi_ainf_peb
*aeb , struct ubi_ainf_volume *av );
it returns void, so no little gift back, just vibes and side effects π₯
π ARGUMENTS π
aiβ theubi_attach_infoobject π this is the main character context, no capaebβ the to be assigned SEB π¦ like the one getting moved, the one we're manifesting into a new homeavβ the target scan volume πΈ this is the destination, the new address, the one catching the SEB
π SEE ALSO π
all the neighbours in the kernel file ./drivers/mtd/ubi/fastmap.c β go say hi to the whole friend group bestie π
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)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)return_fm_pebs(9)ubi_update_fastmap(9)
ngl bestie this one is a whole one-function wonder β read it, love it, and go read the rest of fastmap.c when you're done ππ
and that's the page! π it lives over in ./drivers/mtd/ubi, dated October 2026, and it's assign_aeb_to_av(9) forever and always β¨ slay, you're welcome, periodt π
π¦ 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