Lines Matching refs:minor
226 static vmem_t *dtrace_minor; /* minor number arena */
3998 * by the fact that we (a) want to include the minor name and
4005 int64_t minor = (int64_t)tupregs[1].dttk_value;
4029 * We want to have a name for the minor. In order to do this,
4030 * we need to walk the minor list from the devinfo. We want
4045 if (minor != -1) {
4066 if (m != minor) {
4091 * We have the minor data. Now we need to
4092 * copy the minor's name into the end of the
12579 minor_t minor;
12591 minor = (minor_t)(uintptr_t)vmem_alloc(dtrace_minor, 1,
12594 if (ddi_soft_state_zalloc(dtrace_softstate, minor) != DDI_SUCCESS) {
12595 vmem_free(dtrace_minor, (void *)(uintptr_t)minor, 1);
12599 state = ddi_get_soft_state(dtrace_softstate, minor);
12609 (void) snprintf(c, sizeof (c), "dtrace_aggid_%d", minor);
12628 state->dts_dev = makedevice(major, minor);
13336 minor_t minor = getminor(state->dts_dev);
13445 ddi_soft_state_free(dtrace_softstate, minor);
13446 vmem_free(dtrace_minor, (void *)(uintptr_t)minor, 1);
14900 cmn_err(CE_NOTE, "/dev/dtrace couldn't create minor nodes");
15072 * If this wasn't an open with the "helper" minor, then it must be
15073 * the "dtrace" minor.
15147 minor_t minor = getminor(dev);
15150 if (minor == DTRACEMNRN_HELPER)
15153 state = ddi_get_soft_state(dtrace_softstate, minor);
15254 minor_t minor = getminor(dev);
15260 if (minor == DTRACEMNRN_HELPER)
15263 state = ddi_get_soft_state(dtrace_softstate, minor);