Lines Matching refs:devcnt
1561 int devcnt = 0; in oplmsu_conf_stream() local
1568 devcnt = oplmsu_find_serial(&ser_dl); in oplmsu_conf_stream()
1569 if ((devcnt == 0) || (ser_dl == NULL)) { in oplmsu_conf_stream()
1571 "Discovered serial device = %d", devcnt); in oplmsu_conf_stream()
1583 size = (sizeof (struct msu_path) + (sizeof (struct msu_dev) * devcnt)); in oplmsu_conf_stream()
1585 plink_id = (int *)kmem_zalloc((sizeof (int) * devcnt), KM_SLEEP); in oplmsu_conf_stream()
1588 for (i = 0; i < devcnt; i++) { in oplmsu_conf_stream()
1628 kmem_free(plink_id, (sizeof (int) * devcnt)); in oplmsu_conf_stream()
1639 oplmsu_unlinks(msu_lh, plink_id, devcnt); in oplmsu_conf_stream()
1642 kmem_free(plink_id, (sizeof (int) * devcnt)); in oplmsu_conf_stream()
1656 oplmsu_unlinks(msu_lh, plink_id, devcnt); in oplmsu_conf_stream()
1662 kmem_free(plink_id, (sizeof (int) * devcnt)); in oplmsu_conf_stream()
1669 oplmsu_unlinks(ldi_handle_t msu_lh, int *plink_id, int devcnt) in oplmsu_unlinks() argument
1674 for (i = 0; i < devcnt; i++) { in oplmsu_unlinks()