Lines Matching defs:pi_name
98 if (strncmp(pi->pi_name, name, sizeof (pi->pi_name)) == 0)
209 retval = dlpi_open(pi->pi_name, &pi->pi_dh, 0);
247 logerr("%s: %s: %s\n", pi->pi_name, errmsg, dlpi_strerror(retval));
316 logdebug("phyint_insert(%s '%s')\n", pi->pi_name, pg->pg_name);
370 phyint_create(char *pi_name, struct phyint_group *pg, uint_t ifindex,
384 (void) strlcpy(pi->pi_name, pi_name, sizeof (pi->pi_name));
596 phyint_inst_init_from_k(int af, char *pi_name)
616 AF_STR(af), pi_name);
629 (void) strlcpy(lifr.lifr_name, pi_name, sizeof (lifr.lifr_name));
711 pi = phyint_lookup(pi_name);
713 pi = phyint_create(pi_name, pg, ifindex, flags);
716 " unable to create phyint %s\n", pi_name);
757 "phyint inst %s\n", pi->pi_name);
1183 "usable\n", usablepi->pi_name, pg->pg_name);
1221 AF_STR(pii->pii_af), pi->pi_name);
1228 (void) strncpy(lifr.lifr_name, pi->pi_name, sizeof (lifr.lifr_name));
1334 logdebug("phyint_delete(%s)\n", pi->pi_name);
1465 "unique in group %s; offlining\n", pi->pi_name,
1518 "group %s; onlining\n", pi->pi_name, pi->pi_group->pg_name);
1562 AF_STR(pii->pii_af), pi->pi_name);
2929 errno = nvlist_add_string(nvl, IPMP_IF_NAME, pii->pii_phyint->pi_name);
3088 errno = nvlist_add_string(nvl, IPMP_IF_NAME, pi->pi_name);
3131 errno = nvlist_add_string(nvl, IPMP_IF_NAME, pi->pi_name);
3203 (void) strlcpy(ifs[i], pi->pi_name, LIFNAMSIZ);
3317 if ((retval = gettarginfo(pi->pi_v4, pi->pi_name, &targinfo4)) != 0 ||
3318 (retval = gettarginfo(pi->pi_v6, pi->pi_name, &targinfo6)) != 0)
3321 *ifinfopp = ipmp_ifinfo_create(pi->pi_name, pi->pi_group->pg_name,
3473 retval = getifinfo(pi->pi_name, &ifinfop);