acpi_handle_list_equal(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to list1. Two lists enter, one bool leaves πŸ”₯

πŸ’– 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 🫢:


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