unmap_entry(9)
π unmap_entry β the kernel API manual, but make it make sense
okay so bestie, welcome to unmap_entry(9), the manual page for the little function that unmaps an invalid entry and tells everyone its page needs to be written out. yep, that's the whole vibe. she's a Kernel API Manual girly through and through β¨
π NAME π
unmap_entry β unmaps an invalid entry, and like, indicates that its page must be written out. that's it, that's the job π
πΈ SYNOPSIS πΈ
void unmap_entry (struct block_map_page *page , struct vdo_completion *completion , slot_number_t slot );
copy it exactly, spacing and all, no cap β we do not editorialize code here π
π¦ ARGUMENTS π¦
pageβ the page that's holding the entries. she's the container, the stage, the main character of the address space π«Άcompletionβ thepage_completionused for writing the page. think of it as the little receipt you get when the write goes through β¨slotβ the slot you're unmapping. yeet that entry, bestie π
π SEE ALSO π
so there's a whole friend group here, and we are not leaving anyone out of the group chat. Kernel file ./drivers/md/dm-vdo/repair.c plus literally all of these:
as_repair_completion(9)abort_repair(9)abort_on_error(9)drain_slab_depot(9)flush_block_map_updates(9)handle_page_load_error(9)remove_out_of_bounds_entries(9)process_slot(9)rebuild_reference_counts_from_page(9)page_loaded(9)fetch_page(9)rebuild_from_leaves(9)process_entry(9)advance_points(9)before_recovery_point(9)get_entry(9)validate_recovery_journal_entry(9)add_slab_journal_entries(9)vdo_replay_into_slab_journals(9)find_entry_starting_next_page(9)get_recovery_journal_block_header(9)is_valid_recovery_journal_block(9)is_exact_recovery_journal_block(9)find_recovery_journal_head_and_tail(9)unpack_entry(9)append_sector_entries(9)extract_new_mappings(9)compute_usages(9)vdo_repair(9)
like, that's the whole squad. no one gets left on read π₯
okay that's the page!! this one's courtesy of ./drivers/md/dm-vdo, dated October 2026, and it's unmap_entry(9) signing off β stay hydrated, unmapped, and iconic ππ
π¦ 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