set_seen(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 of ubi->peb_count size. 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:


kisses from the source corner: ./drivers/mtd/ubi, dated October 2026 πŸ’‹πŸ«Ά slay ✨

πŸ“¦ where this page comes from