hwlocality_advanced_io(3)
π¦ hwlocality_advanced_io(3) π¦
okay so this is the Library Functions Manual page for hwloc's advanced I/O situation, and we're gonna get you all the way together. No cap. π
πΈ NAME πΈ
hwlocality_advanced_io β Finding I/O objects
β¨ SYNOPSIS β¨
π Functions π
hwloc_obj_t hwloc_get_non_io_ancestor_obj (hwloc_topology_t topology,
hwloc_obj_t ioobj)
hwloc_obj_t hwloc_get_next_pcidev (hwloc_topology_t topology,
hwloc_obj_t prev)
hwloc_obj_t hwloc_get_pcidev_by_busid (hwloc_topology_t topology,
unsigned domain, unsigned bus, unsigned dev, unsigned func)
hwloc_obj_t hwloc_get_pcidev_by_busidstring (hwloc_topology_t topology,
const char *busid)
hwloc_obj_t hwloc_get_next_osdev (hwloc_topology_t topology, hwloc_obj_t
prev)
hwloc_obj_t hwloc_get_next_bridge (hwloc_topology_t topology,
hwloc_obj_t prev)
int hwloc_bridge_covers_pcibus (hwloc_obj_t bridge, unsigned domain,
unsigned bus)
π Detailed Description π
This part is a little runway moment β the source doesn't spill extra prose here, so we're heading straight into the function docs. π«Ά
π Function Documentation π
π οΈ hwloc_bridge_covers_pcibus
Signature:
int hwloc_bridge_covers_pcibus (hwloc_obj_t bridge, unsigned domain,
unsigned bus) [inline]
This one shows up in the source with that exact signature and the [inline] tag, and there's no extra return blurb attached on this page. π«§
π₯ hwloc_get_next_bridge
Signature:
hwloc_obj_t hwloc_get_next_bridge (hwloc_topology_t topology, hwloc_obj_t
prev) [inline]
Get the next bridge in the system.
Returns:
- the first bridge if
previsNULL. - the next bridge if
previs notNULL. NULLif there is no next bridge.
π¦ hwloc_get_next_osdev
Signature:
hwloc_obj_t hwloc_get_next_osdev (hwloc_topology_t topology, hwloc_obj_t
prev) [inline]
Get the next OS device in the system.
Returns:
- the first OS device if
previsNULL. - the next OS device if
previs notNULL. NULLif there is no next OS device.
π hwloc_get_next_pcidev
Signature:
hwloc_obj_t hwloc_get_next_pcidev (hwloc_topology_t topology, hwloc_obj_t
prev) [inline]
Get the next PCI device in the system.
Returns:
- the first PCI device if
previsNULL. - the next PCI device if
previs notNULL. NULLif there is no next PCI device.
π hwloc_get_non_io_ancestor_obj
Signature:
hwloc_obj_t hwloc_get_non_io_ancestor_obj (hwloc_topology_t topology,
hwloc_obj_t ioobj) [inline]
Get the first non-I/O ancestor object. Given the I/O object ioobj, find the smallest non-I/O ancestor object. This object (normal or memory) may then be used for binding because it has non-NULL CPU and node sets and because its locality is the same as ioobj.
Returns:
- a non-I/O object.
Note: This function cannot return NULL. The resulting object is usually a normal object but it could also be a memory object (e.g. NUMA node) in future platforms if I/O objects ever get attached to memory instead of CPUs.
π hwloc_get_pcidev_by_busid
Signature:
hwloc_obj_t hwloc_get_pcidev_by_busid (hwloc_topology_t topology, unsigned
domain, unsigned bus, unsigned dev, unsigned func) [inline]
Find the PCI device object matching the PCI bus id given domain, bus device and function PCI bus id.
Returns:
- a matching PCI device object if any,
NULLotherwise.
π hwloc_get_pcidev_by_busidstring
Signature:
hwloc_obj_t hwloc_get_pcidev_by_busidstring (hwloc_topology_t topology,
const char * busid) [inline]
Find the PCI device object matching the PCI bus id given as a string xxxx:yy:zz.t or yy:zz.t.
Returns:
- a matching PCI device object if any,
NULLotherwise.
π Author π
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
π cute sign-off, bestie: source/version tea is Hardware Locality (hwloc) β Version 2.15.0 β page hwlocality_advanced_io(3). There's no date in the footer, so we're not inventing one fr fr. Mwah! π
π¦ where this page comes from
- arch rolling: hwloc 2.15.0-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms