Lines Matching refs:le

751 		struct tipc_link_entry *le = &node->links[i];  in tipc_node_clear_links()  local
753 if (le->link) { in tipc_node_clear_links()
754 kfree(le->link); in tipc_node_clear_links()
755 le->link = NULL; in tipc_node_clear_links()
804 struct tipc_link_entry *le; in tipc_node_timeout() local
831 le = &n->links[bearer_id]; in tipc_node_timeout()
832 if (le->link) { in tipc_node_timeout()
833 spin_lock_bh(&le->lock); in tipc_node_timeout()
835 tipc_node_calculate_timer(n, le->link); in tipc_node_timeout()
836 rc = tipc_link_timeout(le->link, &xmitq); in tipc_node_timeout()
837 spin_unlock_bh(&le->lock); in tipc_node_timeout()
841 tipc_bearer_xmit(n->net, bearer_id, &xmitq, &le->maddr, n); in tipc_node_timeout()
992 struct tipc_link_entry *le = &n->links[*bearer_id]; in __tipc_node_link_down() local
1041 node_lost_contact(n, &le->inputq); in __tipc_node_link_down()
1064 struct tipc_link_entry *le = &n->links[bearer_id]; in tipc_node_link_down() local
1066 struct tipc_link *l = le->link; in tipc_node_link_down()
1085 le->link = NULL; in tipc_node_link_down()
1094 tipc_sk_rcv(n->net, &le->inputq); in tipc_node_link_down()
1176 struct tipc_link_entry *le; in tipc_node_check_dest() local
1197 le = &n->links[b->identity]; in tipc_node_check_dest()
1200 l = le->link; in tipc_node_check_dest()
1203 addr_match = l && !memcmp(&le->maddr, maddr, sizeof(*maddr)); in tipc_node_check_dest()
1285 &le->inputq, in tipc_node_check_dest()
1296 le->link = l; in tipc_node_check_dest()
1305 memcpy(&le->maddr, maddr, sizeof(*maddr)); in tipc_node_check_dest()
1690 struct tipc_link_entry *le = NULL; in tipc_node_xmit() local
1737 le = &n->links[bearer_id]; in tipc_node_xmit()
1738 spin_lock_bh(&le->lock); in tipc_node_xmit()
1739 rc = tipc_link_xmit(le->link, list, &xmitq); in tipc_node_xmit()
1740 spin_unlock_bh(&le->lock); in tipc_node_xmit()
1746 tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr, n); in tipc_node_xmit()
1874 struct tipc_link_entry *le; in tipc_node_bc_rcv() local
1892 le = &n->links[bearer_id]; in tipc_node_bc_rcv()
1899 tipc_link_build_state_msg(le->link, &xmitq); in tipc_node_bc_rcv()
1904 tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr, n); in tipc_node_bc_rcv()
2086 struct tipc_link_entry *le; in tipc_rcv() local
2139 le = &n->links[bearer_id]; in tipc_rcv()
2156 spin_lock_bh(&le->lock); in tipc_rcv()
2157 if (le->link) { in tipc_rcv()
2158 rc = tipc_link_rcv(le->link, skb, &xmitq); in tipc_rcv()
2161 spin_unlock_bh(&le->lock); in tipc_rcv()
2171 if (le->link) { in tipc_rcv()
2172 rc = tipc_link_rcv(le->link, skb, &xmitq); in tipc_rcv()
2193 if (!skb_queue_empty(&le->inputq)) in tipc_rcv()
2194 tipc_sk_rcv(net, &le->inputq); in tipc_rcv()
2197 tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr, n); in tipc_rcv()
2572 struct tipc_link_entry *le; in tipc_nl_node_reset_link_stats() local
2614 le = &node->links[bearer_id]; in tipc_nl_node_reset_link_stats()
2616 spin_lock_bh(&le->lock); in tipc_nl_node_reset_link_stats()
2619 spin_unlock_bh(&le->lock); in tipc_nl_node_reset_link_stats()
2624 spin_unlock_bh(&le->lock); in tipc_nl_node_reset_link_stats()