Lines Matching defs:wi
570 struct sctp_laddr *wi;
573 wi = SCTP_ZONE_GET(SCTP_BASE_INFO(ipi_zone_laddr), struct sctp_laddr);
574 if (wi == NULL) {
585 memset(wi, 0, sizeof(*wi));
586 (void)SCTP_GETTIME_TIMEVAL(&wi->start_time);
587 wi->ifa = sctp_ifap;
588 wi->action = SCTP_ADD_IP_ADDRESS;
591 LIST_INSERT_HEAD(&SCTP_BASE_INFO(addr_wq), wi, sctp_nxt_addr);
661 struct sctp_laddr *wi;
663 wi = SCTP_ZONE_GET(SCTP_BASE_INFO(ipi_zone_laddr), struct sctp_laddr);
664 if (wi == NULL) {
676 memset(wi, 0, sizeof(*wi));
677 (void)SCTP_GETTIME_TIMEVAL(&wi->start_time);
678 wi->ifa = sctp_ifap;
679 wi->action = SCTP_DEL_IP_ADDRESS;
685 LIST_INSERT_HEAD(&SCTP_BASE_INFO(addr_wq), wi, sctp_nxt_addr);
5715 struct sctp_laddr *wi, *nwi;
5764 LIST_FOREACH_SAFE(wi, &SCTP_BASE_INFO(addr_wq), sctp_nxt_addr, nwi) {
5765 LIST_REMOVE(wi, sctp_nxt_addr);
5767 if (wi->action == SCTP_DEL_IP_ADDRESS) {
5768 SCTP_FREE(wi->ifa, SCTP_M_IFA);
5770 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_laddr), wi);