do_pre_bridg...source_split(9)
πΈ do_pre_bridge_resource_split(9) β like, the actual manual page, bestie πΈ
okay so this is a page from the Kernel API Manual, and it's about do_pre_bridge_resource_split β yes that name is a mouthful, yes we're gonna get through it together, hold my iced coffee π§
β¨ NAME β¨
do_pre_bridge_resource_split β literally its whole job is to find you a node of resources that are unused. that's it. that's the vibe check π
π¦ SYNOPSIS π¦
struct pci_resource * do_pre_bridge_resource_split (struct pci_resource
**head , struct pci_resource **orig_head , u32 alignment );
copy it exactly, don't @ me, the compiler is very particular about this one π
π ARGUMENTS π
headβ the new list head. like, the fresh new list you're building, main character energy β¨orig_headβ the original list head. the before picture. we keep it around, obviously π«Άalignmentβ max node size(?). and yes the(?)is doing a lot of heavy lifting here β the manual genuinely writes it with a question mark, so we're keeping it with a question mark π ngl that's iconic of it
π SEE ALSO π
so much family, so much lore. all of these live in the Kernel file ./drivers/pci/hotplug/cpqphp_ctrl.c:
cpqhp_find_slot(9)sort_by_size(9)sort_by_max_size(9)do_bridge_resource_split(9)get_io_resource(9)get_max_resource(9)get_resource(9)cpqhp_resource_sort_and_combine(9)cpqhp_slot_create(9)slot_remove(9)bridge_slot_remove(9)cpqhp_slot_find(9)set_controller_speed(9)board_replaced(9)board_added(9)remove_board(9)cpqhp_pushbutton_thread(9)switch_leds(9)cpqhp_hardware_test(9)configure_new_device(9)configure_new_function(9)
that's twenty-one whole cross-references, bestie. twenty-one. we ate and left no crumbs π
fr fr: this split is the pre one β do_bridge_resource_split(9) is a whole different girl, don't confuse them π
π that's the whole page!! sourced straight from ./drivers/pci/hotplug, dated October 2026, and every single bit of it is still do_pre_bridge_resource_split(9) β same girl, cuter font. bye bestie, go sort some resources πΈβ¨π
π¦ 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