Home
last modified time | relevance | path

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

/net/rxrpc/
Dar-connection.c71 struct rxrpc_conn_bundle *bundle, *candidate; in rxrpc_get_bundle() local
102 candidate = rxrpc_alloc_bundle(gfp); in rxrpc_get_bundle()
103 if (!candidate) { in rxrpc_get_bundle()
108 candidate->key = key_get(key); in rxrpc_get_bundle()
109 candidate->service_id = service_id; in rxrpc_get_bundle()
128 bundle = candidate; in rxrpc_get_bundle()
129 candidate = NULL; in rxrpc_get_bundle()
158 kfree(candidate); in rxrpc_get_bundle()
429 struct rxrpc_connection *conn, *candidate; in rxrpc_connect_call() local
521 candidate = rxrpc_alloc_connection(gfp); in rxrpc_connect_call()
[all …]
Dar-call.c153 struct rxrpc_call *call, *candidate; in rxrpc_get_client_call() local
183 candidate = rxrpc_alloc_client_call(rx, trans, bundle, gfp); in rxrpc_get_client_call()
184 if (IS_ERR(candidate)) { in rxrpc_get_client_call()
185 _leave(" = %ld", PTR_ERR(candidate)); in rxrpc_get_client_call()
186 return candidate; in rxrpc_get_client_call()
189 candidate->user_call_ID = user_call_ID; in rxrpc_get_client_call()
190 __set_bit(RXRPC_CALL_HAS_USERID, &candidate->flags); in rxrpc_get_client_call()
209 call = candidate; in rxrpc_get_client_call()
210 candidate = NULL; in rxrpc_get_client_call()
237 rxrpc_put_call(candidate); in rxrpc_get_client_call()
[all …]
Dar-transport.c78 struct rxrpc_transport *trans, *candidate; in rxrpc_get_transport() local
98 candidate = rxrpc_alloc_transport(local, peer, gfp); in rxrpc_get_transport()
99 if (!candidate) { in rxrpc_get_transport()
112 trans = candidate; in rxrpc_get_transport()
113 candidate = NULL; in rxrpc_get_transport()
142 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.c418 struct batadv_orig_node *candidate, in batadv_is_orig_node_eligible() argument
426 if (res[j].orig_node == candidate) in batadv_is_orig_node_eligible()
443 (batadv_compare_eth(candidate->orig, max_orig_node->orig) > 0)) in batadv_is_orig_node_eligible()