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
1198 le = &n->links[b->identity]; in tipc_node_check_dest()
1201 l = le->link; in tipc_node_check_dest()
1203 addr_match = l && !memcmp(&le->maddr, maddr, sizeof(*maddr)); in tipc_node_check_dest()
1284 &le->inputq, in tipc_node_check_dest()
1294 le->link = l; in tipc_node_check_dest()
1303 memcpy(&le->maddr, maddr, sizeof(*maddr)); in tipc_node_check_dest()
1688 struct tipc_link_entry *le = NULL; in tipc_node_xmit() local
1735 le = &n->links[bearer_id]; in tipc_node_xmit()
1736 spin_lock_bh(&le->lock); in tipc_node_xmit()
1737 rc = tipc_link_xmit(le->link, list, &xmitq); in tipc_node_xmit()
1738 spin_unlock_bh(&le->lock); in tipc_node_xmit()
1744 tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr, n); in tipc_node_xmit()
1872 struct tipc_link_entry *le; in tipc_node_bc_rcv() local
1890 le = &n->links[bearer_id]; in tipc_node_bc_rcv()
1897 tipc_link_build_state_msg(le->link, &xmitq); in tipc_node_bc_rcv()
1902 tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr, n); in tipc_node_bc_rcv()
2084 struct tipc_link_entry *le; in tipc_rcv() local
2136 le = &n->links[bearer_id]; in tipc_rcv()
2153 spin_lock_bh(&le->lock); in tipc_rcv()
2154 if (le->link) { in tipc_rcv()
2155 rc = tipc_link_rcv(le->link, skb, &xmitq); in tipc_rcv()
2158 spin_unlock_bh(&le->lock); in tipc_rcv()
2168 if (le->link) { in tipc_rcv()
2169 rc = tipc_link_rcv(le->link, skb, &xmitq); in tipc_rcv()
2190 if (!skb_queue_empty(&le->inputq)) in tipc_rcv()
2191 tipc_sk_rcv(net, &le->inputq); in tipc_rcv()
2194 tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr, n); in tipc_rcv()
2569 struct tipc_link_entry *le; in tipc_nl_node_reset_link_stats() local
2611 le = &node->links[bearer_id]; in tipc_nl_node_reset_link_stats()
2613 spin_lock_bh(&le->lock); in tipc_nl_node_reset_link_stats()
2616 spin_unlock_bh(&le->lock); in tipc_nl_node_reset_link_stats()
2621 spin_unlock_bh(&le->lock); in tipc_nl_node_reset_link_stats()