Lines Matching defs:conn
94 * - on connection buildup to associate a conn with its maps
183 * Put the conn on its local map's list. This is called when the conn is
186 void rds_cong_add_conn(struct rds_connection *conn)
190 rdsdebug("conn %p now on map %p\n", conn, conn->c_lcong);
192 list_add_tail(&conn->c_map_item, &conn->c_lcong->m_conn_list);
196 void rds_cong_remove_conn(struct rds_connection *conn)
200 rdsdebug("removing conn %p from map %p\n", conn, conn->c_lcong);
202 list_del_init(&conn->c_map_item);
206 int rds_cong_get_maps(struct rds_connection *conn)
208 conn->c_lcong = rds_cong_from_addr(&conn->c_laddr);
209 conn->c_fcong = rds_cong_from_addr(&conn->c_faddr);
211 if (!(conn->c_lcong && conn->c_fcong))
219 struct rds_connection *conn;
224 list_for_each_entry(conn, &map->m_conn_list, c_map_item) {
225 struct rds_conn_path *cp = &conn->c_path[0];
228 if (!test_and_set_bit(0, &conn->c_map_queued) &&
418 struct rds_message *rds_cong_update_alloc(struct rds_connection *conn)
420 struct rds_cong_map *map = conn->c_lcong;