HelenOS sources

pci_bar_mask_to_size  577 uspace/drv/bus/pci/pciintel/pci.c 	range_size = pci_bar_mask_to_size(mask);
pci_bar_mask_to_size  108 uspace/drv/bus/pci/pciintel/pci.h extern size_t pci_bar_mask_to_size(uint32_t);
HelenOS homepage, sources at GitHub