Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 2 of 2) sorted by relevance

/net/dccp/
Dackvec.c131 static void dccp_ackvec_update_old(struct dccp_ackvec *av, s64 distance, in dccp_ackvec_update_old() argument
136 BUG_ON(distance > 0); in dccp_ackvec_update_old()
143 if (distance + runlen >= 0) { in dccp_ackvec_update_old()
167 distance += runlen + 1; in dccp_ackvec_update_old()
/net/rxrpc/
Dconn_client.c226 int id_cursor, id, distance, limit; in rxrpc_may_reuse_conn() local
247 distance = id - id_cursor; in rxrpc_may_reuse_conn()
248 if (distance < 0) in rxrpc_may_reuse_conn()
249 distance = -distance; in rxrpc_may_reuse_conn()
251 if (distance > limit) in rxrpc_may_reuse_conn()