add_to_bin(9)
add_to_bin(9) π
okay so bestie, welcome to this Kernel API Manual entry β it's giving extremely specific placement energy, and honestly? iconic. No cap, we're about to make add_to_bin make sense. π«Ά
β¨ NAME β¨
add_to_bin β put a data_vio in a specific packer_bin in which it will definitely fit. The way that this function just places a data_vio in a bin it definitely fits in? Obsessed. Slay. π
β¨ SYNOPSIS β¨
the signature, verbatim, because we do not mess with code:
void add_to_bin (struct packer_bin *bin , struct data_vio *data_vio );
β¨ ARGUMENTS β¨
binβ the bin in which to put thedata_vio. That's the destination bin, bestie. The one receiving the vibe. β¨data_vioβ thedata_vioto add. That's the little data guy going into the bin. π
β¨ SEE ALSO β¨
Kernel file: ./drivers/md/dm-vdo/packer.c β yes, that's the spot. πΈ
the whole linked bestie lineup, fr fr:
vdo_get_compressed_block_fragment(9)assert_on_packer_thread(9)insert_in_sorted_list(9)make_bin(9)vdo_make_packer(9)vdo_free_packer(9)get_packer_from_data_vio(9)vdo_get_packer_statistics(9)abort_packing(9)release_compressed_write_waiter(9)finish_compressed_write(9)remove_from_bin(9)initialize_compressed_block(9)pack_fragment(9)compressed_write_end_io(9)write_bin(9)add_data_vio_to_packer_bin(9)select_bin(9)vdo_attempt_packing(9)check_for_drain_complete(9)write_all_non_empty_bins(9)vdo_flush_packer(9)vdo_remove_lock_holder_from_packer(9)vdo_increment_packer_flush_generation(9)vdo_drain_packer(9)vdo_resume_packer(9)vdo_dump_packer(9)
xoxo π
β this page is from source/version ./drivers/md/dm-vdo, dated October 2026, and it's literally add_to_bin(9). periodt. β¨
π¦ 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