pci_epc_mem_get_order(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pci_epc_mem_get_order(9) πŸ’–

okay so bestie, this is straight from the Kernel API Manual and it's giving β€œtiny helper, big brain energy” 🧚✨


✨ NAME ✨

pci_epc_mem_get_order β€” determine the allocation order of a memory size πŸŽ€


🌸 SYNOPSIS 🌸

int pci_epc_mem_get_order (struct pci_epc_mem *mem , size_t size );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mem β€” the address space of the endpoint controller, periodt πŸ’…
  • size β€” the size for which you want to get the order ✨

πŸŽ€ DESCRIPTION πŸŽ€

so basically this is get_order reimplemented for mem->page_size, because the generic get_order always gets the order with a constant PAGE_SIZE 😭 like it refuses to be flexible, and this little icon steps in to handle it πŸ’–


πŸ”₯ SEE ALSO πŸ”₯


πŸ’– that's the tea! this page comes from source/version ./drivers/pci/endpoint, dated October 2026, and it's pci_epc_mem_get_order(9) β€” mwah, slay πŸ«ΆπŸ’…

πŸ“¦ where this page comes from