Searched refs:lc (Results 1 – 2 of 2) sorted by relevance
/net/rds/ |
D | loop.c | 137 struct rds_loop_connection *lc; in rds_loop_conn_alloc() local 140 lc = kzalloc(sizeof(struct rds_loop_connection), gfp); in rds_loop_conn_alloc() 141 if (!lc) in rds_loop_conn_alloc() 144 INIT_LIST_HEAD(&lc->loop_node); in rds_loop_conn_alloc() 145 lc->conn = conn; in rds_loop_conn_alloc() 146 conn->c_transport_data = lc; in rds_loop_conn_alloc() 149 list_add_tail(&lc->loop_node, &loop_conns); in rds_loop_conn_alloc() 157 struct rds_loop_connection *lc = arg; in rds_loop_conn_free() local 160 rdsdebug("lc %p\n", lc); in rds_loop_conn_free() 162 list_del(&lc->loop_node); in rds_loop_conn_free() [all …]
|
/net/tipc/ |
D | netlink_compat.c | 711 struct tipc_link_config *lc) in __tipc_add_link_prop() argument 715 return nla_put_u32(skb, TIPC_NLA_PROP_PRIO, ntohl(lc->value)); in __tipc_add_link_prop() 717 return nla_put_u32(skb, TIPC_NLA_PROP_TOL, ntohl(lc->value)); in __tipc_add_link_prop() 719 return nla_put_u32(skb, TIPC_NLA_PROP_WIN, ntohl(lc->value)); in __tipc_add_link_prop() 730 struct tipc_link_config *lc; in tipc_nl_compat_media_set() local 732 lc = (struct tipc_link_config *)TLV_DATA(msg->req); in tipc_nl_compat_media_set() 738 if (nla_put_string(skb, TIPC_NLA_MEDIA_NAME, lc->name)) in tipc_nl_compat_media_set() 745 __tipc_add_link_prop(skb, msg, lc); in tipc_nl_compat_media_set() 757 struct tipc_link_config *lc; in tipc_nl_compat_bearer_set() local 759 lc = (struct tipc_link_config *)TLV_DATA(msg->req); in tipc_nl_compat_bearer_set() [all …]
|