table of contents
- bookworm 2.9.0-1
- bookworm-backports 2.11.2-1~bpo12+1
- testing 2.11.2-1
- unstable 2.11.2-1
hwlocality_advanced_io(3) | Library Functions Manual | hwlocality_advanced_io(3) |
NAME¶
hwlocality_advanced_io - Finding I/O objects
SYNOPSIS¶
Functions¶
static hwloc_obj_t hwloc_get_non_io_ancestor_obj
(hwloc_topology_t topology, hwloc_obj_t ioobj)
static hwloc_obj_t hwloc_get_next_pcidev
(hwloc_topology_t topology, hwloc_obj_t prev)
static hwloc_obj_t hwloc_get_pcidev_by_busid
(hwloc_topology_t topology, unsigned domain, unsigned bus, unsigned
dev, unsigned func)
static hwloc_obj_t hwloc_get_pcidev_by_busidstring
(hwloc_topology_t topology, const char *busid)
static hwloc_obj_t hwloc_get_next_osdev (hwloc_topology_t
topology, hwloc_obj_t prev)
static hwloc_obj_t hwloc_get_next_bridge
(hwloc_topology_t topology, hwloc_obj_t prev)
static int hwloc_bridge_covers_pcibus (hwloc_obj_t bridge,
unsigned domain, unsigned bus)
Detailed Description¶
Function Documentation¶
static int hwloc_bridge_covers_pcibus (hwloc_obj_t bridge, unsigned domain, unsigned bus) [inline], [static]¶
static hwloc_obj_t hwloc_get_next_bridge (hwloc_topology_t topology, hwloc_obj_t prev) [inline], [static]¶
Get the next bridge in the system.
Returns
the next bridge if prev is not NULL.
NULL if there is no next bridge.
static hwloc_obj_t hwloc_get_next_osdev (hwloc_topology_t topology, hwloc_obj_t prev) [inline], [static]¶
Get the next OS device in the system.
Returns
the next OS device if prev is not NULL.
NULL if there is no next OS device.
static hwloc_obj_t hwloc_get_next_pcidev (hwloc_topology_t topology, hwloc_obj_t prev) [inline], [static]¶
Get the next PCI device in the system.
Returns
the next PCI device if prev is not NULL.
NULL if there is no next PCI device.
static hwloc_obj_t hwloc_get_non_io_ancestor_obj (hwloc_topology_t topology, hwloc_obj_t ioobj) [inline], [static]¶
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
Note
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.
static hwloc_obj_t hwloc_get_pcidev_by_busid (hwloc_topology_t topology, unsigned domain, unsigned bus, unsigned dev, unsigned func) [inline], [static]¶
Find the PCI device object matching the PCI bus id given domain, bus device and function PCI bus id.
Returns
static hwloc_obj_t hwloc_get_pcidev_by_busidstring (hwloc_topology_t topology, const char * busid) [inline], [static]¶
Find the PCI device object matching the PCI bus id given as a string xxxx:yy:zz.t or yy:zz.t.
Returns
Author¶
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
Version 2.11.0rc1 | Hardware Locality (hwloc) |