pci_rebar_size_to_bytes(9)
πΈ NAME πΈ
pci_rebar_size_to_bytes(9) β bestie, this page is literally here to Convert encoded BAR Size to size in bytes. That's the whole vibe. π
β¨ SYNOPSIS β¨
Here's the signature, copy it exactly:
resource_size_t pci_rebar_size_to_bytes (int size );
π ARGUMENTS π
sizeβ the encoded BAR Size as defined in the PCIe spec, where0=1MBand31=128TB. That's the range, no cap. π«Ά
π¦ RETURN π¦
BAR size in bytes β that's it, that's the return. Iconic, honestly. β¨
π SEE ALSO π
Kernel file ./drivers/pci/rebar.c and the whole rebar bestie lineup:
pci_rebar_bytes_to_size(9)pci_rebar_find_pos(9)pci_rebar_get_possible_sizes(9)pci_rebar_size_supported(9)pci_rebar_get_max_size(9)pci_rebar_get_current_size(9)pci_rebar_set_size(9)pci_resize_resource(9)
kisses, your local Unix bestie π β source/version: ./drivers/pci; date: October 2026. π
π¦ 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