Lines Matching defs:msu_lh
1110 oplmsu_plink_serial(dev_info_t *dip, ldi_handle_t msu_lh, int *id)
1151 rval = ldi_ioctl(msu_lh, I_PLINK, (intptr_t)lh, FKIOCTL, kcred, ¶m);
1196 ldi_handle_t msu_lh = NULL;
1231 rval = oplmsu_open_msu(oplmsu_uinst->msu_dip, &msu_li, &msu_lh);
1239 rval = oplmsu_plink_serial(dip, msu_lh, &lnk_id);
1243 (void) ldi_close(msu_lh, (FREAD|FWRITE), kcred);
1253 (void) ldi_ioctl(msu_lh, I_PUNLINK, (intptr_t)lnk_id, FKIOCTL,
1255 (void) ldi_close(msu_lh, (FREAD|FWRITE), kcred);
1266 (void) ldi_ioctl(msu_lh, I_PUNLINK, (intptr_t)lnk_id, FKIOCTL,
1269 (void) ldi_close(msu_lh, (FREAD|FWRITE), kcred);
1292 (void) ldi_ioctl(msu_lh, I_PUNLINK, (intptr_t)lnk_id,
1299 (void) ldi_close(msu_lh, (FREAD|FWRITE), kcred);
1308 ldi_handle_t msu_lh = NULL;
1393 rval = oplmsu_open_msu(oplmsu_uinst->msu_dip, &msu_li, &msu_lh);
1401 rval = ldi_ioctl(msu_lh, I_PUNLINK, (intptr_t)lpath->link_id, FKIOCTL,
1406 (void) ldi_close(msu_lh, (FREAD|FWRITE), kcred);
1412 (void) ldi_close(msu_lh, (FREAD|FWRITE), kcred);
1551 ldi_handle_t msu_lh = NULL;
1575 rval = oplmsu_open_msu(msu_uinst->msu_dip, &msu_li, &msu_lh);
1589 rval = oplmsu_plink_serial(ser_dl->dip, msu_lh, &plink_id[i]);
1605 (void) ldi_ioctl(msu_lh, I_PUNLINK,
1625 (void) ldi_close(msu_lh, (FREAD|FWRITE), kcred);
1638 oplmsu_unlinks(msu_lh, plink_id, devcnt);
1639 (void) ldi_close(msu_lh, (FREAD|FWRITE), kcred);
1655 oplmsu_unlinks(msu_lh, plink_id, devcnt);
1659 (void) ldi_close(msu_lh, (FREAD|FWRITE), kcred);
1668 oplmsu_unlinks(ldi_handle_t msu_lh, int *plink_id, int devcnt)
1679 (void) ldi_ioctl(msu_lh, I_PUNLINK, (intptr_t)plink_id[i],