| 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): Components and Plugins: Filtering objects</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"> 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><!-- top --> |
| 43 |
<div id="doc-content"> |
| 44 |
<div class="header"> |
| 45 |
<div class="summary"> |
| 46 |
<a href="#func-members">Functions</a> </div> |
| 47 |
<div class="headertitle"><div class="title">Components and Plugins: Filtering objects </div></div> |
| 48 |
</div><!--header--> |
| 49 |
<div class="contents"> |
| 50 |
<table class="memberdecls"> |
| 51 |
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a> |
| 52 |
Functions</h2></td></tr> |
| 53 |
<tr class="memitem:ga664680a7a5728d1b23c38d4b09e1ffcf" id="r_ga664680a7a5728d1b23c38d4b09e1ffcf"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga664680a7a5728d1b23c38d4b09e1ffcf">hwloc_filter_check_pcidev_subtype_important</a> (unsigned classid)</td></tr> |
| 54 |
<tr class="memitem:ga744656a20caa1c22a22280cea80d8700" id="r_ga744656a20caa1c22a22280cea80d8700"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga744656a20caa1c22a22280cea80d8700">hwloc_filter_check_osdev_subtype_important</a> (<a class="el" href="a00167.html#gaa9a6941ef7b1c169412518d7ef71b3d2">hwloc_obj_osdev_type_t</a> subtype)</td></tr> |
| 55 |
<tr class="memitem:ga8711dd64882b6897fe7ab79c4a07e668" id="r_ga8711dd64882b6897fe7ab79c4a07e668"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga8711dd64882b6897fe7ab79c4a07e668">hwloc_filter_check_keep_object_type</a> (<a class="el" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00167.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a> type)</td></tr> |
| 56 |
<tr class="memitem:ga07f9541b284fb69f00c079e106432bea" id="r_ga07f9541b284fb69f00c079e106432bea"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#ga07f9541b284fb69f00c079e106432bea">hwloc_filter_check_keep_object</a> (<a class="el" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="el" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj)</td></tr> |
| 57 |
</table> |
| 58 |
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2> |
| 59 |
<dl class="section note"><dt>Note</dt><dd>These structures and functions may change when <a class="el" href="a00165.html#gaac5bc1f46f55e10ef0141a68ce70e21f" title="Current component and plugin ABI version (see hwloc/plugins.h).">HWLOC_COMPONENT_ABI</a> is modified. </dd></dl> |
| 60 |
<a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2> |
| 61 |
<a id="ga07f9541b284fb69f00c079e106432bea" name="ga07f9541b284fb69f00c079e106432bea"></a> |
| 62 |
<h2 class="memtitle"><span class="permalink"><a href="#ga07f9541b284fb69f00c079e106432bea">◆ </a></span>hwloc_filter_check_keep_object()</h2> |
| 63 |
|
| 64 |
<div class="memitem"> |
| 65 |
<div class="memproto"> |
| 66 |
<table class="mlabels"> |
| 67 |
<tr> |
| 68 |
<td class="mlabels-left"> |
| 69 |
<table class="memname"> |
| 70 |
<tr> |
| 71 |
<td class="memname">int hwloc_filter_check_keep_object </td> |
| 72 |
<td>(</td> |
| 73 |
<td class="paramtype"><a class="el" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></td> <td class="paramname"><span class="paramname"><em>topology</em></span>, </td> |
| 74 |
</tr> |
| 75 |
<tr> |
| 76 |
<td class="paramkey"></td> |
| 77 |
<td></td> |
| 78 |
<td class="paramtype"><a class="el" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a></td> <td class="paramname"><span class="paramname"><em>obj</em></span> )</td> |
| 79 |
</tr> |
| 80 |
</table> |
| 81 |
</td> |
| 82 |
<td class="mlabels-right"> |
| 83 |
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td> |
| 84 |
</tr> |
| 85 |
</table> |
| 86 |
</div><div class="memdoc"> |
| 87 |
|
| 88 |
<p>Check whether the given object should be filtered-out. </p> |
| 89 |
<dl class="section return"><dt>Returns</dt><dd>1 if the object type should be kept, 0 otherwise. </dd></dl> |
| 90 |
|
| 91 |
</div> |
| 92 |
</div> |
| 93 |
<a id="ga8711dd64882b6897fe7ab79c4a07e668" name="ga8711dd64882b6897fe7ab79c4a07e668"></a> |
| 94 |
<h2 class="memtitle"><span class="permalink"><a href="#ga8711dd64882b6897fe7ab79c4a07e668">◆ </a></span>hwloc_filter_check_keep_object_type()</h2> |
| 95 |
|
| 96 |
<div class="memitem"> |
| 97 |
<div class="memproto"> |
| 98 |
<table class="mlabels"> |
| 99 |
<tr> |
| 100 |
<td class="mlabels-left"> |
| 101 |
<table class="memname"> |
| 102 |
<tr> |
| 103 |
<td class="memname">int hwloc_filter_check_keep_object_type </td> |
| 104 |
<td>(</td> |
| 105 |
<td class="paramtype"><a class="el" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></td> <td class="paramname"><span class="paramname"><em>topology</em></span>, </td> |
| 106 |
</tr> |
| 107 |
<tr> |
| 108 |
<td class="paramkey"></td> |
| 109 |
<td></td> |
| 110 |
<td class="paramtype"><a class="el" href="a00167.html#gacd37bb612667dc437d66bfb175a8dc55">hwloc_obj_type_t</a></td> <td class="paramname"><span class="paramname"><em>type</em></span> )</td> |
| 111 |
</tr> |
| 112 |
</table> |
| 113 |
</td> |
| 114 |
<td class="mlabels-right"> |
| 115 |
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td> |
| 116 |
</tr> |
| 117 |
</table> |
| 118 |
</div><div class="memdoc"> |
| 119 |
|
| 120 |
<p>Check whether a non-I/O object type should be filtered-out. </p> |
| 121 |
<p>Cannot be used for I/O objects.</p> |
| 122 |
<dl class="section return"><dt>Returns</dt><dd>1 if the object type should be kept, 0 otherwise. </dd></dl> |
| 123 |
|
| 124 |
</div> |
| 125 |
</div> |
| 126 |
<a id="ga744656a20caa1c22a22280cea80d8700" name="ga744656a20caa1c22a22280cea80d8700"></a> |
| 127 |
<h2 class="memtitle"><span class="permalink"><a href="#ga744656a20caa1c22a22280cea80d8700">◆ </a></span>hwloc_filter_check_osdev_subtype_important()</h2> |
| 128 |
|
| 129 |
<div class="memitem"> |
| 130 |
<div class="memproto"> |
| 131 |
<table class="mlabels"> |
| 132 |
<tr> |
| 133 |
<td class="mlabels-left"> |
| 134 |
<table class="memname"> |
| 135 |
<tr> |
| 136 |
<td class="memname">int hwloc_filter_check_osdev_subtype_important </td> |
| 137 |
<td>(</td> |
| 138 |
<td class="paramtype"><a class="el" href="a00167.html#gaa9a6941ef7b1c169412518d7ef71b3d2">hwloc_obj_osdev_type_t</a></td> <td class="paramname"><span class="paramname"><em>subtype</em></span></td><td>)</td> |
| 139 |
<td></td> |
| 140 |
</tr> |
| 141 |
</table> |
| 142 |
</td> |
| 143 |
<td class="mlabels-right"> |
| 144 |
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td> |
| 145 |
</tr> |
| 146 |
</table> |
| 147 |
</div><div class="memdoc"> |
| 148 |
|
| 149 |
<p>Check whether the given OS device subtype is important. </p> |
| 150 |
<dl class="section return"><dt>Returns</dt><dd>1 if important, 0 otherwise. </dd></dl> |
| 151 |
|
| 152 |
</div> |
| 153 |
</div> |
| 154 |
<a id="ga664680a7a5728d1b23c38d4b09e1ffcf" name="ga664680a7a5728d1b23c38d4b09e1ffcf"></a> |
| 155 |
<h2 class="memtitle"><span class="permalink"><a href="#ga664680a7a5728d1b23c38d4b09e1ffcf">◆ </a></span>hwloc_filter_check_pcidev_subtype_important()</h2> |
| 156 |
|
| 157 |
<div class="memitem"> |
| 158 |
<div class="memproto"> |
| 159 |
<table class="mlabels"> |
| 160 |
<tr> |
| 161 |
<td class="mlabels-left"> |
| 162 |
<table class="memname"> |
| 163 |
<tr> |
| 164 |
<td class="memname">int hwloc_filter_check_pcidev_subtype_important </td> |
| 165 |
<td>(</td> |
| 166 |
<td class="paramtype">unsigned</td> <td class="paramname"><span class="paramname"><em>classid</em></span></td><td>)</td> |
| 167 |
<td></td> |
| 168 |
</tr> |
| 169 |
</table> |
| 170 |
</td> |
| 171 |
<td class="mlabels-right"> |
| 172 |
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td> |
| 173 |
</tr> |
| 174 |
</table> |
| 175 |
</div><div class="memdoc"> |
| 176 |
|
| 177 |
<p>Check whether the given PCI device classid is important. </p> |
| 178 |
<dl class="section return"><dt>Returns</dt><dd>1 if important, 0 otherwise. </dd></dl> |
| 179 |
|
| 180 |
</div> |
| 181 |
</div> |
| 182 |
</div><!-- contents --> |
| 183 |
<!-- start footer part --> |
| 184 |
<hr class="footer"/><address class="footer"><small> |
| 185 |
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.15.0 |
| 186 |
</small></address> |
| 187 |
</div><!-- doc-content --> |
| 188 |
</body> |
| 189 |
</html> |