Lines Matching defs:instance
67 #include <sys/instance.h>
1170 int instance;
1172 if ((instance = dev_to_instance(dev)) == -1)
1175 return (copyout(&instance, uinstancep, sizeof (int)));
1510 * Return the size of the (major,instance) devfspath name.
1513 modctl_devfspath_mi_len(major_t major, int instance, uint_t *len)
1520 if (e_ddi_majorinstance_to_path(major, instance, name) != DDI_SUCCESS) {
1538 * return a path - it uses the instance tree.
1541 modctl_devfspath_mi(major_t major, int instance, uint_t len, char *uname)
1549 if (e_ddi_majorinstance_to_path(major, instance, name) != DDI_SUCCESS) {
2006 * First go through the instance database. For each
2007 * instance of a device bound to the driver being
2011 * the instance data itself, constructing a list of
2016 * which could arise by holding the instance data
2043 * Pseudo nodes aren't recorded in the instance database
2507 case MODGETDEVFSPATH_MI_LEN: /* sizeof path nm of (major,instance) */
2512 case MODGETDEVFSPATH_MI: /* get path name of (major,instance) */
4573 * search its first instance's minor list for an