Lines Matching defs:spec_type

590 		int		spec_type;
610 ret = resolve_pathname(path, &dip, &dev, &spec_type);
614 ASSERT(STYP_VALID(spec_type));
615 vp = makespecvp(dev, STYP_TO_VTYP(spec_type));
3278 dev_t dev, int spec_type)
3284 ASSERT((dev == DDI_DEV_T_ANY && spec_type == 0) ||
3285 (spec_type == S_IFCHR || spec_type == S_IFBLK));
3296 if (dev != lecp->lec_dev || spec_type != lecp->lec_spec)
3319 ldi_invoke_notify(dev_info_t *dip, dev_t dev, int spec_type, char *event,
3330 ASSERT((dev == DDI_DEV_T_ANY && spec_type == 0) ||
3331 (spec_type == S_IFCHR || spec_type == S_IFBLK));
3349 if (!ldi_ev_device_match(lecp, dip, dev, spec_type))
3409 if (!ldi_ev_device_match(lecp, dip, dev, spec_type))
3476 ldi_ev_notify(dev_info_t *dip, minor_t minor, int spec_type,
3486 ASSERT(spec_type == S_IFBLK || spec_type == S_IFCHR);
3516 retc = contract_device_negotiate(dip, dev, spec_type, ct_evtype);
3523 retl = ldi_invoke_notify(dip, dev, spec_type, evname, ev_data);
3527 contract_device_negend(dip, dev, spec_type, CT_EV_FAILURE);
3551 ldi_invoke_finalize(dev_info_t *dip, dev_t dev, int spec_type, char *event,
3562 ASSERT((dev == DDI_DEV_T_ANY && spec_type == 0) ||
3563 (spec_type == S_IFCHR || spec_type == S_IFBLK));
3587 if (!ldi_ev_device_match(lecp, dip, dev, spec_type))
3645 ldi_ev_finalize(dev_info_t *dip, minor_t minor, int spec_type, int ldi_result,
3656 ASSERT(spec_type == S_IFBLK || spec_type == S_IFCHR);
3677 contract_device_finalize(dip, dev, spec_type, ct_evtype, ct_result);
3680 ldi_invoke_finalize(dip, dev, spec_type, evname, ldi_result, ev_data);