Lines Matching refs:epb
697 struct sctp_ep_common *epb; in __sctp_hash_endpoint() local
700 epb = &ep->base; in __sctp_hash_endpoint()
702 epb->hashent = sctp_ep_hashfn(epb->bind_addr.port); in __sctp_hash_endpoint()
703 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_hash_endpoint()
706 hlist_add_head(&epb->node, &head->chain); in __sctp_hash_endpoint()
722 struct sctp_ep_common *epb; in __sctp_unhash_endpoint() local
724 epb = &ep->base; in __sctp_unhash_endpoint()
726 if (hlist_unhashed(&epb->node)) in __sctp_unhash_endpoint()
729 epb->hashent = sctp_ep_hashfn(epb->bind_addr.port); in __sctp_unhash_endpoint()
731 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_unhash_endpoint()
734 __hlist_del(&epb->node); in __sctp_unhash_endpoint()
750 struct sctp_ep_common *epb; in __sctp_rcv_lookup_endpoint() local
758 sctp_for_each_hentry(epb, node, &head->chain) { in __sctp_rcv_lookup_endpoint()
759 ep = sctp_ep(epb); in __sctp_rcv_lookup_endpoint()
775 struct sctp_ep_common *epb; in __sctp_hash_established() local
778 epb = &asoc->base; in __sctp_hash_established()
781 epb->hashent = sctp_assoc_hashfn(epb->bind_addr.port, asoc->peer.port); in __sctp_hash_established()
783 head = &sctp_assoc_hashtable[epb->hashent]; in __sctp_hash_established()
786 hlist_add_head(&epb->node, &head->chain); in __sctp_hash_established()
805 struct sctp_ep_common *epb; in __sctp_unhash_established() local
807 epb = &asoc->base; in __sctp_unhash_established()
809 epb->hashent = sctp_assoc_hashfn(epb->bind_addr.port, in __sctp_unhash_established()
812 head = &sctp_assoc_hashtable[epb->hashent]; in __sctp_unhash_established()
815 __hlist_del(&epb->node); in __sctp_unhash_established()
837 struct sctp_ep_common *epb; in __sctp_lookup_association() local
849 sctp_for_each_hentry(epb, node, &head->chain) { in __sctp_lookup_association()
850 asoc = sctp_assoc(epb); in __sctp_lookup_association()