summaryrefslogtreecommitdiff
path: root/static/freebsd/man9/device_get_sysctl.9 4.html
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:55:43 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:55:43 -0400
commitac5e55f5f2af5b92794c2aded46c6bae85b5f5ed (patch)
tree9367490586c84cba28652e443e3166d66c33b0d9 /static/freebsd/man9/device_get_sysctl.9 4.html
parent253e67c8b3a72b3a4757fdbc5845297628db0a4a (diff)
docs: Added All FreeBSD Manuals
Diffstat (limited to 'static/freebsd/man9/device_get_sysctl.9 4.html')
-rw-r--r--static/freebsd/man9/device_get_sysctl.9 4.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/static/freebsd/man9/device_get_sysctl.9 4.html b/static/freebsd/man9/device_get_sysctl.9 4.html
new file mode 100644
index 00000000..71297d92
--- /dev/null
+++ b/static/freebsd/man9/device_get_sysctl.9 4.html
@@ -0,0 +1,56 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">DEVICE_GET_SYSCTL(9)</td>
+ <td class="head-vol">Kernel Developer's Manual</td>
+ <td class="head-rtitle">DEVICE_GET_SYSCTL(9)</td>
+ </tr>
+</table>
+<div class="manual-text">
+<section class="Sh">
+<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<p class="Pp"><code class="Nm">device_get_sysctl_ctx</code>,
+ <code class="Nm">device_get_sysctl_tree</code> &#x2014;
+ <span class="Nd">manipulate the sysctl oid tree for driver specific sysctl
+ nodes</span></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<p class="Pp"><code class="In">#include
+ &lt;<a class="In">sys/param.h</a>&gt;</code>
+ <br/>
+ <code class="In">#include &lt;<a class="In">sys/bus.h</a>&gt;</code></p>
+<p class="Pp"><var class="Ft">struct sysctl_ctx_list *</var>
+ <br/>
+ <code class="Fn">device_get_sysctl_ctx</code>(<var class="Fa" style="white-space: nowrap;">device_t
+ dev</var>);</p>
+<p class="Pp"><var class="Ft">struct sysctl_oid *</var>
+ <br/>
+ <code class="Fn">device_get_sysctl_tree</code>(<var class="Fa" style="white-space: nowrap;">device_t
+ dev</var>);</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp">The newbus system automatically adds a sysctl node for each device
+ in the system. This node can be accessed with the
+ <a class="permalink" href="#device_get_sysctl_tree"><code class="Fn" id="device_get_sysctl_tree">device_get_sysctl_tree</code></a>()
+ function. The context for the node can be obtained with the
+ <a class="permalink" href="#device_get_sysctl_ctx"><code class="Fn" id="device_get_sysctl_ctx">device_get_sysctl_ctx</code></a>()
+ function.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+ ALSO</a></h1>
+<p class="Pp"><a class="Xr">device(9)</a></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
+<p class="Pp">This manual page was written by <span class="An">Warner
+ Losh</span>.</p>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">June 18, 2011</td>
+ <td class="foot-os">FreeBSD 15.0</td>
+ </tr>
+</table>