Home
last modified time | relevance | path

Searched refs:candidate (Results 1 – 3 of 3) sorted by relevance

/net/rxrpc/
Dconn_client.c294 struct rxrpc_connection *conn, *candidate = NULL; in rxrpc_get_client_conn() local
346 candidate = rxrpc_alloc_client_connection(cp, gfp); in rxrpc_get_client_conn()
347 if (IS_ERR(candidate)) { in rxrpc_get_client_conn()
348 ret = PTR_ERR(candidate); in rxrpc_get_client_conn()
358 list_add_tail(&call->chan_wait_link, &candidate->waiting_calls); in rxrpc_get_client_conn()
361 call->conn = candidate; in rxrpc_get_client_conn()
362 call->security_ix = candidate->security_ix; in rxrpc_get_client_conn()
363 _leave(" = 0 [exclusive %d]", candidate->debug_id); in rxrpc_get_client_conn()
380 #define cmp(X) ((long)conn->params.X - (long)candidate->params.X) in rxrpc_get_client_conn()
397 &candidate->client_node, in rxrpc_get_client_conn()
[all …]
Dpeer_object.c331 struct rxrpc_peer *peer, *candidate; in rxrpc_lookup_peer() local
347 candidate = rxrpc_create_peer(local, srx, hash_key, gfp); in rxrpc_lookup_peer()
348 if (!candidate) { in rxrpc_lookup_peer()
361 &candidate->hash_link, hash_key); in rxrpc_lookup_peer()
366 kfree(candidate); in rxrpc_lookup_peer()
368 peer = candidate; in rxrpc_lookup_peer()
/net/batman-adv/
Ddistributed-arp-table.c467 struct batadv_orig_node *candidate, in batadv_is_orig_node_eligible() argument
474 if (!test_bit(BATADV_ORIG_CAPA_HAS_DAT, &candidate->capabilities)) in batadv_is_orig_node_eligible()
479 if (res[j].orig_node == candidate) in batadv_is_orig_node_eligible()
496 (batadv_compare_eth(candidate->orig, max_orig_node->orig) > 0)) in batadv_is_orig_node_eligible()