Searched refs:sctp_ipif (Results 1 – 3 of 3) sorted by relevance
131 #define SCTP_IPIF_REFHOLD(sctp_ipif) { \ argument132 rw_enter(&(sctp_ipif)->sctp_ipif_lock, RW_WRITER); \133 (sctp_ipif)->sctp_ipif_refcnt++; \134 rw_exit(&(sctp_ipif)->sctp_ipif_lock); \137 #define SCTP_IPIF_REFRELE(sctp_ipif) { \ argument138 rw_enter(&(sctp_ipif)->sctp_ipif_lock, RW_WRITER); \139 ASSERT((sctp_ipif)->sctp_ipif_refcnt != 0); \140 if (--(sctp_ipif)->sctp_ipif_refcnt == 0 && \141 (sctp_ipif)->sctp_ipif_state == SCTP_IPIFS_CONDEMNED) { \142 rw_exit(&(sctp_ipif)->sctp_ipif_lock); \[all …]
110 sctp_ipif_inactive(sctp_ipif_t *sctp_ipif) in sctp_ipif_inactive() argument115 sctp_stack_t *sctps = sctp_ipif->sctp_ipif_ill-> in sctp_ipif_inactive()121 hindex = SCTP_IPIF_ADDR_HASH(sctp_ipif->sctp_ipif_saddr, in sctp_ipif_inactive()122 sctp_ipif->sctp_ipif_isv6); in sctp_ipif_inactive()124 sctp_ill = sctp_ipif->sctp_ipif_ill; in sctp_ipif_inactive()127 if (sctp_ipif->sctp_ipif_state != SCTP_IPIFS_CONDEMNED || in sctp_ipif_inactive()128 sctp_ipif->sctp_ipif_refcnt != 0) { in sctp_ipif_inactive()134 sctp_ipif); in sctp_ipif_inactive()137 rw_destroy(&sctp_ipif->sctp_ipif_lock); in sctp_ipif_inactive()138 kmem_free(sctp_ipif, sizeof (sctp_ipif_t)); in sctp_ipif_inactive()[all …]
699 sctp_ipif_t *sctp_ipif; in sctp_snmp_get_mib2() local702 sctp_ipif = obj->saddr_ipifp; in sctp_snmp_get_mib2()703 addr = sctp_ipif->sctp_ipif_saddr; in sctp_snmp_get_mib2()