man.bsd.lv manual page server

Manual Page Search Parameters

DEVICE_GET_SYSCTL(9) Kernel Developer's Manual DEVICE_GET_SYSCTL(9)

device_get_sysctl_ctx, device_get_sysctl_treemanipulate the sysctl oid tree for driver specific sysctl nodes

#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);

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

device(9)

This manual page was written by Warner Losh.

June 18, 2011 FreeBSD-13.0