Lines Matching refs:hip

1133 	_ii_info_t *ip, *hip, **ipp;
1480 for (hip = _ii_info_top; hip; hip = hip->bi_next)
1481 if (strcmp(uconf.shadow_vol, hip->bi_keyname) == 0)
1483 if ((hip) && (type == SHD) && existing &&
1489 while (_ii_stopcopy(hip) == EINTR)
1495 mutex_enter(&hip->bi_mutex);
1498 hip->bi_disabled = 1;
1501 while (hip->bi_ioctl) {
1502 hip->bi_state |= DSW_IOCTL;
1503 cv_wait(&hip->bi_ioctlcv, &hip->bi_mutex);
1505 mutex_exit(&hip->bi_mutex);
1508 rw_enter(&hip->bi_linkrw, RW_WRITER);
1509 rw_exit(&hip->bi_linkrw);
1514 if (hip == *ipp) {
1515 *ipp = hip->bi_next;
1519 if (hip->bi_kstat) {
1520 kstat_delete(hip->bi_kstat);
1521 hip->bi_kstat = NULL;
1527 if (((rc = _ii_rsrv_devs(hip, rtype, II_INTERNAL)) != 0) ||
1535 rc = II_JOIN_BMP(ip, hip);
1538 _ii_rlse_devs(hip, rtype);
1539 ii_sibling_free(hip);
1597 for (hip = _ii_mst_top; hip; hip = hip->bi_nextmst)
1598 if (strcmp(uconf.master_vol, ii_pathname(hip->bi_mstfd)) == 0)
1600 add_to_mst_top = (hip == NULL);
1601 if (!hip)
1602 for (hip = _ii_info_top; hip; hip = hip->bi_next)
1604 ii_pathname(hip->bi_mstfd)) == 0)
1606 nshadows = (hip != NULL);
1609 if (hip) {
1610 if (hip->bi_flags & DSW_MSTOFFLINE) {
1654 hip = hip->bi_head;
1657 ip->bi_mstrdev = hip->bi_mstrdev;
1658 ip->bi_mstdev = hip->bi_mstdev;
1659 ip->bi_head = hip;
1660 ip->bi_sibling = hip->bi_sibling;
1662 hip->bi_nextmst = _ii_mst_top;
1663 _ii_mst_top = hip;
1665 hip->bi_sibling = ip;
6199 _ii_info_t *hip, *yip;
6218 hip = ip->bi_sibling;
6219 for (yip = hip; yip; yip = yip->bi_sibling)
6220 yip->bi_head = hip;
6223 hip = ip->bi_head;
6231 hip->bi_master->bi_head = hip;