logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

device_get_sysctl_ctx, device_get_sysctl_tree — manipulate the sysctl oid tree for driver specific sysctl

Authors

       This manual page was written by Warner Losh.

Debian                                            June 18, 2011                             DEVICE_GET_SYSCTL(9)

Description

       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.

Name

       device_get_sysctl_ctx, device_get_sysctl_tree — manipulate the sysctl oid tree for driver specific sysctl
       nodes

See Also

device(9)

Synopsis

#include<sys/param.h>#include<sys/bus.h>structsysctl_ctx_list*device_get_sysctl_ctx(device_tdev);

       structsysctl_oid*device_get_sysctl_tree(device_tdev);

See Also