Lines Matching defs:pi
4901 * (above), where the pi state is set to STANDBY, we don't
6540 sv_path_info_t *pi;
6573 pi = (sv_path_info_t *)*upibuf;
6574 for (index = 0; index < num_paths; index++, src++, pi++) {
6580 pi->ret_prop.buf_size =
6582 pi->ret_prop.ret_buf_size =
6584 pi->ret_prop.buf =
6617 for (index = 0, pi = *kpibuf; index < num_paths; index++, pi++) {
6621 pi->ret_prop.buf_size = bufsize;
6622 pi->ret_prop.buf = (caddr_t)
6624 ASSERT(pi->ret_prop.buf != NULL);
6626 pi->ret_prop.buf_size = 0;
6627 pi->ret_prop.buf = NULL;
6631 pi->ret_prop.ret_buf_size = (uint_t *)kmem_zalloc(
6632 sizeof (*pi->ret_prop.ret_buf_size), KM_SLEEP);
6633 ASSERT(pi->ret_prop.ret_buf_size != NULL);
6635 pi->ret_prop.ret_buf_size = NULL;
6652 sv_path_info_t *pi;
6656 for (index = 0, pi = kpibuf; index < num_paths; index++, pi++) {
6657 if (pi->ret_prop.ret_buf_size != NULL) {
6658 kmem_free(pi->ret_prop.ret_buf_size,
6659 sizeof (*pi->ret_prop.ret_buf_size));
6662 if (pi->ret_prop.buf != NULL) {
6663 kmem_free(pi->ret_prop.buf, pi->ret_prop.buf_size);