Lines Matching defs:minor
208 static vmem_t *dtrace_minor; /* minor number arena */
4127 * by the fact that we (a) want to include the minor name and
4134 int64_t minor = (int64_t)tupregs[1].dttk_value;
4158 * We want to have a name for the minor. In order to do this,
4159 * we need to walk the minor list from the devinfo. We want
4174 if (minor != -1) {
4195 if (m != minor) {
4220 * We have the minor data. Now we need to
4221 * copy the minor's name into the end of the
13136 minor_t minor;
13151 minor = (minor_t)(uintptr_t)vmem_alloc(dtrace_minor, 1,
13154 if (ddi_soft_state_zalloc(dtrace_softstate, minor) != DDI_SUCCESS) {
13155 vmem_free(dtrace_minor, (void *)(uintptr_t)minor, 1);
13159 state = ddi_get_soft_state(dtrace_softstate, minor);
13183 state->dts_dev = makedevice(major, minor);
13878 minor_t minor = getminor(state->dts_dev);
14003 ddi_soft_state_free(dtrace_softstate, minor);
14004 vmem_free(dtrace_minor, (void *)(uintptr_t)minor, 1);
15512 cmn_err(CE_NOTE, "/dev/dtrace couldn't create minor nodes");
15682 * If this wasn't an open with the "helper" minor, then it must be
15683 * the "dtrace" minor.
15691 * The first minor device is the one that is cloned so there is
15793 minor_t minor = getminor(dev);
15796 if (minor == DTRACEMNRN_HELPER)
15799 state = ddi_get_soft_state(dtrace_softstate, minor);
15916 minor_t minor = getminor(dev);
15920 if (minor == DTRACEMNRN_HELPER)
15923 state = ddi_get_soft_state(dtrace_softstate, minor);