device_get_sysctl(9freebsd)

device_get_sysctl9freebsd

Manipulate the sysctl oid tree for driver specific sysctl nodes

Usage

#include <sys/param.h>

#include <sys/bus.h>

struct sysctl_ctx_list *

device_get_sysctl_ctx(device_t dev);

struct sysctl_oid *

device_get_sysctl_tree(device_t dev);

Overview

The newbus system automatically adds a sysctl node for each device in the system. This node can be accessed with the device_get_sysctl_tree() function. The context for the node can be obtained with the device_get_sysctl_ctx() function.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

Authors

This manual page was written by Warner Losh.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.