Lines Matching refs:epb
712 struct sctp_ep_common *epb; in __sctp_hash_endpoint() local
715 epb = &ep->base; in __sctp_hash_endpoint()
717 epb->hashent = sctp_ep_hashfn(net, epb->bind_addr.port); in __sctp_hash_endpoint()
718 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_hash_endpoint()
721 hlist_add_head(&epb->node, &head->chain); in __sctp_hash_endpoint()
738 struct sctp_ep_common *epb; in __sctp_unhash_endpoint() local
740 epb = &ep->base; in __sctp_unhash_endpoint()
742 epb->hashent = sctp_ep_hashfn(net, epb->bind_addr.port); in __sctp_unhash_endpoint()
744 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_unhash_endpoint()
747 hlist_del_init(&epb->node); in __sctp_unhash_endpoint()
764 struct sctp_ep_common *epb; in __sctp_rcv_lookup_endpoint() local
771 sctp_for_each_hentry(epb, &head->chain) { in __sctp_rcv_lookup_endpoint()
772 ep = sctp_ep(epb); in __sctp_rcv_lookup_endpoint()
789 struct sctp_ep_common *epb; in __sctp_hash_established() local
792 epb = &asoc->base; in __sctp_hash_established()
795 epb->hashent = sctp_assoc_hashfn(net, epb->bind_addr.port, in __sctp_hash_established()
798 head = &sctp_assoc_hashtable[epb->hashent]; in __sctp_hash_established()
801 hlist_add_head(&epb->node, &head->chain); in __sctp_hash_established()
821 struct sctp_ep_common *epb; in __sctp_unhash_established() local
823 epb = &asoc->base; in __sctp_unhash_established()
825 epb->hashent = sctp_assoc_hashfn(net, epb->bind_addr.port, in __sctp_unhash_established()
828 head = &sctp_assoc_hashtable[epb->hashent]; in __sctp_unhash_established()
831 hlist_del_init(&epb->node); in __sctp_unhash_established()
854 struct sctp_ep_common *epb; in __sctp_lookup_association() local
866 sctp_for_each_hentry(epb, &head->chain) { in __sctp_lookup_association()
867 asoc = sctp_assoc(epb); in __sctp_lookup_association()