set_seen(9)
β¨ NAME β¨
okay so bestie, welcome to set_seen(9) from the Kernel API Manual π Its whole entire job is literally: mark a PEB as seen. Thatβs it. Thatβs the vibe. No cap, she is not doing extra credit β¨
πΈ SYNOPSIS πΈ
void set_seen (struct ubi_device *ubi , int pnum , unsigned long *seen
);
π ARGUMENTS π
ubiβ the UBI device description object. Main character struct energy, honestly πpnumβ the PEB thatβs getting marked as seen. The page says βmakredβ and Iβm not fixing it β thatβs canon now ππseenβ an integer array ofubi->peb_countsize. That exact size, bestie, donβt get creative π
π¦ SEE ALSO π¦
Kernel file ./drivers/mtd/ubi/fastmap.c β thatβs the spot. The whole squad is:
init_seen(9)free_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)return_fm_pebs(9)ubi_update_fastmap(9)
kisses from the source corner: ./drivers/mtd/ubi, dated October 2026 ππ«Ά 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