Lines Matching refs:pi
4899 * (above), where the pi state is set to STANDBY, we don't
6538 sv_path_info_t *pi;
6571 pi = (sv_path_info_t *)*upibuf;
6572 for (index = 0; index < num_paths; index++, src++, pi++) {
6578 pi->ret_prop.buf_size =
6580 pi->ret_prop.ret_buf_size =
6582 pi->ret_prop.buf =
6615 for (index = 0, pi = *kpibuf; index < num_paths; index++, pi++) {
6619 pi->ret_prop.buf_size = bufsize;
6620 pi->ret_prop.buf = (caddr_t)
6622 ASSERT(pi->ret_prop.buf != NULL);
6624 pi->ret_prop.buf_size = 0;
6625 pi->ret_prop.buf = NULL;
6629 pi->ret_prop.ret_buf_size = (uint_t *)kmem_zalloc(
6630 sizeof (*pi->ret_prop.ret_buf_size), KM_SLEEP);
6631 ASSERT(pi->ret_prop.ret_buf_size != NULL);
6633 pi->ret_prop.ret_buf_size = NULL;
6650 sv_path_info_t *pi;
6654 for (index = 0, pi = kpibuf; index < num_paths; index++, pi++) {
6655 if (pi->ret_prop.ret_buf_size != NULL) {
6656 kmem_free(pi->ret_prop.ret_buf_size,
6657 sizeof (*pi->ret_prop.ret_buf_size));
6660 if (pi->ret_prop.buf != NULL) {
6661 kmem_free(pi->ret_prop.buf, pi->ret_prop.buf_size);