sort_by_size(9)
π sort_by_size(9) π
okay bestie, welcome to sort_by_size(9) from the Kernel API Manual β yes, we're doing kernel API but make it cute β¨π«Ά
π NAME π
sort_by_size β sort nodes on the list by their length, smallest first ππ the tiny ones are literally main character energy, no cap.
β¨ SYNOPSIS β¨
int sort_by_size (struct pci_resource **head );
π¦ ARGUMENTS π¦
headβ the list to sort, bestie π«Ά the way that's the whole argument? iconic.
π₯ SEE ALSO π₯
okay these are the reference besties, all of them, in order, no skips π
- Kernel file
./drivers/pci/hotplug/cpqphp_ctrl.ccpqhp_find_slot(9)β the file/ref combo π sort_by_max_size(9)β another kernel bestie on the list πdo_pre_bridge_resource_split(9)β reference squad β¨do_bridge_resource_split(9)β also in the SEE ALSO lineup π«Άget_io_resource(9)β yep, on the list πget_max_resource(9)β reference bestie πΈget_resource(9)β still in the squad π¦cpqhp_resource_sort_and_combine(9)β on the reference list πcpqhp_slot_create(9)β here too πslot_remove(9)β in the lineup πbridge_slot_remove(9)β reference material βcpqhp_slot_find(9)β on the list πset_controller_speed(9)β SEE ALSO energy β¨board_replaced(9)β squad member π«Άboard_added(9)β also referenced πΈremove_board(9)β right here πcpqhp_pushbutton_thread(9)β on the reference roster π¦switch_leds(9)β present and accounted for πcpqhp_hardware_test(9)β in the SEE ALSO gang π₯configure_new_device(9)β reference bestie πconfigure_new_function(9)β last but never least π
not me being extra about keeping every reference exactly where it belongs, but that's the vibe: all the details, all the sparkle π
π source/version + date, bestie: ./drivers/pci/hotplug β’ October 2026 β’ 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