Lines Matching defs:dying
7597 ipsa_t *peer_assoc, *dying;
7603 /* "dying" contains the SA that has a peer. */
7604 dying = haspeerlist->ipsa;
7605 haspeer = (dying->ipsa_haspeer);
7614 bucket = INBOUND_BUCKET(sp, dying->ipsa_spi);
7617 dying->ipsa_otherspi);
7620 if (dying->ipsa_addrfam == AF_INET6) {
7622 *((in6_addr_t *)&dying->
7626 *((ipaddr_t *)&dying->
7629 } else if (dying->ipsa_addrfam == AF_INET6) {
7631 *((in6_addr_t *)&dying->
7635 *((ipaddr_t *)&dying->
7648 dying->ipsa_spi, dying->ipsa_srcaddr,
7649 dying->ipsa_dstaddr, dying->ipsa_addrfam);
7652 dying->ipsa_otherspi, dying->ipsa_dstaddr,
7653 dying->ipsa_srcaddr, dying->ipsa_addrfam);
7659 mutex_enter(&dying->ipsa_lock);
7669 dying->ipsa_otherspi = 0;
7670 dying->ipsa_flags &= ~IPSA_F_PAIRED;
7680 peer_assoc->ipsa_state = dying->ipsa_state;
7682 if (dying->ipsa_state == IPSA_STATE_DEAD)
7685 mutex_exit(&dying->ipsa_lock);
7689 IPSA_REFRELE(dying);