prot_queue_del(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

prot_queue_del β€” remove a physical eraseblock from the protection queue.

okay bestie, this is the prot_queue_del(9) page from the Kernel API Manual, and it is literally about removing a physical eraseblock from the protection queue. no cap, that's the whole vibe. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int prot_queue_del (struct ubi_device *ubi , int pnum );

πŸŽ€ ARGUMENTS πŸŽ€

  • ubi β€” UBI device description object. that's the device info bestie, iconic.
  • pnum β€” the physical eraseblock to remove. yes, this is the one getting deleted from the protection queue 🫢

πŸ’– DESCRIPTION πŸ’–

This function deletes PEB pnum from the protection queue and returns zero in case of success and -ENODEV if the PEB was not found.

so: zero means success (slay ✨), and -ENODEV means that PEB was not found (oof, it wasn't there 😭). that's the whole return situation, periodt.


πŸ”₯ SEE ALSO πŸ”₯

okay bestie, here are all the linked faves, every single one, exact:


byeeeee 🫢 this page came from source/version ./drivers/mtd/ubi, it’s dated October 2026, and the manual name is still prot_queue_del(9) πŸ’–βœ¨

πŸ“¦ where this page comes from