Device Drivers, DDI framework, and MDB
- binding_hash
-
Given the address of an array of kernel binding hash table entries (struct
bind
**), walk all entries in the hash table and return the address of each structbind
. - devinfo
-
First, iterate over the parents of the given devinfo and return them in order of seniority from most to least senior. Second, return the given devinfo itself. Third, iterate over the children of the given devinfo in order of seniority from most to least senior. The
dev_info
struct is defined in<sys/ddi_impldefs.h>
. - devinfo_children
-
First, return the given devinfo, then iterate over the children of the given devinfo in order of seniority from most to least senior. The
dev_info
struct is defined in<sys/ddi_impldefs.h>
. - devinfo_parents
-
Iterate over the parents of the given devinfo in order of seniority from most to least senior, and then return the given devinfo. The
dev_info
struct is defined in<sys/ddi_impldefs.h>
. - devi_next
-
Iterate over the siblings of the given devinfo. The
dev_info
struct is defined in<sys/ddi_impldefs.h>
. - devnames
-
Iterate over the entries in the devnames array. This structure is defined in
<sys/autoconf.h>
. - softstate
-
Given a softstate pointer (see
ddi_soft_state_init
(9F)) display all non-NULL pointers to driver state structures. - softstate_all
-
Given a softstate pointer (see
ddi_soft_state_init
(9F)) display all pointers to driver state structures. Note that the pointers for unused instances will be NULL.