Lines Matching refs:le

733 		struct tipc_link_entry *le = &node->links[i];  in tipc_node_clear_links()  local
735 if (le->link) { in tipc_node_clear_links()
736 kfree(le->link); in tipc_node_clear_links()
737 le->link = NULL; in tipc_node_clear_links()
786 struct tipc_link_entry *le; in tipc_node_timeout() local
813 le = &n->links[bearer_id]; in tipc_node_timeout()
814 if (le->link) { in tipc_node_timeout()
815 spin_lock_bh(&le->lock); in tipc_node_timeout()
817 tipc_node_calculate_timer(n, le->link); in tipc_node_timeout()
818 rc = tipc_link_timeout(le->link, &xmitq); in tipc_node_timeout()
819 spin_unlock_bh(&le->lock); in tipc_node_timeout()
823 tipc_bearer_xmit(n->net, bearer_id, &xmitq, &le->maddr, n); in tipc_node_timeout()
974 struct tipc_link_entry *le = &n->links[*bearer_id]; in __tipc_node_link_down() local
1023 node_lost_contact(n, &le->inputq); in __tipc_node_link_down()
1046 struct tipc_link_entry *le = &n->links[bearer_id]; in tipc_node_link_down() local
1048 struct tipc_link *l = le->link; in tipc_node_link_down()
1067 le->link = NULL; in tipc_node_link_down()
1076 tipc_sk_rcv(n->net, &le->inputq); in tipc_node_link_down()
1158 struct tipc_link_entry *le; in tipc_node_check_dest() local
1194 le = &n->links[b->identity]; in tipc_node_check_dest()
1197 l = le->link; in tipc_node_check_dest()
1199 addr_match = l && !memcmp(&le->maddr, maddr, sizeof(*maddr)); in tipc_node_check_dest()
1280 &le->inputq, in tipc_node_check_dest()
1290 le->link = l; in tipc_node_check_dest()
1299 memcpy(&le->maddr, maddr, sizeof(*maddr)); in tipc_node_check_dest()
1684 struct tipc_link_entry *le = NULL; in tipc_node_xmit() local
1725 le = &n->links[bearer_id]; in tipc_node_xmit()
1726 spin_lock_bh(&le->lock); in tipc_node_xmit()
1727 rc = tipc_link_xmit(le->link, list, &xmitq); in tipc_node_xmit()
1728 spin_unlock_bh(&le->lock); in tipc_node_xmit()
1734 tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr, n); in tipc_node_xmit()
1862 struct tipc_link_entry *le; in tipc_node_bc_rcv() local
1880 le = &n->links[bearer_id]; in tipc_node_bc_rcv()
1887 tipc_link_build_state_msg(le->link, &xmitq); in tipc_node_bc_rcv()
1892 tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr, n); in tipc_node_bc_rcv()
2074 struct tipc_link_entry *le; in tipc_rcv() local
2126 le = &n->links[bearer_id]; in tipc_rcv()
2143 spin_lock_bh(&le->lock); in tipc_rcv()
2144 if (le->link) { in tipc_rcv()
2145 rc = tipc_link_rcv(le->link, skb, &xmitq); in tipc_rcv()
2148 spin_unlock_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()
2180 if (!skb_queue_empty(&le->inputq)) in tipc_rcv()
2181 tipc_sk_rcv(net, &le->inputq); in tipc_rcv()
2184 tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr, n); in tipc_rcv()
2559 struct tipc_link_entry *le; in tipc_nl_node_reset_link_stats() local
2601 le = &node->links[bearer_id]; in tipc_nl_node_reset_link_stats()
2603 spin_lock_bh(&le->lock); in tipc_nl_node_reset_link_stats()
2606 spin_unlock_bh(&le->lock); in tipc_nl_node_reset_link_stats()
2611 spin_unlock_bh(&le->lock); in tipc_nl_node_reset_link_stats()