device_get_sysctl_ctx(9) manipulate the sysctl oid tree for driver specific sysctl nodes

Other Alias



In sys/param.h In sys/bus.h Ft struct sysctl_ctx_list * Fn device_get_sysctl_ctx device_t dev Ft struct sysctl_oid * Fn 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 Fn device_get_sysctl_tree function. The context for the node can be obtained with the Fn device_get_sysctl_ctx function.


This manual page was written by An Warner Losh .