STRUCT UBI_WL_ENTRY(9)
β¨ NAME β¨
okay bestie, this is struct ubi_wl_entry from the Kernel API Manual β literally the wear-leveling entry π
. she's a kernel struct, she's iconic, and we're gonna get into it.
π¦ SYNOPSIS π¦
the whole shape of her, no cap:
struct ubi_wl_entry {
union {
struct rb_node rb;
struct list_head list;
} u;
int ec;
int pnum;
};
π MEMBERS π
u.rbβ link in the corresponding (free/used) RB-tree πu.listβ link in the protection queue π«Άecβ erase counter, periodtpnumβ physical eraseblock number, no cap
π DESCRIPTION π
so this data structure is used in the WL sub-system β yes, that one. each physical eraseblock has a corresponding struct wl_entry object, and that object may be kept in different RB-trees. it's giving multi-tree main character energy π. See WL sub-system for details, iykyk.
π« SEE ALSO π«
- Kernel file
./drivers/mtd/ubi/ubi.h struct ubi_vid_io_buf(9)struct ubi_ltree_entry(9)struct ubi_rename_entry(9)struct ubi_fastmap_layout(9)struct ubi_fm_pool(9)struct ubi_eba_leb_desc(9)struct ubi_volume(9)struct ubi_volume_desc(9)struct ubi_debug_info(9)struct ubi_device(9)struct ubi_ainf_peb(9)struct ubi_ainf_volume(9)struct ubi_attach_info(9)struct ubi_work(9)ubi_init_vid_buf(9)ubi_free_vid_buf(9)ubi_get_vid_hdr(9)ubi_ro_mode(9)vol_id2idx(9)idx2vol_id(9)ubi_is_fm_vol(9)ubi_find_fm_block(9)
that's the whole page, bestie π«Ά this was the Kernel API Manual, source/version ./drivers/mtd/ubi, dated October 2026, and the page is struct ubi_wl_entry(9) β mwah πβ¨
π¦ 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