Date: Tue, 27 Dec 2022 17:12:11 -0800 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: How do I find whatever combination of things end up defining pcib_get_bus(. . .)? Message-ID: <5D802E64-9B2D-4ECB-9889-18C17ED4F788@yahoo.com> References: <5D802E64-9B2D-4ECB-9889-18C17ED4F788.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
# grep -r "\<pcib_get_bus\>" /usr/13S-src/ | more /usr/13S-src/sys/mips/nlm/xlp_pci.c: busno =3D pcib_get_bus(dev); /usr/13S-src/sys/powerpc/ofw/ofw_pcibus.c: busno =3D = pcib_get_bus(dev); /usr/13S-src/sys/dev/pci/pci.c: busno =3D pcib_get_bus(dev); /usr/13S-src/sys/dev/pci/pci.c: busno =3D pcib_get_bus(dev); /usr/13S-src/sys/dev/pci/pci.c: busno =3D pcib_get_bus(dev); /usr/13S-src/sys/dev/cardbus/cardbus.c: pcib_get_bus(cbdev), = pcib_get_bus(cbdev), 1, 0); /usr/13S-src/sys/dev/cardbus/cardbus.c: bus =3D pcib_get_bus(cbdev); /usr/13S-src/sys/dev/hyperv/pcib/vmbus_pcib.c: busno =3D = pcib_get_bus(dev); /usr/13S-src/sys/dev/pccbb/pccbb.c: b =3D = pcib_get_bus(child); /usr/13S-src/sys/dev/pccbb/pccbb_pci.c: sc->pribus =3D = pcib_get_bus(parent); /usr/13S-src/sys/x86/pci/qpi.c: *result =3D pcib_get_bus(dev); /usr/13S-src/sys/x86/pci/pci_bus.c: bus =3D pcib_get_bus(dev); /usr/13S-src/sys/x86/iommu/intel_drv.c: *busno =3D = pcib_get_bus(bus); Everything found is a use, not a definition. (I also tried: # grep -r "\<pcib_get_bus\>" /usr/obj/BUILDs/13S-CA72-nodbg-clang/ .) Historically I've managed to eventually track down definitions are are less direct, such as ones that are formed via macros that put together names. But, so far, I've not managed to for pcib_get_bus . So, hopefully, someone can point me to what I've missed. =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5D802E64-9B2D-4ECB-9889-18C17ED4F788>