Lines Matching defs:arg
270 bd_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **resultp)
277 inst = BDINST((dev_t)arg);
692 bd_xfer_ctor(void *buf, void *arg, int kmflag)
695 bd_t *bd = arg;
719 bd_xfer_dtor(void *buf, void *arg)
723 _NOTE(ARGUNUSED(arg));
1260 bd_ioctl(dev_t dev, int cmd, intptr_t arg, int flag, cred_t *credp, int *rvalp)
1265 void *ptr = (void *)arg;
1275 rv = cmlb_ioctl(bd->d_cmlbh, dev, cmd, arg, flag, credp, rvalp, 0);
1386 dkc = (void *)arg;
1476 bd_tg_getinfo(dev_info_t *dip, int cmd, void *arg, void *tg_cookie)
1494 *(diskaddr_t *)arg = bd->d_numblks;
1498 *(uint32_t *)arg = (1U << bd->d_blkshift);
1510 ((tg_attribute_t *)arg)->media_is_writable =
1512 ((tg_attribute_t *)arg)->media_is_solid_state = bd->d_ssd;
1513 ((tg_attribute_t *)arg)->media_is_rotational = B_FALSE;
1763 void *arg, void *result)
1775 hdl = ddi_get_parent_data((dev_info_t *)arg);
1779 ddi_set_name_addr((dev_info_t *)arg, hdl->h_addr);
1783 ddi_set_name_addr((dev_info_t *)arg, NULL);
1784 ndi_prop_remove_all((dev_info_t *)arg);
1788 return (ddi_ctlops(dip, rdip, ctlop, arg, result));