Lines Matching refs:le
753 struct tipc_link_entry *le = &node->links[i]; in tipc_node_clear_links() local
755 if (le->link) { in tipc_node_clear_links()
756 kfree(le->link); in tipc_node_clear_links()
757 le->link = NULL; in tipc_node_clear_links()
806 struct tipc_link_entry *le; in tipc_node_timeout() local
833 le = &n->links[bearer_id]; in tipc_node_timeout()
834 if (le->link) { in tipc_node_timeout()
835 spin_lock_bh(&le->lock); in tipc_node_timeout()
837 tipc_node_calculate_timer(n, le->link); in tipc_node_timeout()
838 rc = tipc_link_timeout(le->link, &xmitq); in tipc_node_timeout()
839 spin_unlock_bh(&le->lock); in tipc_node_timeout()
843 tipc_bearer_xmit(n->net, bearer_id, &xmitq, &le->maddr, n); in tipc_node_timeout()
994 struct tipc_link_entry *le = &n->links[*bearer_id]; in __tipc_node_link_down() local
1043 node_lost_contact(n, &le->inputq); in __tipc_node_link_down()
1066 struct tipc_link_entry *le = &n->links[bearer_id]; in tipc_node_link_down() local
1068 struct tipc_link *l = le->link; in tipc_node_link_down()
1087 le->link = NULL; in tipc_node_link_down()
1096 tipc_sk_rcv(n->net, &le->inputq); in tipc_node_link_down()
1178 struct tipc_link_entry *le; in tipc_node_check_dest() local
1199 le = &n->links[b->identity]; in tipc_node_check_dest()
1202 l = le->link; in tipc_node_check_dest()
1205 addr_match = l && !memcmp(&le->maddr, maddr, sizeof(*maddr)); in tipc_node_check_dest()
1287 &le->inputq, in tipc_node_check_dest()
1298 le->link = l; in tipc_node_check_dest()
1307 memcpy(&le->maddr, maddr, sizeof(*maddr)); in tipc_node_check_dest()
1692 struct tipc_link_entry *le = NULL; in tipc_node_xmit() local
1739 le = &n->links[bearer_id]; in tipc_node_xmit()
1740 spin_lock_bh(&le->lock); in tipc_node_xmit()
1741 rc = tipc_link_xmit(le->link, list, &xmitq); in tipc_node_xmit()
1742 spin_unlock_bh(&le->lock); in tipc_node_xmit()
1748 tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr, n); in tipc_node_xmit()
1876 struct tipc_link_entry *le; in tipc_node_bc_rcv() local
1894 le = &n->links[bearer_id]; in tipc_node_bc_rcv()
1901 tipc_link_build_state_msg(le->link, &xmitq); in tipc_node_bc_rcv()
1906 tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr, n); in tipc_node_bc_rcv()
2088 struct tipc_link_entry *le; in tipc_rcv() local
2140 le = &n->links[bearer_id]; in tipc_rcv()
2157 spin_lock_bh(&le->lock); in tipc_rcv()
2158 if (le->link) { in tipc_rcv()
2159 rc = tipc_link_rcv(le->link, skb, &xmitq); in tipc_rcv()
2162 spin_unlock_bh(&le->lock); in tipc_rcv()
2172 if (le->link) { in tipc_rcv()
2173 rc = tipc_link_rcv(le->link, skb, &xmitq); in tipc_rcv()
2194 if (!skb_queue_empty(&le->inputq)) in tipc_rcv()
2195 tipc_sk_rcv(net, &le->inputq); in tipc_rcv()
2198 tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr, n); in tipc_rcv()
2573 struct tipc_link_entry *le; in tipc_nl_node_reset_link_stats() local
2615 le = &node->links[bearer_id]; in tipc_nl_node_reset_link_stats()
2617 spin_lock_bh(&le->lock); in tipc_nl_node_reset_link_stats()
2620 spin_unlock_bh(&le->lock); in tipc_nl_node_reset_link_stats()
2625 spin_unlock_bh(&le->lock); in tipc_nl_node_reset_link_stats()