Debian Codegraph @

doc/doxygen-doc/html/a00161_source.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
3 <head>
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=11"/>
6 <meta name="generator" content="Doxygen 1.15.0"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>Hardware Locality (hwloc): plugins.h Source File</title>
9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
10 <script type="text/javascript" src="jquery.js"></script>
11 <script type="text/javascript" src="dynsections.js"></script>
12 <script type="text/javascript" src="clipboard.js"></script>
13 <link href="doxygen.css" rel="stylesheet" type="text/css" />
14 </head>
15 <body>
16 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
17 <div id="titlearea">
18 <table cellspacing="0" cellpadding="0">
19 <tbody>
20 <tr id="projectrow">
21 <td id="projectalign">
22 <div id="projectname">Hardware Locality (hwloc)<span id="projectnumber">&#160;2.14.0</span>
23 </div>
24 </td>
25 </tr>
26 </tbody>
27 </table>
28 </div>
29 <!-- end header part -->
30 <!-- Generated by Doxygen 1.15.0 -->
31 <script type="text/javascript">
32 $(function() { codefold.init(); });
33 </script>
34 <script type="text/javascript" src="menudata.js"></script>
35 <script type="text/javascript" src="menu.js"></script>
36 <script type="text/javascript">
37 $(function() {
38 initMenu('',false,false,'search.php','Search',false);
39 });
40 </script>
41 <div id="main-nav"></div>
42 <div id="nav-path" class="navpath">
43 <ul>
44 <li class="navelem"><a href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul>
45 </div>
46 </div><!-- top -->
47 <div id="doc-content">
48 <div class="header">
49 <div class="headertitle"><div class="title">plugins.h</div></div>
50 </div><!--header-->
51 <div class="contents">
52 <div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div>
53 <div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div>
54 <div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * Copyright © 2013-2024 Inria. All rights reserved.</span></div>
55 <div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * Copyright © 2016 Cisco Systems, Inc. All rights reserved.</span></div>
56 <div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * Copyright © 2025 Siemens Corporation and/or its affiliates. All rights reserved.</span></div>
57 <div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> * See COPYING in top-level directory.</span></div>
58 <div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> */</span></div>
59 <div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> </div>
60 <div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#ifndef HWLOC_PLUGINS_H</span></div>
61 <div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#define HWLOC_PLUGINS_H</span></div>
62 <div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span></div>
63 <div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
64 <div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="keyword">struct </span><a class="code hl_struct" href="a00364.html">hwloc_backend</a>;</div>
65 <div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
66 <div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include &quot;hwloc.h&quot;</span></div>
67 <div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
68 <div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#ifdef HWLOC_INSIDE_PLUGIN</span></div>
69 <div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="comment">/* needed for hwloc_plugin_check_namespace() */</span></div>
70 <div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#ifdef HWLOC_HAVE_LTDL</span></div>
71 <div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include &lt;ltdl.h&gt;</span></div>
72 <div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#elif !defined(HWLOC_WIN_SYS)</span></div>
73 <div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include &lt;dlfcn.h&gt;</span></div>
74 <div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#endif</span></div>
75 <div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#endif</span></div>
76 <div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
77 <div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
78 <div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span></div>
79 <div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span></div>
80 <div class="foldopen" id="foldopen00043" data-start="{" data-end="};">
81 <div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="a00356.html"> 43</a></span><span class="keyword">struct </span><a class="code hl_struct" href="a00356.html">hwloc_disc_component</a> {</div>
82 <div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="a00356.html#a4064c3b5d9213027e87caebef380a840"> 47</a></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_variable" href="a00356.html#a4064c3b5d9213027e87caebef380a840">name</a>;</div>
83 <div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span></div>
84 <div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="a00356.html#a61ad3151efa02e3dbad5d919758f9c90"> 52</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="a00356.html#a61ad3151efa02e3dbad5d919758f9c90">phases</a>;</div>
85 <div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span></div>
86 <div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="a00356.html#acbb9957914dbf7b8f504215aa0c8d3fe"> 62</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="a00356.html#acbb9957914dbf7b8f504215aa0c8d3fe">excluded_phases</a>;</div>
87 <div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span></div>
88 <div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">struct </span><a class="code hl_struct" href="a00364.html">hwloc_backend</a> * (*instantiate)(<span class="keyword">struct </span>hwloc_topology *topology, <span class="keyword">struct </span><a class="code hl_struct" href="a00356.html">hwloc_disc_component</a> *component, <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="a00356.html#acbb9957914dbf7b8f504215aa0c8d3fe">excluded_phases</a>, <span class="keyword">const</span> <span class="keywordtype">void</span> *data1, <span class="keyword">const</span> <span class="keywordtype">void</span> *data2, <span class="keyword">const</span> <span class="keywordtype">void</span> *data3);</div>
89 <div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span></div>
90 <div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="a00356.html#ae86d283c272c5ae24073a235efbf6b59"> 81</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="a00356.html#ae86d283c272c5ae24073a235efbf6b59">priority</a>;</div>
91 <div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span></div>
92 <div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="a00356.html#ace80cafe2b1732b047b3fc3da47e6517"> 86</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="a00356.html#ace80cafe2b1732b047b3fc3da47e6517">enabled_by_default</a>;</div>
93 <div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span></div>
94 <div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keyword">struct </span><a class="code hl_struct" href="a00356.html">hwloc_disc_component</a> * next;</div>
95 <div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span>};</div>
96 </div>
97 <div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span></div>
98 <div class="foldopen" id="foldopen00096" data-start="{" data-end="};">
99 <div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="a00214.html#ga8c314121c2fc478161bcce758688b9a1"> 96</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="a00214.html#ga8c314121c2fc478161bcce758688b9a1">hwloc_disc_phase_e</a> {</div>
100 <div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1ab41c626c79e9ccb1e7d41e7076972283"> 101</a></span> <a class="code hl_enumvalue" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1ab41c626c79e9ccb1e7d41e7076972283">HWLOC_DISC_PHASE_GLOBAL</a> = (1U&lt;&lt;0),</div>
101 <div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span></div>
102 <div class="line"><a id="l00105" name="l00105"></a><span class="lineno"><a class="line" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1a6360474df197027761a69bd5fc620250"> 105</a></span> <a class="code hl_enumvalue" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1a6360474df197027761a69bd5fc620250">HWLOC_DISC_PHASE_CPU</a> = (1U&lt;&lt;1),</div>
103 <div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span></div>
104 <div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1ac4264a243844c5fbbff495cdb1b4d51d"> 109</a></span> <a class="code hl_enumvalue" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1ac4264a243844c5fbbff495cdb1b4d51d">HWLOC_DISC_PHASE_MEMORY</a> = (1U&lt;&lt;2),</div>
105 <div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span></div>
106 <div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1a677c52064dd987af4988346319b3675a"> 113</a></span> <a class="code hl_enumvalue" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1a677c52064dd987af4988346319b3675a">HWLOC_DISC_PHASE_PCI</a> = (1U&lt;&lt;3),</div>
107 <div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span></div>
108 <div class="line"><a id="l00117" name="l00117"></a><span class="lineno"><a class="line" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1aa8e10626cba9af72f5605a1acbdc0015"> 117</a></span> <a class="code hl_enumvalue" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1aa8e10626cba9af72f5605a1acbdc0015">HWLOC_DISC_PHASE_IO</a> = (1U&lt;&lt;4),</div>
109 <div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span></div>
110 <div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1a8a7cde9bff0ab0d085b102a3e934939b"> 121</a></span> <a class="code hl_enumvalue" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1a8a7cde9bff0ab0d085b102a3e934939b">HWLOC_DISC_PHASE_MISC</a> = (1U&lt;&lt;5),</div>
111 <div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span></div>
112 <div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1a68ca5c7ad75a6d9e5355689411621773"> 125</a></span> <a class="code hl_enumvalue" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1a68ca5c7ad75a6d9e5355689411621773">HWLOC_DISC_PHASE_ANNOTATE</a> = (1U&lt;&lt;6),</div>
113 <div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span></div>
114 <div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1ada3ed3f00e74909353d6ea4a96cde5ad"> 132</a></span> <a class="code hl_enumvalue" href="a00214.html#gga8c314121c2fc478161bcce758688b9a1ada3ed3f00e74909353d6ea4a96cde5ad">HWLOC_DISC_PHASE_TWEAK</a> = (1U&lt;&lt;7)</div>
115 <div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="a00214.html#ga600bba1a62022d5f516800649b1edb61"> 133</a></span>} <a class="code hl_typedef" href="a00214.html#ga600bba1a62022d5f516800649b1edb61">hwloc_disc_phase_t</a>;</div>
116 </div>
117 <div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span></div>
118 <div class="foldopen" id="foldopen00136" data-start="{" data-end="};">
119 <div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="a00214.html#gaae1b38cf9b12e489884ce2a07275964b"> 136</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="a00214.html#gaae1b38cf9b12e489884ce2a07275964b">hwloc_disc_status_flag_e</a> {</div>
120 <div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="a00214.html#ggaae1b38cf9b12e489884ce2a07275964ba205d644d54a0840bd9165fce7d19e6b1"> 138</a></span> <a class="code hl_enumvalue" href="a00214.html#ggaae1b38cf9b12e489884ce2a07275964ba205d644d54a0840bd9165fce7d19e6b1">HWLOC_DISC_STATUS_FLAG_GOT_ALLOWED_RESOURCES</a> = (1UL&lt;&lt;1)</div>
121 <div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span>};</div>
122 </div>
123 <div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span></div>
124 <div class="foldopen" id="foldopen00146" data-start="{" data-end="};">
125 <div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="a00360.html"> 146</a></span><span class="keyword">struct </span><a class="code hl_struct" href="a00360.html">hwloc_disc_status</a> {</div>
126 <div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="a00360.html#abaf7c8c082d43e133171f0723dbf824b"> 150</a></span> <a class="code hl_typedef" href="a00214.html#ga600bba1a62022d5f516800649b1edb61">hwloc_disc_phase_t</a> <a class="code hl_variable" href="a00360.html#abaf7c8c082d43e133171f0723dbf824b">phase</a>;</div>
127 <div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span></div>
128 <div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="a00360.html#a0f95fa42d46a6e7cf8dee8af12afee3a"> 155</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="a00360.html#a0f95fa42d46a6e7cf8dee8af12afee3a">excluded_phases</a>;</div>
129 <div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span></div>
130 <div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="a00360.html#ad8b123cecb945a9182eb824ccf8ef9d7"> 158</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_variable" href="a00360.html#ad8b123cecb945a9182eb824ccf8ef9d7">flags</a>;</div>
131 <div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span>};</div>
132 </div>
133 <div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span></div>
134 <div class="foldopen" id="foldopen00179" data-start="{" data-end="};">
135 <div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="a00364.html"> 179</a></span><span class="keyword">struct </span><a class="code hl_struct" href="a00364.html">hwloc_backend</a> {</div>
136 <div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> <span class="keyword">struct </span><a class="code hl_struct" href="a00356.html">hwloc_disc_component</a> * component;</div>
137 <div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <span class="keyword">struct </span>hwloc_topology * topology;</div>
138 <div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> <span class="keywordtype">int</span> envvar_forced;</div>
139 <div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keyword">struct </span><a class="code hl_struct" href="a00364.html">hwloc_backend</a> * next;</div>
140 <div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span></div>
141 <div class="line"><a id="l00192" name="l00192"></a><span class="lineno"><a class="line" href="a00364.html#aeca769840a6ff03e96462a9533adbccd"> 192</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="a00364.html#aeca769840a6ff03e96462a9533adbccd">phases</a>;</div>
142 <div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span></div>
143 <div class="line"><a id="l00195" name="l00195"></a><span class="lineno"><a class="line" href="a00364.html#aaa8eafe495aadd81c2e3c4ec527c10ba"> 195</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_variable" href="a00364.html#aaa8eafe495aadd81c2e3c4ec527c10ba">flags</a>;</div>
144 <div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span></div>
145 <div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="a00364.html#ab8806f6db077f1bb2e9d63ec99223f7a"> 203</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="a00364.html#ab8806f6db077f1bb2e9d63ec99223f7a">is_thissystem</a>;</div>
146 <div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span></div>
147 <div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="a00364.html#a2ea5bd36b7f06efdb65b98b32af16c68"> 206</a></span> <span class="keywordtype">void</span> * <a class="code hl_variable" href="a00364.html#a2ea5bd36b7f06efdb65b98b32af16c68">private_data</a>;</div>
148 <div class="line"><a id="l00210" name="l00210"></a><span class="lineno"><a class="line" href="a00364.html#a36c4fa86350525b46340c67b802c69c7"> 210</a></span> void (*<a class="code hl_variable" href="a00364.html#a36c4fa86350525b46340c67b802c69c7">disable</a>)(<span class="keyword">struct </span><a class="code hl_struct" href="a00364.html">hwloc_backend</a> *backend);</div>
149 <div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span></div>
150 <div class="line"><a id="l00217" name="l00217"></a><span class="lineno"><a class="line" href="a00364.html#accff2cd8404be43c3b44cec05e6f609b"> 217</a></span> int (*<a class="code hl_variable" href="a00364.html#accff2cd8404be43c3b44cec05e6f609b">discover</a>)(<span class="keyword">struct </span><a class="code hl_struct" href="a00364.html">hwloc_backend</a> *backend, <span class="keyword">struct </span><a class="code hl_struct" href="a00360.html">hwloc_disc_status</a> *status);</div>
151 <div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span></div>
152 <div class="line"><a id="l00223" name="l00223"></a><span class="lineno"><a class="line" href="a00364.html#aaac253491264c20930f44817270bc502"> 223</a></span> int (*<a class="code hl_variable" href="a00364.html#aaac253491264c20930f44817270bc502">get_pci_busid_cpuset</a>)(<span class="keyword">struct </span><a class="code hl_struct" href="a00364.html">hwloc_backend</a> *backend, <span class="keyword">struct </span>hwloc_pcidev_attr_s *busid, <a class="code hl_typedef" href="a00188.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a> cpuset);</div>
153 <div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span>};</div>
154 </div>
155 <div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span></div>
156 <div class="line"><a id="l00229" name="l00229"></a><span class="lineno"><a class="line" href="a00214.html#ga6118a1009aa390c13255a330ccf253cf"> 229</a></span>HWLOC_DECLSPEC <span class="keyword">struct </span><a class="code hl_struct" href="a00364.html">hwloc_backend</a> * <a class="code hl_function" href="a00214.html#ga6118a1009aa390c13255a330ccf253cf">hwloc_backend_alloc</a>(<span class="keyword">struct</span> hwloc_topology *topology, <span class="keyword">struct</span> <a class="code hl_struct" href="a00356.html">hwloc_disc_component</a> *component);</div>
157 <div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span></div>
158 <div class="line"><a id="l00232" name="l00232"></a><span class="lineno"><a class="line" href="a00214.html#ga4715779d7191833e9b1a7490989a7497"> 232</a></span>HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code hl_function" href="a00214.html#ga4715779d7191833e9b1a7490989a7497">hwloc_backend_enable</a>(<span class="keyword">struct</span> <a class="code hl_struct" href="a00364.html">hwloc_backend</a> *backend);</div>
159 <div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span></div>
160 <div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> </div>
161 <div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> </div>
162 <div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> </div>
163 <div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span></div>
164 <div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span></div>
165 <div class="foldopen" id="foldopen00247" data-start="{" data-end="};">
166 <div class="line"><a id="l00247" name="l00247"></a><span class="lineno"><a class="line" href="a00215.html#ga397a1bf7d21dd073320ad0045340f463"> 247</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="a00215.html#ga397a1bf7d21dd073320ad0045340f463">hwloc_component_type_e</a> {</div>
167 <div class="line"><a id="l00249" name="l00249"></a><span class="lineno"><a class="line" href="a00215.html#gga397a1bf7d21dd073320ad0045340f463a5d6e561f467fe9795a29e7368b613900"> 249</a></span> <a class="code hl_enumvalue" href="a00215.html#gga397a1bf7d21dd073320ad0045340f463a5d6e561f467fe9795a29e7368b613900">HWLOC_COMPONENT_TYPE_DISC</a>,</div>
168 <div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span></div>
169 <div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="a00215.html#gga397a1bf7d21dd073320ad0045340f463adea00cd839c2141c032e1569fd5592bd"> 252</a></span> <a class="code hl_enumvalue" href="a00215.html#gga397a1bf7d21dd073320ad0045340f463adea00cd839c2141c032e1569fd5592bd">HWLOC_COMPONENT_TYPE_XML</a></div>
170 <div class="line"><a id="l00253" name="l00253"></a><span class="lineno"><a class="line" href="a00215.html#ga31a5a455f4e666b936f0a9e8fb9a0f47"> 253</a></span>} <a class="code hl_typedef" href="a00215.html#ga31a5a455f4e666b936f0a9e8fb9a0f47">hwloc_component_type_t</a>;</div>
171 </div>
172 <div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span></div>
173 <div class="foldopen" id="foldopen00260" data-start="{" data-end="};">
174 <div class="line"><a id="l00260" name="l00260"></a><span class="lineno"><a class="line" href="a00368.html"> 260</a></span><span class="keyword">struct </span><a class="code hl_struct" href="a00368.html">hwloc_component</a> {</div>
175 <div class="line"><a id="l00262" name="l00262"></a><span class="lineno"><a class="line" href="a00368.html#a3250bd6fc9713946991d805e48091b2e"> 262</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="a00368.html#a3250bd6fc9713946991d805e48091b2e">abi</a>;</div>
176 <div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span></div>
177 <div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="a00368.html#aea613546886d9b8221cadba920fe3ebc"> 281</a></span> int (*<a class="code hl_variable" href="a00368.html#aea613546886d9b8221cadba920fe3ebc">init</a>)(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_variable" href="a00368.html#ab8043c5b4cc0e81aabba586ccb194335">flags</a>);</div>
178 <div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span></div>
179 <div class="line"><a id="l00294" name="l00294"></a><span class="lineno"><a class="line" href="a00368.html#a4612015451a1c706e8ba19114cb8baae"> 294</a></span> void (*<a class="code hl_variable" href="a00368.html#a4612015451a1c706e8ba19114cb8baae">finalize</a>)(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_variable" href="a00368.html#ab8043c5b4cc0e81aabba586ccb194335">flags</a>);</div>
180 <div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span></div>
181 <div class="line"><a id="l00297" name="l00297"></a><span class="lineno"><a class="line" href="a00368.html#a789208ada7e17492cfd3a5a88a6bb0ee"> 297</a></span> <a class="code hl_typedef" href="a00215.html#ga31a5a455f4e666b936f0a9e8fb9a0f47">hwloc_component_type_t</a> <a class="code hl_variable" href="a00368.html#a789208ada7e17492cfd3a5a88a6bb0ee">type</a>;</div>
182 <div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span></div>
183 <div class="line"><a id="l00300" name="l00300"></a><span class="lineno"><a class="line" href="a00368.html#ab8043c5b4cc0e81aabba586ccb194335"> 300</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code hl_variable" href="a00368.html#ab8043c5b4cc0e81aabba586ccb194335">flags</a>;</div>
184 <div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span></div>
185 <div class="line"><a id="l00303" name="l00303"></a><span class="lineno"><a class="line" href="a00368.html#a4b8cffd1d943c29fdc102b841b8598d4"> 303</a></span> <span class="keywordtype">void</span> * <a class="code hl_variable" href="a00368.html#a4b8cffd1d943c29fdc102b841b8598d4">data</a>;</div>
186 <div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span>};</div>
187 </div>
188 <div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span></div>
189 <div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span><span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div>
190 <div class="foldopen" id="foldopen00328" data-start="{" data-end="}">
191 <div class="line"><a id="l00328" name="l00328"></a><span class="lineno"><a class="line" href="a00215.html#ga9c8b59541aab5a19332d8c1340d20588"> 328</a></span><a class="code hl_function" href="a00215.html#ga9c8b59541aab5a19332d8c1340d20588">hwloc_plugin_check_namespace</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *pluginname __hwloc_attribute_unused, <span class="keyword">const</span> <span class="keywordtype">char</span> *symbol __hwloc_attribute_unused)</div>
192 <div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span>{</div>
193 <div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span><span class="preprocessor">#ifdef HWLOC_INSIDE_PLUGIN</span></div>
194 <div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span> <span class="keywordtype">void</span> *sym;</div>
195 <div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span><span class="preprocessor">#ifdef HWLOC_HAVE_LTDL</span></div>
196 <div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> lt_dlhandle handle = lt_dlopen(NULL);</div>
197 <div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span><span class="preprocessor">#elif defined(HWLOC_WIN_SYS)</span></div>
198 <div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> HMODULE handle = GetModuleHandleA(NULL);</div>
199 <div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span><span class="preprocessor">#else</span></div>
200 <div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> <span class="keywordtype">void</span> *handle = dlopen(NULL, RTLD_NOW|RTLD_LOCAL);</div>
201 <div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span><span class="preprocessor">#endif</span></div>
202 <div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> <span class="keywordflow">if</span> (!handle)</div>
203 <div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <span class="comment">/* cannot check, assume things will work */</span></div>
204 <div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> <span class="keywordflow">return</span> 0;</div>
205 <div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span><span class="preprocessor">#ifdef HWLOC_HAVE_LTDL</span></div>
206 <div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> sym = lt_dlsym(handle, symbol);</div>
207 <div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> lt_dlclose(handle);</div>
208 <div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span><span class="preprocessor">#elif defined(HWLOC_WIN_SYS)</span></div>
209 <div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> sym = GetModuleHandleA(<span class="stringliteral">&quot;hwloc.dll&quot;</span>);</div>
210 <div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> FreeLibrary(handle);</div>
211 <div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span><span class="preprocessor">#else</span></div>
212 <div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> sym = dlsym(handle, symbol);</div>
213 <div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> dlclose(handle);</div>
214 <div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span><span class="preprocessor">#endif</span></div>
215 <div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> <span class="keywordflow">if</span> (!sym) {</div>
216 <div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span> <span class="keyword">static</span> <span class="keywordtype">int</span> verboseenv_checked = 0;</div>
217 <div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span> <span class="keyword">static</span> <span class="keywordtype">int</span> verboseenv_value = 0;</div>
218 <div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> <span class="keywordflow">if</span> (!verboseenv_checked) {</div>
219 <div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *verboseenv = getenv(<span class="stringliteral">&quot;HWLOC_PLUGINS_VERBOSE&quot;</span>);</div>
220 <div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> verboseenv_value = verboseenv ? atoi(verboseenv) : 0;</div>
221 <div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> verboseenv_checked = 1;</div>
222 <div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> }</div>
223 <div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span> <span class="keywordflow">if</span> (verboseenv_value)</div>
224 <div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> fprintf(stderr, <span class="stringliteral">&quot;Plugin `%s&#39; disabling itself because it cannot find the `%s&#39; core symbol.\n&quot;</span>,</div>
225 <div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> pluginname, symbol);</div>
226 <div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span> <span class="keywordflow">return</span> -1;</div>
227 <div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> }</div>
228 <div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span><span class="preprocessor">#endif </span><span class="comment">/* HWLOC_INSIDE_PLUGIN */</span><span class="preprocessor"></span></div>
229 <div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span> <span class="keywordflow">return</span> 0;</div>
230 <div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span>}</div>
231 </div>
232 <div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span></div>
233 <div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> </div>
234 <div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> </div>
235 <div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> </div>
236 <div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span></div>
237 <div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span></div>
238 <div class="line"><a id="l00398" name="l00398"></a><span class="lineno"><a class="line" href="a00216.html#gab527c1e0f243f057d31a724794ad9f88"> 398</a></span>HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code hl_function" href="a00216.html#gab527c1e0f243f057d31a724794ad9f88">hwloc_hide_errors</a>(<span class="keywordtype">void</span>);</div>
239 <div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> </div>
240 <div class="line"><a id="l00400" name="l00400"></a><span class="lineno"><a class="line" href="a00216.html#gafce07a2a959190a6c7126b321bef202f"> 400</a></span><span class="preprocessor">#define HWLOC_SHOW_CRITICAL_ERRORS() (hwloc_hide_errors() &lt; 2)</span></div>
241 <div class="line"><a id="l00401" name="l00401"></a><span class="lineno"><a class="line" href="a00216.html#ga3e48b6ac00ed6a40aea975e23eddcdbb"> 401</a></span><span class="preprocessor">#define HWLOC_SHOW_ALL_ERRORS() (hwloc_hide_errors() == 0)</span></div>
242 <div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span></div>
243 <div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span>HWLOC_DECLSPEC <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a></div>
244 <div class="line"><a id="l00432" name="l00432"></a><span class="lineno"><a class="line" href="a00216.html#ga1e105cfe3c8e77f34cc6df3841deebbc"> 432</a></span><a class="code hl_function" href="a00216.html#ga1e105cfe3c8e77f34cc6df3841deebbc">hwloc__insert_object_by_cpuset</a>(<span class="keyword">struct</span> hwloc_topology *topology, <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> root,</div>
245 <div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *reason);</div>
246 <div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span></div>
247 <div class="line"><a id="l00451" name="l00451"></a><span class="lineno"><a class="line" href="a00216.html#ga0ef97debde503b56367689b07bb3e901"> 451</a></span>HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code hl_function" href="a00216.html#ga0ef97debde503b56367689b07bb3e901">hwloc_insert_object_by_parent</a>(<span class="keyword">struct</span> hwloc_topology *topology, <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> parent, <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj);</div>
248 <div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</span></div>
249 <div class="line"><a id="l00457" name="l00457"></a><span class="lineno"><a class="line" href="a00216.html#ga0b5c75b2dc37cea2e8a29c4812baf4b3"> 457</a></span>HWLOC_DECLSPEC <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> <a class="code hl_function" href="a00216.html#ga0b5c75b2dc37cea2e8a29c4812baf4b3">hwloc_alloc_setup_object</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code hl_enumeration" href="a00167.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type, <span class="keywordtype">unsigned</span> os_index);</div>
250 <div class="line"><a id="l00458" name="l00458"></a><span class="lineno"> 458</span></div>
251 <div class="line"><a id="l00467" name="l00467"></a><span class="lineno"><a class="line" href="a00216.html#ga754b61041ceee9685534a2c5d3cd0156"> 467</a></span>HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code hl_function" href="a00216.html#ga754b61041ceee9685534a2c5d3cd0156">hwloc_obj_add_children_sets</a>(<a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj);</div>
252 <div class="line"><a id="l00468" name="l00468"></a><span class="lineno"> 468</span></div>
253 <div class="line"><a id="l00476" name="l00476"></a><span class="lineno"><a class="line" href="a00216.html#ga120d8bd74922e1030b621409a6b0be61"> 476</a></span>HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code hl_function" href="a00216.html#ga120d8bd74922e1030b621409a6b0be61">hwloc_topology_reconnect</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags __hwloc_attribute_unused);</div>
254 <div class="line"><a id="l00477" name="l00477"></a><span class="lineno"> 477</span></div>
255 <div class="line"><a id="l00479" name="l00479"></a><span class="lineno"> 479</span> </div>
256 <div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span> </div>
257 <div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> </div>
258 <div class="line"><a id="l00482" name="l00482"></a><span class="lineno"> 482</span></div>
259 <div class="line"><a id="l00489" name="l00489"></a><span class="lineno"> 489</span></div>
260 <div class="line"><a id="l00494" name="l00494"></a><span class="lineno"> 494</span><span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div>
261 <div class="foldopen" id="foldopen00495" data-start="{" data-end="}">
262 <div class="line"><a id="l00495" name="l00495"></a><span class="lineno"><a class="line" href="a00217.html#ga664680a7a5728d1b23c38d4b09e1ffcf"> 495</a></span><a class="code hl_function" href="a00217.html#ga664680a7a5728d1b23c38d4b09e1ffcf">hwloc_filter_check_pcidev_subtype_important</a>(<span class="keywordtype">unsigned</span> classid)</div>
263 <div class="line"><a id="l00496" name="l00496"></a><span class="lineno"> 496</span>{</div>
264 <div class="line"><a id="l00497" name="l00497"></a><span class="lineno"> 497</span> <span class="keywordtype">unsigned</span> baseclass = classid &gt;&gt; 8;</div>
265 <div class="line"><a id="l00498" name="l00498"></a><span class="lineno"> 498</span> <span class="keywordflow">return</span> (baseclass == 0x03 <span class="comment">/* PCI_BASE_CLASS_DISPLAY */</span></div>
266 <div class="line"><a id="l00499" name="l00499"></a><span class="lineno"> 499</span> || baseclass == 0x02 <span class="comment">/* PCI_BASE_CLASS_NETWORK */</span></div>
267 <div class="line"><a id="l00500" name="l00500"></a><span class="lineno"> 500</span> || baseclass == 0x01 <span class="comment">/* PCI_BASE_CLASS_STORAGE */</span></div>
268 <div class="line"><a id="l00501" name="l00501"></a><span class="lineno"> 501</span> || baseclass == 0x00 <span class="comment">/* Unclassified, for Atos/Bull BXI */</span></div>
269 <div class="line"><a id="l00502" name="l00502"></a><span class="lineno"> 502</span> || baseclass == 0x0b <span class="comment">/* PCI_BASE_CLASS_PROCESSOR */</span></div>
270 <div class="line"><a id="l00503" name="l00503"></a><span class="lineno"> 503</span> || classid == 0x0c04 <span class="comment">/* PCI_CLASS_SERIAL_FIBER */</span></div>
271 <div class="line"><a id="l00504" name="l00504"></a><span class="lineno"> 504</span> || classid == 0x0c06 <span class="comment">/* PCI_CLASS_SERIAL_INFINIBAND */</span></div>
272 <div class="line"><a id="l00505" name="l00505"></a><span class="lineno"> 505</span> || classid == 0x0502 <span class="comment">/* PCI_CLASS_MEMORY_CXL */</span></div>
273 <div class="line"><a id="l00506" name="l00506"></a><span class="lineno"> 506</span> || baseclass == 0x06 <span class="comment">/* PCI_BASE_CLASS_BRIDGE with non-PCI downstream. the core will drop the useless ones later */</span></div>
274 <div class="line"><a id="l00507" name="l00507"></a><span class="lineno"> 507</span> || baseclass == 0x12 <span class="comment">/* Processing Accelerators */</span>);</div>
275 <div class="line"><a id="l00508" name="l00508"></a><span class="lineno"> 508</span>}</div>
276 </div>
277 <div class="line"><a id="l00509" name="l00509"></a><span class="lineno"> 509</span></div>
278 <div class="line"><a id="l00514" name="l00514"></a><span class="lineno"> 514</span><span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div>
279 <div class="foldopen" id="foldopen00515" data-start="{" data-end="}">
280 <div class="line"><a id="l00515" name="l00515"></a><span class="lineno"><a class="line" href="a00217.html#ga744656a20caa1c22a22280cea80d8700"> 515</a></span><a class="code hl_function" href="a00217.html#ga744656a20caa1c22a22280cea80d8700">hwloc_filter_check_osdev_subtype_important</a>(<a class="code hl_typedef" href="a00167.html#gaa9a6941ef7b1c169412518d7ef71b3d2">hwloc_obj_osdev_type_t</a> subtype)</div>
281 <div class="line"><a id="l00516" name="l00516"></a><span class="lineno"> 516</span>{</div>
282 <div class="line"><a id="l00517" name="l00517"></a><span class="lineno"> 517</span> <span class="keywordflow">return</span> (subtype != <a class="code hl_enumvalue" href="a00167.html#gga64f5d539df299c97ae80ce53fc4b56c0a827ad1643360711a8b6c6af671366791">HWLOC_OBJ_OSDEV_DMA</a>);</div>
283 <div class="line"><a id="l00518" name="l00518"></a><span class="lineno"> 518</span>}</div>
284 </div>
285 <div class="line"><a id="l00519" name="l00519"></a><span class="lineno"> 519</span></div>
286 <div class="line"><a id="l00526" name="l00526"></a><span class="lineno"> 526</span><span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div>
287 <div class="foldopen" id="foldopen00527" data-start="{" data-end="}">
288 <div class="line"><a id="l00527" name="l00527"></a><span class="lineno"><a class="line" href="a00217.html#ga8711dd64882b6897fe7ab79c4a07e668"> 527</a></span><a class="code hl_function" href="a00217.html#ga8711dd64882b6897fe7ab79c4a07e668">hwloc_filter_check_keep_object_type</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code hl_enumeration" href="a00167.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</div>
289 <div class="line"><a id="l00528" name="l00528"></a><span class="lineno"> 528</span>{</div>
290 <div class="line"><a id="l00529" name="l00529"></a><span class="lineno"> 529</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="a00176.html#ga9a5a1f0140cd1952544477833733195b">hwloc_type_filter_e</a> filter = <a class="code hl_enumvalue" href="a00176.html#gga9a5a1f0140cd1952544477833733195ba4f835955414de92c77d99b8419d4647a">HWLOC_TYPE_FILTER_KEEP_NONE</a>;</div>
291 <div class="line"><a id="l00530" name="l00530"></a><span class="lineno"> 530</span> <a class="code hl_function" href="a00176.html#ga137ad1178f7a79f2383974d983083401">hwloc_topology_get_type_filter</a>(topology, type, &amp;filter);</div>
292 <div class="line"><a id="l00531" name="l00531"></a><span class="lineno"> 531</span> assert(filter != <a class="code hl_enumvalue" href="a00176.html#gga9a5a1f0140cd1952544477833733195ba63fd24954e18c83ff7eae9588759adb5">HWLOC_TYPE_FILTER_KEEP_IMPORTANT</a>); <span class="comment">/* IMPORTANT only used for I/O */</span></div>
293 <div class="line"><a id="l00532" name="l00532"></a><span class="lineno"> 532</span> <span class="keywordflow">return</span> filter == <a class="code hl_enumvalue" href="a00176.html#gga9a5a1f0140cd1952544477833733195ba4f835955414de92c77d99b8419d4647a">HWLOC_TYPE_FILTER_KEEP_NONE</a> ? 0 : 1;</div>
294 <div class="line"><a id="l00533" name="l00533"></a><span class="lineno"> 533</span>}</div>
295 </div>
296 <div class="line"><a id="l00534" name="l00534"></a><span class="lineno"> 534</span></div>
297 <div class="line"><a id="l00539" name="l00539"></a><span class="lineno"> 539</span><span class="keyword">static</span> __hwloc_inline <span class="keywordtype">int</span></div>
298 <div class="foldopen" id="foldopen00540" data-start="{" data-end="}">
299 <div class="line"><a id="l00540" name="l00540"></a><span class="lineno"><a class="line" href="a00217.html#ga07f9541b284fb69f00c079e106432bea"> 540</a></span><a class="code hl_function" href="a00217.html#ga07f9541b284fb69f00c079e106432bea">hwloc_filter_check_keep_object</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj)</div>
300 <div class="line"><a id="l00541" name="l00541"></a><span class="lineno"> 541</span>{</div>
301 <div class="line"><a id="l00542" name="l00542"></a><span class="lineno"> 542</span> <a class="code hl_enumeration" href="a00167.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type = obj-&gt;<a class="code hl_variable" href="a00224.html#acc4f0803f244867e68fe0036800be5de">type</a>;</div>
302 <div class="line"><a id="l00543" name="l00543"></a><span class="lineno"> 543</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="a00176.html#ga9a5a1f0140cd1952544477833733195b">hwloc_type_filter_e</a> filter = <a class="code hl_enumvalue" href="a00176.html#gga9a5a1f0140cd1952544477833733195ba4f835955414de92c77d99b8419d4647a">HWLOC_TYPE_FILTER_KEEP_NONE</a>;</div>
303 <div class="line"><a id="l00544" name="l00544"></a><span class="lineno"> 544</span> <a class="code hl_function" href="a00176.html#ga137ad1178f7a79f2383974d983083401">hwloc_topology_get_type_filter</a>(topology, type, &amp;filter);</div>
304 <div class="line"><a id="l00545" name="l00545"></a><span class="lineno"> 545</span> <span class="keywordflow">if</span> (filter == <a class="code hl_enumvalue" href="a00176.html#gga9a5a1f0140cd1952544477833733195ba4f835955414de92c77d99b8419d4647a">HWLOC_TYPE_FILTER_KEEP_NONE</a>)</div>
305 <div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span> <span class="keywordflow">return</span> 0;</div>
306 <div class="line"><a id="l00547" name="l00547"></a><span class="lineno"> 547</span> <span class="keywordflow">if</span> (filter == <a class="code hl_enumvalue" href="a00176.html#gga9a5a1f0140cd1952544477833733195ba63fd24954e18c83ff7eae9588759adb5">HWLOC_TYPE_FILTER_KEEP_IMPORTANT</a>) {</div>
307 <div class="line"><a id="l00548" name="l00548"></a><span class="lineno"> 548</span> <span class="keywordflow">if</span> (type == <a class="code hl_enumvalue" href="a00167.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a>)</div>
308 <div class="line"><a id="l00549" name="l00549"></a><span class="lineno"> 549</span> <span class="keywordflow">return</span> <a class="code hl_function" href="a00217.html#ga664680a7a5728d1b23c38d4b09e1ffcf">hwloc_filter_check_pcidev_subtype_important</a>(obj-&gt;<a class="code hl_variable" href="a00224.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-&gt;<a class="code hl_variable" href="a00228.html#a0b66da7ab072f7c016f8ed86701f5a7c">pcidev</a>.<a class="code hl_variable" href="a00248.html#aee735352d9f1686fd290fc6d6397c334">class_id</a>);</div>
309 <div class="line"><a id="l00550" name="l00550"></a><span class="lineno"> 550</span> <span class="keywordflow">if</span> (type == <a class="code hl_enumvalue" href="a00167.html#ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075">HWLOC_OBJ_OS_DEVICE</a>)</div>
310 <div class="line"><a id="l00551" name="l00551"></a><span class="lineno"> 551</span> <span class="keywordflow">return</span> <a class="code hl_function" href="a00217.html#ga744656a20caa1c22a22280cea80d8700">hwloc_filter_check_osdev_subtype_important</a>(obj-&gt;<a class="code hl_variable" href="a00224.html#accd40e29f71f19e88db62ea3df02adc8">attr</a>-&gt;<a class="code hl_variable" href="a00228.html#aaf7a5c38b5185703ff18c46ad2761dcf">osdev</a>.<a class="code hl_variable" href="a00268.html#a31e019e27e54ac6138d04be639bb96f9">type</a>);</div>
311 <div class="line"><a id="l00552" name="l00552"></a><span class="lineno"> 552</span> }</div>
312 <div class="line"><a id="l00553" name="l00553"></a><span class="lineno"> 553</span> <span class="keywordflow">return</span> 1;</div>
313 <div class="line"><a id="l00554" name="l00554"></a><span class="lineno"> 554</span>}</div>
314 </div>
315 <div class="line"><a id="l00555" name="l00555"></a><span class="lineno"> 555</span></div>
316 <div class="line"><a id="l00557" name="l00557"></a><span class="lineno"> 557</span> </div>
317 <div class="line"><a id="l00558" name="l00558"></a><span class="lineno"> 558</span> </div>
318 <div class="line"><a id="l00559" name="l00559"></a><span class="lineno"> 559</span> </div>
319 <div class="line"><a id="l00560" name="l00560"></a><span class="lineno"> 560</span></div>
320 <div class="line"><a id="l00567" name="l00567"></a><span class="lineno"> 567</span></div>
321 <div class="line"><a id="l00572" name="l00572"></a><span class="lineno"><a class="line" href="a00218.html#ga706f71cfea09d547d2cbafa642d6e03b"> 572</a></span>HWLOC_DECLSPEC <span class="keywordtype">unsigned</span> <a class="code hl_function" href="a00218.html#ga706f71cfea09d547d2cbafa642d6e03b">hwloc_pcidisc_find_cap</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *config, <span class="keywordtype">unsigned</span> cap);</div>
322 <div class="line"><a id="l00573" name="l00573"></a><span class="lineno"> 573</span></div>
323 <div class="line"><a id="l00579" name="l00579"></a><span class="lineno"><a class="line" href="a00218.html#ga51d1ebcbf9729987c9d17df3aa57d209"> 579</a></span>HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code hl_function" href="a00218.html#ga51d1ebcbf9729987c9d17df3aa57d209">hwloc_pcidisc_find_linkspeed</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *config, <span class="keywordtype">unsigned</span> offset, <span class="keywordtype">float</span> *linkspeed);</div>
324 <div class="line"><a id="l00580" name="l00580"></a><span class="lineno"> 580</span></div>
325 <div class="line"><a id="l00585" name="l00585"></a><span class="lineno"><a class="line" href="a00218.html#ga6c55fb80c3d0c8c8e61078b3f38adde8"> 585</a></span>HWLOC_DECLSPEC <a class="code hl_enumeration" href="a00167.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> <a class="code hl_function" href="a00218.html#ga6c55fb80c3d0c8c8e61078b3f38adde8">hwloc_pcidisc_check_bridge_type</a>(<span class="keywordtype">unsigned</span> device_class, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *config);</div>
326 <div class="line"><a id="l00586" name="l00586"></a><span class="lineno"> 586</span></div>
327 <div class="line"><a id="l00593" name="l00593"></a><span class="lineno"><a class="line" href="a00218.html#ga95acf6822a49447c11067d0b843965ba"> 593</a></span>HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code hl_function" href="a00218.html#ga95acf6822a49447c11067d0b843965ba">hwloc_pcidisc_find_bridge_buses</a>(<span class="keywordtype">unsigned</span> domain, <span class="keywordtype">unsigned</span> bus, <span class="keywordtype">unsigned</span> dev, <span class="keywordtype">unsigned</span> func,</div>
328 <div class="line"><a id="l00594" name="l00594"></a><span class="lineno"> 594</span> <span class="keywordtype">unsigned</span> *secondary_busp, <span class="keywordtype">unsigned</span> *subordinate_busp,</div>
329 <div class="line"><a id="l00595" name="l00595"></a><span class="lineno"> 595</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *config);</div>
330 <div class="line"><a id="l00596" name="l00596"></a><span class="lineno"> 596</span></div>
331 <div class="line"><a id="l00601" name="l00601"></a><span class="lineno"><a class="line" href="a00218.html#gab76ddc4f55db8101ef0d44317965128c"> 601</a></span>HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code hl_function" href="a00218.html#gab76ddc4f55db8101ef0d44317965128c">hwloc_pcidisc_tree_insert_by_busid</a>(<span class="keyword">struct</span> <a class="code hl_struct" href="a00224.html">hwloc_obj</a> **treep, <span class="keyword">struct</span> <a class="code hl_struct" href="a00224.html">hwloc_obj</a> *obj);</div>
332 <div class="line"><a id="l00602" name="l00602"></a><span class="lineno"> 602</span></div>
333 <div class="line"><a id="l00608" name="l00608"></a><span class="lineno"><a class="line" href="a00218.html#gabda1d6c1799e50b9226f8a4da9bd29ea"> 608</a></span>HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code hl_function" href="a00218.html#gabda1d6c1799e50b9226f8a4da9bd29ea">hwloc_pcidisc_tree_attach</a>(<span class="keyword">struct</span> hwloc_topology *topology, <span class="keyword">struct</span> <a class="code hl_struct" href="a00224.html">hwloc_obj</a> *tree);</div>
334 <div class="line"><a id="l00609" name="l00609"></a><span class="lineno"> 609</span></div>
335 <div class="line"><a id="l00611" name="l00611"></a><span class="lineno"> 611</span> </div>
336 <div class="line"><a id="l00612" name="l00612"></a><span class="lineno"> 612</span> </div>
337 <div class="line"><a id="l00613" name="l00613"></a><span class="lineno"> 613</span> </div>
338 <div class="line"><a id="l00614" name="l00614"></a><span class="lineno"> 614</span></div>
339 <div class="line"><a id="l00621" name="l00621"></a><span class="lineno"> 621</span></div>
340 <div class="line"><a id="l00633" name="l00633"></a><span class="lineno"><a class="line" href="a00219.html#ga5062f8cb07418b9cb01657d363d0f969"> 633</a></span>HWLOC_DECLSPEC <span class="keyword">struct </span><a class="code hl_struct" href="a00224.html">hwloc_obj</a> * <a class="code hl_function" href="a00219.html#ga5062f8cb07418b9cb01657d363d0f969">hwloc_pci_find_parent_by_busid</a>(<span class="keyword">struct</span> hwloc_topology *topology, <span class="keywordtype">unsigned</span> domain, <span class="keywordtype">unsigned</span> bus, <span class="keywordtype">unsigned</span> dev, <span class="keywordtype">unsigned</span> func);</div>
341 <div class="line"><a id="l00634" name="l00634"></a><span class="lineno"> 634</span></div>
342 <div class="line"><a id="l00641" name="l00641"></a><span class="lineno"><a class="line" href="a00219.html#ga1779bc839369b3edcea1545a04ea123c"> 641</a></span>HWLOC_DECLSPEC <span class="keyword">struct </span><a class="code hl_struct" href="a00224.html">hwloc_obj</a> * <a class="code hl_function" href="a00219.html#ga1779bc839369b3edcea1545a04ea123c">hwloc_pci_find_by_busid</a>(<span class="keyword">struct</span> hwloc_topology *topology, <span class="keywordtype">unsigned</span> domain, <span class="keywordtype">unsigned</span> bus, <span class="keywordtype">unsigned</span> dev, <span class="keywordtype">unsigned</span> func);</div>
343 <div class="line"><a id="l00642" name="l00642"></a><span class="lineno"> 642</span> </div>
344 <div class="line"><a id="l00643" name="l00643"></a><span class="lineno"> 643</span></div>
345 <div class="line"><a id="l00645" name="l00645"></a><span class="lineno"> 645</span> </div>
346 <div class="line"><a id="l00646" name="l00646"></a><span class="lineno"> 646</span> </div>
347 <div class="line"><a id="l00647" name="l00647"></a><span class="lineno"> 647</span> </div>
348 <div class="line"><a id="l00648" name="l00648"></a><span class="lineno"> 648</span></div>
349 <div class="line"><a id="l00655" name="l00655"></a><span class="lineno"> 655</span></div>
350 <div class="line"><a id="l00657" name="l00657"></a><span class="lineno"><a class="line" href="a00220.html#gafe5e49d32dd0a28ead94b6e31048e042"> 657</a></span><span class="keyword">typedef</span> <span class="keywordtype">void</span> * <a class="code hl_typedef" href="a00220.html#gafe5e49d32dd0a28ead94b6e31048e042">hwloc_backend_distances_add_handle_t</a>;</div>
351 <div class="line"><a id="l00658" name="l00658"></a><span class="lineno"> 658</span></div>
352 <div class="line"><a id="l00665" name="l00665"></a><span class="lineno"> 665</span>HWLOC_DECLSPEC <a class="code hl_typedef" href="a00220.html#gafe5e49d32dd0a28ead94b6e31048e042">hwloc_backend_distances_add_handle_t</a></div>
353 <div class="line"><a id="l00666" name="l00666"></a><span class="lineno"><a class="line" href="a00220.html#gaa66a0bd519a5b1183a3e9b0c35a7f6cc"> 666</a></span><a class="code hl_function" href="a00220.html#gaa66a0bd519a5b1183a3e9b0c35a7f6cc">hwloc_backend_distances_add_create</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
354 <div class="line"><a id="l00667" name="l00667"></a><span class="lineno"> 667</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_variable" href="a00224.html#abb709ec38f2970677e4e57d1d30be96d">name</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> kind,</div>
355 <div class="line"><a id="l00668" name="l00668"></a><span class="lineno"> 668</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div>
356 <div class="line"><a id="l00669" name="l00669"></a><span class="lineno"> 669</span></div>
357 <div class="line"><a id="l00681" name="l00681"></a><span class="lineno"> 681</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
358 <div class="line"><a id="l00682" name="l00682"></a><span class="lineno"><a class="line" href="a00220.html#gaa27036bd83102f8e406f1051d560da6c"> 682</a></span><a class="code hl_function" href="a00220.html#gaa27036bd83102f8e406f1051d560da6c">hwloc_backend_distances_add_values</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
359 <div class="line"><a id="l00683" name="l00683"></a><span class="lineno"> 683</span> <a class="code hl_typedef" href="a00220.html#gafe5e49d32dd0a28ead94b6e31048e042">hwloc_backend_distances_add_handle_t</a> handle,</div>
360 <div class="line"><a id="l00684" name="l00684"></a><span class="lineno"> 684</span> <span class="keywordtype">unsigned</span> nbobjs, <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> *objs,</div>
361 <div class="line"><a id="l00685" name="l00685"></a><span class="lineno"> 685</span> hwloc_uint64_t *values,</div>
362 <div class="line"><a id="l00686" name="l00686"></a><span class="lineno"> 686</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div>
363 <div class="line"><a id="l00687" name="l00687"></a><span class="lineno"> 687</span></div>
364 <div class="line"><a id="l00694" name="l00694"></a><span class="lineno"> 694</span>HWLOC_DECLSPEC <span class="keywordtype">int</span></div>
365 <div class="line"><a id="l00695" name="l00695"></a><span class="lineno"><a class="line" href="a00220.html#ga1468ac5f0bfb0e18bfc04c9ce5a5a4a3"> 695</a></span><a class="code hl_function" href="a00220.html#ga1468ac5f0bfb0e18bfc04c9ce5a5a4a3">hwloc_backend_distances_add_commit</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div>
366 <div class="line"><a id="l00696" name="l00696"></a><span class="lineno"> 696</span> <a class="code hl_typedef" href="a00220.html#gafe5e49d32dd0a28ead94b6e31048e042">hwloc_backend_distances_add_handle_t</a> handle,</div>
367 <div class="line"><a id="l00697" name="l00697"></a><span class="lineno"> 697</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div>
368 <div class="line"><a id="l00698" name="l00698"></a><span class="lineno"> 698</span></div>
369 <div class="line"><a id="l00700" name="l00700"></a><span class="lineno"> 700</span> </div>
370 <div class="line"><a id="l00701" name="l00701"></a><span class="lineno"> 701</span> </div>
371 <div class="line"><a id="l00702" name="l00702"></a><span class="lineno"> 702</span> </div>
372 <div class="line"><a id="l00703" name="l00703"></a><span class="lineno"> 703</span> </div>
373 <div class="line"><a id="l00704" name="l00704"></a><span class="lineno"> 704</span><span class="preprocessor">#endif </span><span class="comment">/* HWLOC_PLUGINS_H */</span><span class="preprocessor"></span></div>
374 <div class="ttc" id="aa00167_html_gaa9a6941ef7b1c169412518d7ef71b3d2"><div class="ttname"><a href="a00167.html#gaa9a6941ef7b1c169412518d7ef71b3d2">hwloc_obj_osdev_type_t</a></div><div class="ttdeci">enum hwloc_obj_osdev_type_e hwloc_obj_osdev_type_t</div><div class="ttdoc">Type of a OS device.</div></div>
375 <div class="ttc" id="aa00167_html_gacd37bb612667dc437d66bfb175a8dc55"><div class="ttname"><a href="a00167.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a></div><div class="ttdeci">hwloc_obj_type_t</div><div class="ttdoc">Type of topology object.</div><div class="ttdef"><b>Definition</b> hwloc.h:202</div></div>
376 <div class="ttc" id="aa00167_html_gga64f5d539df299c97ae80ce53fc4b56c0a827ad1643360711a8b6c6af671366791"><div class="ttname"><a href="a00167.html#gga64f5d539df299c97ae80ce53fc4b56c0a827ad1643360711a8b6c6af671366791">HWLOC_OBJ_OSDEV_DMA</a></div><div class="ttdeci">@ HWLOC_OBJ_OSDEV_DMA</div><div class="ttdoc">Operating system dma engine device. For instance the &quot;dma0chan0&quot; DMA channel on Linux.</div><div class="ttdef"><b>Definition</b> hwloc.h:389</div></div>
377 <div class="ttc" id="aa00167_html_ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075"><div class="ttname"><a href="a00167.html#ggacd37bb612667dc437d66bfb175a8dc55a51e7280240fd9f25589cbbe538bdb075">HWLOC_OBJ_OS_DEVICE</a></div><div class="ttdeci">@ HWLOC_OBJ_OS_DEVICE</div><div class="ttdoc">Operating system device (filtered out by default).</div><div class="ttdef"><b>Definition</b> hwloc.h:310</div></div>
378 <div class="ttc" id="aa00167_html_ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9"><div class="ttname"><a href="a00167.html#ggacd37bb612667dc437d66bfb175a8dc55a5d8117a54df1fbd3606ab19e42cb0ea9">HWLOC_OBJ_PCI_DEVICE</a></div><div class="ttdeci">@ HWLOC_OBJ_PCI_DEVICE</div><div class="ttdoc">PCI device (filtered out by default).</div><div class="ttdef"><b>Definition</b> hwloc.h:300</div></div>
379 <div class="ttc" id="aa00168_html_ga79b8ab56877ef99ac59b833203391c7d"><div class="ttname"><a href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a></div><div class="ttdeci">struct hwloc_obj * hwloc_obj_t</div><div class="ttdoc">Convenience typedef; a pointer to a struct hwloc_obj.</div><div class="ttdef"><b>Definition</b> hwloc.h:637</div></div>
380 <div class="ttc" id="aa00169_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context.</div><div class="ttdef"><b>Definition</b> hwloc.h:748</div></div>
381 <div class="ttc" id="aa00176_html_ga137ad1178f7a79f2383974d983083401"><div class="ttname"><a href="a00176.html#ga137ad1178f7a79f2383974d983083401">hwloc_topology_get_type_filter</a></div><div class="ttdeci">int hwloc_topology_get_type_filter(hwloc_topology_t topology, hwloc_obj_type_t type, enum hwloc_type_filter_e *filter)</div><div class="ttdoc">Get the current filtering for the given object type.</div></div>
382 <div class="ttc" id="aa00176_html_ga9a5a1f0140cd1952544477833733195b"><div class="ttname"><a href="a00176.html#ga9a5a1f0140cd1952544477833733195b">hwloc_type_filter_e</a></div><div class="ttdeci">hwloc_type_filter_e</div><div class="ttdoc">Type filtering flags.</div><div class="ttdef"><b>Definition</b> hwloc.h:2445</div></div>
383 <div class="ttc" id="aa00176_html_gga9a5a1f0140cd1952544477833733195ba4f835955414de92c77d99b8419d4647a"><div class="ttname"><a href="a00176.html#gga9a5a1f0140cd1952544477833733195ba4f835955414de92c77d99b8419d4647a">HWLOC_TYPE_FILTER_KEEP_NONE</a></div><div class="ttdeci">@ HWLOC_TYPE_FILTER_KEEP_NONE</div><div class="ttdoc">Ignore all objects of this type.</div><div class="ttdef"><b>Definition</b> hwloc.h:2459</div></div>
384 <div class="ttc" id="aa00176_html_gga9a5a1f0140cd1952544477833733195ba63fd24954e18c83ff7eae9588759adb5"><div class="ttname"><a href="a00176.html#gga9a5a1f0140cd1952544477833733195ba63fd24954e18c83ff7eae9588759adb5">HWLOC_TYPE_FILTER_KEEP_IMPORTANT</a></div><div class="ttdeci">@ HWLOC_TYPE_FILTER_KEEP_IMPORTANT</div><div class="ttdoc">Only keep likely-important objects of the given type.</div><div class="ttdef"><b>Definition</b> hwloc.h:2490</div></div>
385 <div class="ttc" id="aa00188_html_gaa3c2bf4c776d603dcebbb61b0c923d84"><div class="ttname"><a href="a00188.html#gaa3c2bf4c776d603dcebbb61b0c923d84">hwloc_bitmap_t</a></div><div class="ttdeci">struct hwloc_bitmap_s * hwloc_bitmap_t</div><div class="ttdoc">Set of bits represented as an opaque pointer to an internal bitmap.</div><div class="ttdef"><b>Definition</b> bitmap.h:70</div></div>
386 <div class="ttc" id="aa00214_html_ga4715779d7191833e9b1a7490989a7497"><div class="ttname"><a href="a00214.html#ga4715779d7191833e9b1a7490989a7497">hwloc_backend_enable</a></div><div class="ttdeci">int hwloc_backend_enable(struct hwloc_backend *backend)</div><div class="ttdoc">Enable a previously allocated and setup backend.</div></div>
387 <div class="ttc" id="aa00214_html_ga600bba1a62022d5f516800649b1edb61"><div class="ttname"><a href="a00214.html#ga600bba1a62022d5f516800649b1edb61">hwloc_disc_phase_t</a></div><div class="ttdeci">enum hwloc_disc_phase_e hwloc_disc_phase_t</div><div class="ttdoc">Discovery phase.</div></div>
388 <div class="ttc" id="aa00214_html_ga6118a1009aa390c13255a330ccf253cf"><div class="ttname"><a href="a00214.html#ga6118a1009aa390c13255a330ccf253cf">hwloc_backend_alloc</a></div><div class="ttdeci">struct hwloc_backend * hwloc_backend_alloc(struct hwloc_topology *topology, struct hwloc_disc_component *component)</div><div class="ttdoc">Allocate a backend structure, set good default values, initialize backend-&gt;component and topology,...</div></div>
389 <div class="ttc" id="aa00214_html_ga8c314121c2fc478161bcce758688b9a1"><div class="ttname"><a href="a00214.html#ga8c314121c2fc478161bcce758688b9a1">hwloc_disc_phase_e</a></div><div class="ttdeci">hwloc_disc_phase_e</div><div class="ttdoc">Discovery phase.</div><div class="ttdef"><b>Definition</b> plugins.h:96</div></div>
390 <div class="ttc" id="aa00214_html_gaae1b38cf9b12e489884ce2a07275964b"><div class="ttname"><a href="a00214.html#gaae1b38cf9b12e489884ce2a07275964b">hwloc_disc_status_flag_e</a></div><div class="ttdeci">hwloc_disc_status_flag_e</div><div class="ttdoc">Discovery status flags.</div><div class="ttdef"><b>Definition</b> plugins.h:136</div></div>
391 <div class="ttc" id="aa00214_html_gga8c314121c2fc478161bcce758688b9a1a6360474df197027761a69bd5fc620250"><div class="ttname"><a href="a00214.html#gga8c314121c2fc478161bcce758688b9a1a6360474df197027761a69bd5fc620250">HWLOC_DISC_PHASE_CPU</a></div><div class="ttdeci">@ HWLOC_DISC_PHASE_CPU</div><div class="ttdoc">CPU discovery.</div><div class="ttdef"><b>Definition</b> plugins.h:105</div></div>
392 <div class="ttc" id="aa00214_html_gga8c314121c2fc478161bcce758688b9a1a677c52064dd987af4988346319b3675a"><div class="ttname"><a href="a00214.html#gga8c314121c2fc478161bcce758688b9a1a677c52064dd987af4988346319b3675a">HWLOC_DISC_PHASE_PCI</a></div><div class="ttdeci">@ HWLOC_DISC_PHASE_PCI</div><div class="ttdoc">Attach PCI devices and bridges to existing CPU objects.</div><div class="ttdef"><b>Definition</b> plugins.h:113</div></div>
393 <div class="ttc" id="aa00214_html_gga8c314121c2fc478161bcce758688b9a1a68ca5c7ad75a6d9e5355689411621773"><div class="ttname"><a href="a00214.html#gga8c314121c2fc478161bcce758688b9a1a68ca5c7ad75a6d9e5355689411621773">HWLOC_DISC_PHASE_ANNOTATE</a></div><div class="ttdeci">@ HWLOC_DISC_PHASE_ANNOTATE</div><div class="ttdoc">Annotating existing objects, adding distances, etc.</div><div class="ttdef"><b>Definition</b> plugins.h:125</div></div>
394 <div class="ttc" id="aa00214_html_gga8c314121c2fc478161bcce758688b9a1a8a7cde9bff0ab0d085b102a3e934939b"><div class="ttname"><a href="a00214.html#gga8c314121c2fc478161bcce758688b9a1a8a7cde9bff0ab0d085b102a3e934939b">HWLOC_DISC_PHASE_MISC</a></div><div class="ttdeci">@ HWLOC_DISC_PHASE_MISC</div><div class="ttdoc">Misc objects that gets added below anything else.</div><div class="ttdef"><b>Definition</b> plugins.h:121</div></div>
395 <div class="ttc" id="aa00214_html_gga8c314121c2fc478161bcce758688b9a1aa8e10626cba9af72f5605a1acbdc0015"><div class="ttname"><a href="a00214.html#gga8c314121c2fc478161bcce758688b9a1aa8e10626cba9af72f5605a1acbdc0015">HWLOC_DISC_PHASE_IO</a></div><div class="ttdeci">@ HWLOC_DISC_PHASE_IO</div><div class="ttdoc">I/O discovery that requires PCI devices (OS devices such as OpenCL, CUDA, etc.).</div><div class="ttdef"><b>Definition</b> plugins.h:117</div></div>
396 <div class="ttc" id="aa00214_html_gga8c314121c2fc478161bcce758688b9a1ab41c626c79e9ccb1e7d41e7076972283"><div class="ttname"><a href="a00214.html#gga8c314121c2fc478161bcce758688b9a1ab41c626c79e9ccb1e7d41e7076972283">HWLOC_DISC_PHASE_GLOBAL</a></div><div class="ttdeci">@ HWLOC_DISC_PHASE_GLOBAL</div><div class="ttdoc">xml or synthetic, platform-specific components such as bgq. Discovers everything including CPU,...</div><div class="ttdef"><b>Definition</b> plugins.h:101</div></div>
397 <div class="ttc" id="aa00214_html_gga8c314121c2fc478161bcce758688b9a1ac4264a243844c5fbbff495cdb1b4d51d"><div class="ttname"><a href="a00214.html#gga8c314121c2fc478161bcce758688b9a1ac4264a243844c5fbbff495cdb1b4d51d">HWLOC_DISC_PHASE_MEMORY</a></div><div class="ttdeci">@ HWLOC_DISC_PHASE_MEMORY</div><div class="ttdoc">Attach memory to existing CPU objects.</div><div class="ttdef"><b>Definition</b> plugins.h:109</div></div>
398 <div class="ttc" id="aa00214_html_gga8c314121c2fc478161bcce758688b9a1ada3ed3f00e74909353d6ea4a96cde5ad"><div class="ttname"><a href="a00214.html#gga8c314121c2fc478161bcce758688b9a1ada3ed3f00e74909353d6ea4a96cde5ad">HWLOC_DISC_PHASE_TWEAK</a></div><div class="ttdeci">@ HWLOC_DISC_PHASE_TWEAK</div><div class="ttdoc">Final tweaks to a ready-to-use topology. This phase runs once the topology is loaded,...</div><div class="ttdef"><b>Definition</b> plugins.h:132</div></div>
399 <div class="ttc" id="aa00214_html_ggaae1b38cf9b12e489884ce2a07275964ba205d644d54a0840bd9165fce7d19e6b1"><div class="ttname"><a href="a00214.html#ggaae1b38cf9b12e489884ce2a07275964ba205d644d54a0840bd9165fce7d19e6b1">HWLOC_DISC_STATUS_FLAG_GOT_ALLOWED_RESOURCES</a></div><div class="ttdeci">@ HWLOC_DISC_STATUS_FLAG_GOT_ALLOWED_RESOURCES</div><div class="ttdoc">The sets of allowed resources were already retrieved.</div><div class="ttdef"><b>Definition</b> plugins.h:138</div></div>
400 <div class="ttc" id="aa00215_html_ga31a5a455f4e666b936f0a9e8fb9a0f47"><div class="ttname"><a href="a00215.html#ga31a5a455f4e666b936f0a9e8fb9a0f47">hwloc_component_type_t</a></div><div class="ttdeci">enum hwloc_component_type_e hwloc_component_type_t</div><div class="ttdoc">Generic component type.</div></div>
401 <div class="ttc" id="aa00215_html_ga397a1bf7d21dd073320ad0045340f463"><div class="ttname"><a href="a00215.html#ga397a1bf7d21dd073320ad0045340f463">hwloc_component_type_e</a></div><div class="ttdeci">hwloc_component_type_e</div><div class="ttdoc">Generic component type.</div><div class="ttdef"><b>Definition</b> plugins.h:247</div></div>
402 <div class="ttc" id="aa00215_html_ga9c8b59541aab5a19332d8c1340d20588"><div class="ttname"><a href="a00215.html#ga9c8b59541aab5a19332d8c1340d20588">hwloc_plugin_check_namespace</a></div><div class="ttdeci">int hwloc_plugin_check_namespace(const char *pluginname, const char *symbol)</div><div class="ttdoc">Make sure that plugins can lookup core symbols.</div><div class="ttdef"><b>Definition</b> plugins.h:328</div></div>
403 <div class="ttc" id="aa00215_html_gga397a1bf7d21dd073320ad0045340f463a5d6e561f467fe9795a29e7368b613900"><div class="ttname"><a href="a00215.html#gga397a1bf7d21dd073320ad0045340f463a5d6e561f467fe9795a29e7368b613900">HWLOC_COMPONENT_TYPE_DISC</a></div><div class="ttdeci">@ HWLOC_COMPONENT_TYPE_DISC</div><div class="ttdoc">The data field must point to a struct hwloc_disc_component.</div><div class="ttdef"><b>Definition</b> plugins.h:249</div></div>
404 <div class="ttc" id="aa00215_html_gga397a1bf7d21dd073320ad0045340f463adea00cd839c2141c032e1569fd5592bd"><div class="ttname"><a href="a00215.html#gga397a1bf7d21dd073320ad0045340f463adea00cd839c2141c032e1569fd5592bd">HWLOC_COMPONENT_TYPE_XML</a></div><div class="ttdeci">@ HWLOC_COMPONENT_TYPE_XML</div><div class="ttdoc">The data field must point to a struct hwloc_xml_component.</div><div class="ttdef"><b>Definition</b> plugins.h:252</div></div>
405 <div class="ttc" id="aa00216_html_ga0b5c75b2dc37cea2e8a29c4812baf4b3"><div class="ttname"><a href="a00216.html#ga0b5c75b2dc37cea2e8a29c4812baf4b3">hwloc_alloc_setup_object</a></div><div class="ttdeci">hwloc_obj_t hwloc_alloc_setup_object(hwloc_topology_t topology, hwloc_obj_type_t type, unsigned os_index)</div><div class="ttdoc">Allocate and initialize an object of the given type and physical index.</div></div>
406 <div class="ttc" id="aa00216_html_ga0ef97debde503b56367689b07bb3e901"><div class="ttname"><a href="a00216.html#ga0ef97debde503b56367689b07bb3e901">hwloc_insert_object_by_parent</a></div><div class="ttdeci">void hwloc_insert_object_by_parent(struct hwloc_topology *topology, hwloc_obj_t parent, hwloc_obj_t obj)</div><div class="ttdoc">Insert an object somewhere in the topology.</div></div>
407 <div class="ttc" id="aa00216_html_ga120d8bd74922e1030b621409a6b0be61"><div class="ttname"><a href="a00216.html#ga120d8bd74922e1030b621409a6b0be61">hwloc_topology_reconnect</a></div><div class="ttdeci">int hwloc_topology_reconnect(hwloc_topology_t topology, unsigned long flags)</div><div class="ttdoc">Request a reconnection of children and levels in the topology.</div></div>
408 <div class="ttc" id="aa00216_html_ga1e105cfe3c8e77f34cc6df3841deebbc"><div class="ttname"><a href="a00216.html#ga1e105cfe3c8e77f34cc6df3841deebbc">hwloc__insert_object_by_cpuset</a></div><div class="ttdeci">hwloc_obj_t hwloc__insert_object_by_cpuset(struct hwloc_topology *topology, hwloc_obj_t root, hwloc_obj_t obj, const char *reason)</div><div class="ttdoc">Add an object to the topology.</div></div>
409 <div class="ttc" id="aa00216_html_ga754b61041ceee9685534a2c5d3cd0156"><div class="ttname"><a href="a00216.html#ga754b61041ceee9685534a2c5d3cd0156">hwloc_obj_add_children_sets</a></div><div class="ttdeci">int hwloc_obj_add_children_sets(hwloc_obj_t obj)</div><div class="ttdoc">Setup object cpusets/nodesets by OR&#39;ing its children.</div></div>
410 <div class="ttc" id="aa00216_html_gab527c1e0f243f057d31a724794ad9f88"><div class="ttname"><a href="a00216.html#gab527c1e0f243f057d31a724794ad9f88">hwloc_hide_errors</a></div><div class="ttdeci">int hwloc_hide_errors(void)</div><div class="ttdoc">Check whether error messages are hidden.</div></div>
411 <div class="ttc" id="aa00217_html_ga07f9541b284fb69f00c079e106432bea"><div class="ttname"><a href="a00217.html#ga07f9541b284fb69f00c079e106432bea">hwloc_filter_check_keep_object</a></div><div class="ttdeci">int hwloc_filter_check_keep_object(hwloc_topology_t topology, hwloc_obj_t obj)</div><div class="ttdoc">Check whether the given object should be filtered-out.</div><div class="ttdef"><b>Definition</b> plugins.h:540</div></div>
412 <div class="ttc" id="aa00217_html_ga664680a7a5728d1b23c38d4b09e1ffcf"><div class="ttname"><a href="a00217.html#ga664680a7a5728d1b23c38d4b09e1ffcf">hwloc_filter_check_pcidev_subtype_important</a></div><div class="ttdeci">int hwloc_filter_check_pcidev_subtype_important(unsigned classid)</div><div class="ttdoc">Check whether the given PCI device classid is important.</div><div class="ttdef"><b>Definition</b> plugins.h:495</div></div>
413 <div class="ttc" id="aa00217_html_ga744656a20caa1c22a22280cea80d8700"><div class="ttname"><a href="a00217.html#ga744656a20caa1c22a22280cea80d8700">hwloc_filter_check_osdev_subtype_important</a></div><div class="ttdeci">int hwloc_filter_check_osdev_subtype_important(hwloc_obj_osdev_type_t subtype)</div><div class="ttdoc">Check whether the given OS device subtype is important.</div><div class="ttdef"><b>Definition</b> plugins.h:515</div></div>
414 <div class="ttc" id="aa00217_html_ga8711dd64882b6897fe7ab79c4a07e668"><div class="ttname"><a href="a00217.html#ga8711dd64882b6897fe7ab79c4a07e668">hwloc_filter_check_keep_object_type</a></div><div class="ttdeci">int hwloc_filter_check_keep_object_type(hwloc_topology_t topology, hwloc_obj_type_t type)</div><div class="ttdoc">Check whether a non-I/O object type should be filtered-out.</div><div class="ttdef"><b>Definition</b> plugins.h:527</div></div>
415 <div class="ttc" id="aa00218_html_ga51d1ebcbf9729987c9d17df3aa57d209"><div class="ttname"><a href="a00218.html#ga51d1ebcbf9729987c9d17df3aa57d209">hwloc_pcidisc_find_linkspeed</a></div><div class="ttdeci">int hwloc_pcidisc_find_linkspeed(const unsigned char *config, unsigned offset, float *linkspeed)</div><div class="ttdoc">Fill linkspeed by reading the PCI config space where PCI_CAP_ID_EXP is at position offset.</div></div>
416 <div class="ttc" id="aa00218_html_ga6c55fb80c3d0c8c8e61078b3f38adde8"><div class="ttname"><a href="a00218.html#ga6c55fb80c3d0c8c8e61078b3f38adde8">hwloc_pcidisc_check_bridge_type</a></div><div class="ttdeci">hwloc_obj_type_t hwloc_pcidisc_check_bridge_type(unsigned device_class, const unsigned char *config)</div><div class="ttdoc">Return the hwloc object type (PCI device or Bridge) for the given class and configuration space.</div></div>
417 <div class="ttc" id="aa00218_html_ga706f71cfea09d547d2cbafa642d6e03b"><div class="ttname"><a href="a00218.html#ga706f71cfea09d547d2cbafa642d6e03b">hwloc_pcidisc_find_cap</a></div><div class="ttdeci">unsigned hwloc_pcidisc_find_cap(const unsigned char *config, unsigned cap)</div><div class="ttdoc">Return the offset of the given capability in the PCI config space buffer.</div></div>
418 <div class="ttc" id="aa00218_html_ga95acf6822a49447c11067d0b843965ba"><div class="ttname"><a href="a00218.html#ga95acf6822a49447c11067d0b843965ba">hwloc_pcidisc_find_bridge_buses</a></div><div class="ttdeci">int hwloc_pcidisc_find_bridge_buses(unsigned domain, unsigned bus, unsigned dev, unsigned func, unsigned *secondary_busp, unsigned *subordinate_busp, const unsigned char *config)</div><div class="ttdoc">Fills the attributes of the given PCI bridge using the given PCI config space.</div></div>
419 <div class="ttc" id="aa00218_html_gab76ddc4f55db8101ef0d44317965128c"><div class="ttname"><a href="a00218.html#gab76ddc4f55db8101ef0d44317965128c">hwloc_pcidisc_tree_insert_by_busid</a></div><div class="ttdeci">void hwloc_pcidisc_tree_insert_by_busid(struct hwloc_obj **treep, struct hwloc_obj *obj)</div><div class="ttdoc">Insert a PCI object in the given PCI tree by looking at PCI bus IDs.</div></div>
420 <div class="ttc" id="aa00218_html_gabda1d6c1799e50b9226f8a4da9bd29ea"><div class="ttname"><a href="a00218.html#gabda1d6c1799e50b9226f8a4da9bd29ea">hwloc_pcidisc_tree_attach</a></div><div class="ttdeci">int hwloc_pcidisc_tree_attach(struct hwloc_topology *topology, struct hwloc_obj *tree)</div><div class="ttdoc">Add some hostbridges on top of the given tree of PCI objects and attach them to the topology.</div></div>
421 <div class="ttc" id="aa00219_html_ga1779bc839369b3edcea1545a04ea123c"><div class="ttname"><a href="a00219.html#ga1779bc839369b3edcea1545a04ea123c">hwloc_pci_find_by_busid</a></div><div class="ttdeci">struct hwloc_obj * hwloc_pci_find_by_busid(struct hwloc_topology *topology, unsigned domain, unsigned bus, unsigned dev, unsigned func)</div><div class="ttdoc">Find the PCI device or bridge matching a PCI bus ID exactly.</div></div>
422 <div class="ttc" id="aa00219_html_ga5062f8cb07418b9cb01657d363d0f969"><div class="ttname"><a href="a00219.html#ga5062f8cb07418b9cb01657d363d0f969">hwloc_pci_find_parent_by_busid</a></div><div class="ttdeci">struct hwloc_obj * hwloc_pci_find_parent_by_busid(struct hwloc_topology *topology, unsigned domain, unsigned bus, unsigned dev, unsigned func)</div><div class="ttdoc">Find the object or a parent of a PCI bus ID.</div></div>
423 <div class="ttc" id="aa00220_html_ga1468ac5f0bfb0e18bfc04c9ce5a5a4a3"><div class="ttname"><a href="a00220.html#ga1468ac5f0bfb0e18bfc04c9ce5a5a4a3">hwloc_backend_distances_add_commit</a></div><div class="ttdeci">int hwloc_backend_distances_add_commit(hwloc_topology_t topology, hwloc_backend_distances_add_handle_t handle, unsigned long flags)</div><div class="ttdoc">Commit a new distances structure.</div></div>
424 <div class="ttc" id="aa00220_html_gaa27036bd83102f8e406f1051d560da6c"><div class="ttname"><a href="a00220.html#gaa27036bd83102f8e406f1051d560da6c">hwloc_backend_distances_add_values</a></div><div class="ttdeci">int hwloc_backend_distances_add_values(hwloc_topology_t topology, hwloc_backend_distances_add_handle_t handle, unsigned nbobjs, hwloc_obj_t *objs, hwloc_uint64_t *values, unsigned long flags)</div><div class="ttdoc">Specify the objects and values in a new empty distances structure.</div></div>
425 <div class="ttc" id="aa00220_html_gaa66a0bd519a5b1183a3e9b0c35a7f6cc"><div class="ttname"><a href="a00220.html#gaa66a0bd519a5b1183a3e9b0c35a7f6cc">hwloc_backend_distances_add_create</a></div><div class="ttdeci">hwloc_backend_distances_add_handle_t hwloc_backend_distances_add_create(hwloc_topology_t topology, const char *name, unsigned long kind, unsigned long flags)</div><div class="ttdoc">Create a new empty distances structure.</div></div>
426 <div class="ttc" id="aa00220_html_gafe5e49d32dd0a28ead94b6e31048e042"><div class="ttname"><a href="a00220.html#gafe5e49d32dd0a28ead94b6e31048e042">hwloc_backend_distances_add_handle_t</a></div><div class="ttdeci">void * hwloc_backend_distances_add_handle_t</div><div class="ttdoc">Handle to a new distances structure during its addition to the topology.</div><div class="ttdef"><b>Definition</b> plugins.h:657</div></div>
427 <div class="ttc" id="aa00224_html"><div class="ttname"><a href="a00224.html">hwloc_obj</a></div><div class="ttdoc">Structure of a topology object.</div><div class="ttdef"><b>Definition</b> hwloc.h:437</div></div>
428 <div class="ttc" id="aa00224_html_abb709ec38f2970677e4e57d1d30be96d"><div class="ttname"><a href="a00224.html#abb709ec38f2970677e4e57d1d30be96d">hwloc_obj::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">Object-specific name if any. Mostly used for identifying OS devices and Misc objects where a name str...</div><div class="ttdef"><b>Definition</b> hwloc.h:449</div></div>
429 <div class="ttc" id="aa00224_html_acc4f0803f244867e68fe0036800be5de"><div class="ttname"><a href="a00224.html#acc4f0803f244867e68fe0036800be5de">hwloc_obj::type</a></div><div class="ttdeci">hwloc_obj_type_t type</div><div class="ttdoc">Type of object.</div><div class="ttdef"><b>Definition</b> hwloc.h:439</div></div>
430 <div class="ttc" id="aa00224_html_accd40e29f71f19e88db62ea3df02adc8"><div class="ttname"><a href="a00224.html#accd40e29f71f19e88db62ea3df02adc8">hwloc_obj::attr</a></div><div class="ttdeci">union hwloc_obj_attr_u * attr</div><div class="ttdoc">Object type-specific Attributes, may be NULL if no attribute value was found.</div><div class="ttdef"><b>Definition</b> hwloc.h:456</div></div>
431 <div class="ttc" id="aa00228_html_a0b66da7ab072f7c016f8ed86701f5a7c"><div class="ttname"><a href="a00228.html#a0b66da7ab072f7c016f8ed86701f5a7c">hwloc_obj_attr_u::pcidev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_pcidev_attr_s pcidev</div></div>
432 <div class="ttc" id="aa00228_html_aaf7a5c38b5185703ff18c46ad2761dcf"><div class="ttname"><a href="a00228.html#aaf7a5c38b5185703ff18c46ad2761dcf">hwloc_obj_attr_u::osdev</a></div><div class="ttdeci">struct hwloc_obj_attr_u::hwloc_osdev_attr_s osdev</div></div>
433 <div class="ttc" id="aa00248_html_aee735352d9f1686fd290fc6d6397c334"><div class="ttname"><a href="a00248.html#aee735352d9f1686fd290fc6d6397c334">hwloc_obj_attr_u::hwloc_pcidev_attr_s::class_id</a></div><div class="ttdeci">unsigned short class_id</div><div class="ttdoc">The class number (first two bytes, without the prog_if).</div><div class="ttdef"><b>Definition</b> hwloc.h:685</div></div>
434 <div class="ttc" id="aa00268_html_a31e019e27e54ac6138d04be639bb96f9"><div class="ttname"><a href="a00268.html#a31e019e27e54ac6138d04be639bb96f9">hwloc_obj_attr_u::hwloc_osdev_attr_s::type</a></div><div class="ttdeci">hwloc_obj_osdev_type_t type</div><div class="ttdef"><b>Definition</b> hwloc.h:722</div></div>
435 <div class="ttc" id="aa00356_html"><div class="ttname"><a href="a00356.html">hwloc_disc_component</a></div><div class="ttdoc">Discovery component structure.</div><div class="ttdef"><b>Definition</b> plugins.h:43</div></div>
436 <div class="ttc" id="aa00356_html_a4064c3b5d9213027e87caebef380a840"><div class="ttname"><a href="a00356.html#a4064c3b5d9213027e87caebef380a840">hwloc_disc_component::name</a></div><div class="ttdeci">const char * name</div><div class="ttdoc">Name. If this component is built as a plugin, this name does not have to match the plugin filename.</div><div class="ttdef"><b>Definition</b> plugins.h:47</div></div>
437 <div class="ttc" id="aa00356_html_a61ad3151efa02e3dbad5d919758f9c90"><div class="ttname"><a href="a00356.html#a61ad3151efa02e3dbad5d919758f9c90">hwloc_disc_component::phases</a></div><div class="ttdeci">unsigned phases</div><div class="ttdoc">Discovery phases performed by this component. OR&#39;ed set of hwloc_disc_phase_t.</div><div class="ttdef"><b>Definition</b> plugins.h:52</div></div>
438 <div class="ttc" id="aa00356_html_acbb9957914dbf7b8f504215aa0c8d3fe"><div class="ttname"><a href="a00356.html#acbb9957914dbf7b8f504215aa0c8d3fe">hwloc_disc_component::excluded_phases</a></div><div class="ttdeci">unsigned excluded_phases</div><div class="ttdoc">Component phases to exclude, as an OR&#39;ed set of hwloc_disc_phase_t.</div><div class="ttdef"><b>Definition</b> plugins.h:62</div></div>
439 <div class="ttc" id="aa00356_html_ace80cafe2b1732b047b3fc3da47e6517"><div class="ttname"><a href="a00356.html#ace80cafe2b1732b047b3fc3da47e6517">hwloc_disc_component::enabled_by_default</a></div><div class="ttdeci">unsigned enabled_by_default</div><div class="ttdoc">Enabled by default. If unset, if will be disabled unless explicitly requested.</div><div class="ttdef"><b>Definition</b> plugins.h:86</div></div>
440 <div class="ttc" id="aa00356_html_ae86d283c272c5ae24073a235efbf6b59"><div class="ttname"><a href="a00356.html#ae86d283c272c5ae24073a235efbf6b59">hwloc_disc_component::priority</a></div><div class="ttdeci">unsigned priority</div><div class="ttdoc">Component priority. Used to sort topology-&gt;components, higher priority first. Also used to decide bet...</div><div class="ttdef"><b>Definition</b> plugins.h:81</div></div>
441 <div class="ttc" id="aa00360_html"><div class="ttname"><a href="a00360.html">hwloc_disc_status</a></div><div class="ttdoc">Discovery status structure.</div><div class="ttdef"><b>Definition</b> plugins.h:146</div></div>
442 <div class="ttc" id="aa00360_html_a0f95fa42d46a6e7cf8dee8af12afee3a"><div class="ttname"><a href="a00360.html#a0f95fa42d46a6e7cf8dee8af12afee3a">hwloc_disc_status::excluded_phases</a></div><div class="ttdeci">unsigned excluded_phases</div><div class="ttdoc">Dynamically excluded phases. If a component decides during discovery that some phases are no longer n...</div><div class="ttdef"><b>Definition</b> plugins.h:155</div></div>
443 <div class="ttc" id="aa00360_html_abaf7c8c082d43e133171f0723dbf824b"><div class="ttname"><a href="a00360.html#abaf7c8c082d43e133171f0723dbf824b">hwloc_disc_status::phase</a></div><div class="ttdeci">hwloc_disc_phase_t phase</div><div class="ttdoc">The current discovery phase that is performed. Must match one of the phases in the component phases f...</div><div class="ttdef"><b>Definition</b> plugins.h:150</div></div>
444 <div class="ttc" id="aa00360_html_ad8b123cecb945a9182eb824ccf8ef9d7"><div class="ttname"><a href="a00360.html#ad8b123cecb945a9182eb824ccf8ef9d7">hwloc_disc_status::flags</a></div><div class="ttdeci">unsigned long flags</div><div class="ttdoc">OR&#39;ed set of hwloc_disc_status_flag_e.</div><div class="ttdef"><b>Definition</b> plugins.h:158</div></div>
445 <div class="ttc" id="aa00364_html"><div class="ttname"><a href="a00364.html">hwloc_backend</a></div><div class="ttdoc">Discovery backend structure.</div><div class="ttdef"><b>Definition</b> plugins.h:179</div></div>
446 <div class="ttc" id="aa00364_html_a2ea5bd36b7f06efdb65b98b32af16c68"><div class="ttname"><a href="a00364.html#a2ea5bd36b7f06efdb65b98b32af16c68">hwloc_backend::private_data</a></div><div class="ttdeci">void * private_data</div><div class="ttdoc">Backend private data, or NULL if none.</div><div class="ttdef"><b>Definition</b> plugins.h:206</div></div>
447 <div class="ttc" id="aa00364_html_a36c4fa86350525b46340c67b802c69c7"><div class="ttname"><a href="a00364.html#a36c4fa86350525b46340c67b802c69c7">hwloc_backend::disable</a></div><div class="ttdeci">void(* disable)(struct hwloc_backend *backend)</div><div class="ttdoc">Callback for freeing the private_data. May be NULL.</div><div class="ttdef"><b>Definition</b> plugins.h:210</div></div>
448 <div class="ttc" id="aa00364_html_aaa8eafe495aadd81c2e3c4ec527c10ba"><div class="ttname"><a href="a00364.html#aaa8eafe495aadd81c2e3c4ec527c10ba">hwloc_backend::flags</a></div><div class="ttdeci">unsigned long flags</div><div class="ttdoc">Backend flags, currently always 0.</div><div class="ttdef"><b>Definition</b> plugins.h:195</div></div>
449 <div class="ttc" id="aa00364_html_aaac253491264c20930f44817270bc502"><div class="ttname"><a href="a00364.html#aaac253491264c20930f44817270bc502">hwloc_backend::get_pci_busid_cpuset</a></div><div class="ttdeci">int(* get_pci_busid_cpuset)(struct hwloc_backend *backend, struct hwloc_pcidev_attr_s *busid, hwloc_bitmap_t cpuset)</div><div class="ttdoc">Callback to retrieve the locality of a PCI object. Called by the PCI core when attaching PCI hierarch...</div><div class="ttdef"><b>Definition</b> plugins.h:223</div></div>
450 <div class="ttc" id="aa00364_html_ab8806f6db077f1bb2e9d63ec99223f7a"><div class="ttname"><a href="a00364.html#ab8806f6db077f1bb2e9d63ec99223f7a">hwloc_backend::is_thissystem</a></div><div class="ttdeci">int is_thissystem</div><div class="ttdoc">Backend-specific &#39;is_thissystem&#39; property. Set to 0 if the backend disables the thissystem flag for t...</div><div class="ttdef"><b>Definition</b> plugins.h:203</div></div>
451 <div class="ttc" id="aa00364_html_accff2cd8404be43c3b44cec05e6f609b"><div class="ttname"><a href="a00364.html#accff2cd8404be43c3b44cec05e6f609b">hwloc_backend::discover</a></div><div class="ttdeci">int(* discover)(struct hwloc_backend *backend, struct hwloc_disc_status *status)</div><div class="ttdoc">Main discovery callback. returns -1 on error, either because it couldn&#39;t add its objects ot the exist...</div><div class="ttdef"><b>Definition</b> plugins.h:217</div></div>
452 <div class="ttc" id="aa00364_html_aeca769840a6ff03e96462a9533adbccd"><div class="ttname"><a href="a00364.html#aeca769840a6ff03e96462a9533adbccd">hwloc_backend::phases</a></div><div class="ttdeci">unsigned phases</div><div class="ttdoc">Discovery phases performed by this component, possibly without some of them if excluded by other comp...</div><div class="ttdef"><b>Definition</b> plugins.h:192</div></div>
453 <div class="ttc" id="aa00368_html"><div class="ttname"><a href="a00368.html">hwloc_component</a></div><div class="ttdoc">Generic component structure.</div><div class="ttdef"><b>Definition</b> plugins.h:260</div></div>
454 <div class="ttc" id="aa00368_html_a3250bd6fc9713946991d805e48091b2e"><div class="ttname"><a href="a00368.html#a3250bd6fc9713946991d805e48091b2e">hwloc_component::abi</a></div><div class="ttdeci">unsigned abi</div><div class="ttdoc">Component ABI version, set to HWLOC_COMPONENT_ABI.</div><div class="ttdef"><b>Definition</b> plugins.h:262</div></div>
455 <div class="ttc" id="aa00368_html_a4612015451a1c706e8ba19114cb8baae"><div class="ttname"><a href="a00368.html#a4612015451a1c706e8ba19114cb8baae">hwloc_component::finalize</a></div><div class="ttdeci">void(* finalize)(unsigned long flags)</div><div class="ttdoc">Process-wide component termination callback.</div><div class="ttdef"><b>Definition</b> plugins.h:294</div></div>
456 <div class="ttc" id="aa00368_html_a4b8cffd1d943c29fdc102b841b8598d4"><div class="ttname"><a href="a00368.html#a4b8cffd1d943c29fdc102b841b8598d4">hwloc_component::data</a></div><div class="ttdeci">void * data</div><div class="ttdoc">Component data, pointing to a struct hwloc_disc_component or struct hwloc_xml_component.</div><div class="ttdef"><b>Definition</b> plugins.h:303</div></div>
457 <div class="ttc" id="aa00368_html_a789208ada7e17492cfd3a5a88a6bb0ee"><div class="ttname"><a href="a00368.html#a789208ada7e17492cfd3a5a88a6bb0ee">hwloc_component::type</a></div><div class="ttdeci">hwloc_component_type_t type</div><div class="ttdoc">Component type.</div><div class="ttdef"><b>Definition</b> plugins.h:297</div></div>
458 <div class="ttc" id="aa00368_html_ab8043c5b4cc0e81aabba586ccb194335"><div class="ttname"><a href="a00368.html#ab8043c5b4cc0e81aabba586ccb194335">hwloc_component::flags</a></div><div class="ttdeci">unsigned long flags</div><div class="ttdoc">Component flags, unused for now.</div><div class="ttdef"><b>Definition</b> plugins.h:300</div></div>
459 <div class="ttc" id="aa00368_html_aea613546886d9b8221cadba920fe3ebc"><div class="ttname"><a href="a00368.html#aea613546886d9b8221cadba920fe3ebc">hwloc_component::init</a></div><div class="ttdeci">int(* init)(unsigned long flags)</div><div class="ttdoc">Process-wide component initialization callback.</div><div class="ttdef"><b>Definition</b> plugins.h:281</div></div>
460 </div><!-- fragment --></div><!-- contents -->
461 <!-- start footer part -->
462 <hr class="footer"/><address class="footer"><small>
463 Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.15.0
464 </small></address>
465 </div><!-- doc-content -->
466 </body>
467 </html>