Home
last modified time | relevance | path

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

/net/rxrpc/
Dar-connection.c75 struct rxrpc_conn_bundle *bundle, *candidate; in rxrpc_get_bundle() local
106 candidate = rxrpc_alloc_bundle(gfp); in rxrpc_get_bundle()
107 if (!candidate) { in rxrpc_get_bundle()
112 candidate->key = key_get(key); in rxrpc_get_bundle()
113 candidate->service_id = service_id; in rxrpc_get_bundle()
132 bundle = candidate; in rxrpc_get_bundle()
133 candidate = NULL; in rxrpc_get_bundle()
162 kfree(candidate); in rxrpc_get_bundle()
435 struct rxrpc_connection *conn, *candidate; in rxrpc_connect_call() local
527 candidate = rxrpc_alloc_connection(gfp); in rxrpc_connect_call()
[all …]
Dar-call.c322 struct rxrpc_call *call, *candidate; in rxrpc_get_client_call() local
352 candidate = rxrpc_alloc_client_call(rx, trans, bundle, gfp); in rxrpc_get_client_call()
353 if (IS_ERR(candidate)) { in rxrpc_get_client_call()
354 _leave(" = %ld", PTR_ERR(candidate)); in rxrpc_get_client_call()
355 return candidate; in rxrpc_get_client_call()
358 candidate->user_call_ID = user_call_ID; in rxrpc_get_client_call()
359 __set_bit(RXRPC_CALL_HAS_USERID, &candidate->flags); in rxrpc_get_client_call()
378 call = candidate; in rxrpc_get_client_call()
379 candidate = NULL; in rxrpc_get_client_call()
406 rxrpc_put_call(candidate); in rxrpc_get_client_call()
[all …]
Dar-transport.c82 struct rxrpc_transport *trans, *candidate; in rxrpc_get_transport() local
102 candidate = rxrpc_alloc_transport(local, peer, gfp); in rxrpc_get_transport()
103 if (!candidate) { in rxrpc_get_transport()
116 trans = candidate; in rxrpc_get_transport()
117 candidate = NULL; in rxrpc_get_transport()
146 kfree(candidate); in rxrpc_get_transport()
Dar-peer.c108 struct rxrpc_peer *peer, *candidate; in rxrpc_get_peer() local
139 candidate = rxrpc_alloc_peer(srx, gfp); in rxrpc_get_peer()
140 if (!candidate) { in rxrpc_get_peer()
158 peer = candidate; in rxrpc_get_peer()
159 candidate = NULL; in rxrpc_get_peer()
188 kfree(candidate); in rxrpc_get_peer()
/net/batman-adv/
Ddistributed-arp-table.c452 struct batadv_orig_node *candidate, in batadv_is_orig_node_eligible() argument
459 if (!test_bit(BATADV_ORIG_CAPA_HAS_DAT, &candidate->capabilities)) in batadv_is_orig_node_eligible()
464 if (res[j].orig_node == candidate) in batadv_is_orig_node_eligible()
481 (batadv_compare_eth(candidate->orig, max_orig_node->orig) > 0)) in batadv_is_orig_node_eligible()