Lines Matching defs:info
514 struct dk_cinfo info;
519 cmd, (intptr_t)&info, FKIOCTL, credp, rvalp)) != 0)
522 /* Update controller info */
523 info.dki_cnum = ddi_get_instance(ddi_get_parent(dip));
524 (void) strlcpy(info.dki_cname,
525 ddi_get_name(ddi_get_parent(dip)), sizeof (info.dki_cname));
527 /* Update unit info. */
528 if (info.dki_ctype == DKC_VBD)
529 info.dki_ctype = DKC_DIRECT;
530 info.dki_unit = instance;
531 (void) strlcpy(info.dki_dname,
532 ddi_driver_name(dip), sizeof (info.dki_dname));
533 info.dki_addr = 1;
535 if (ddi_copyout(&info, (void *)arg, sizeof (info), flag))