acpi_handle_list_equal(9)
π acpi_handle_list_equal β from the Kernel API Manual, bestie β¨
Okay so picture this: you're deep in the kernel, you've got two ACPI handle lists, and you just need to know if they're the same list. That's it. That's the whole function. Let me walk you through it π«Ά
πΈ NAME πΈ
acpi_handle_list_equal β the vibe-check function that tells you if two ACPI handle lists are literally the same β¨
π SYNOPSIS π
bool acpi_handle_list_equal (struct acpi_handle_list *list1 , struct
acpi_handle_list *list2 );
π¦ ARGUMENTS π¦
list1β the first list we're comparing, bestie. She's our main character in this comparison πlist2β the second list, aka the one getting compared tolist1. Two lists enter, oneboolleaves π₯
π DESCRIPTION π
So here's the tea β: this function returns true if the given ACPI handle lists are the same size and contain the same ACPI handles in the same order. Otherwise β and this is important β it returns false.
Like, it's not just "do these lists have the same stuff in them" β the order matters, no cap. Same handles, different order? Not equal. Periodt πβ¨
π SEE ALSO π
All the siblings and cousins, living in the kernel file ./drivers/acpi/utils.c β go say hi to the whole friend group π«Ά:
acpi_handle_list_replace(9)acpi_handle_list_free(9)acpi_device_dep(9)acpi_evaluate_ost(9)acpi_handle_path(9)acpi_handle_printk(9)__acpi_handle_debug(9)acpi_evaluation_failure_warn(9)acpi_has_method(9)acpi_evaluate_ej0(9)acpi_evaluate_lck(9)acpi_evaluate_reg(9)acpi_evaluate_dsm(9)acpi_check_dsm(9)acpi_dev_uid_to_integer(9)acpi_dev_found(9)acpi_dev_present(9)acpi_dev_get_next_match_dev(9)acpi_dev_get_first_match_dev(9)acpi_reduced_hardware(9)acpi_dev_is_video_device(9)acpi_match_platform_list(9)
And that's the whole page, bestie π this lil icon lives under ./drivers/acpi, dated October 2026, and it's serving Kernel API Manual energy β go forth and compare those handle lists, slay π
β¨π
π¦ 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