Home
last modified time | relevance | path

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

/net/rxrpc/
Dconn_client.c281 struct rxrpc_connection *conn, *candidate = NULL; in rxrpc_get_client_conn() local
340 candidate = rxrpc_alloc_client_connection(cp, gfp); in rxrpc_get_client_conn()
341 if (IS_ERR(candidate)) { in rxrpc_get_client_conn()
342 ret = PTR_ERR(candidate); in rxrpc_get_client_conn()
352 list_add(&call->chan_wait_link, &candidate->waiting_calls); in rxrpc_get_client_conn()
355 call->conn = candidate; in rxrpc_get_client_conn()
356 call->security = candidate->security; in rxrpc_get_client_conn()
357 call->security_ix = candidate->security_ix; in rxrpc_get_client_conn()
358 call->service_id = candidate->service_id; in rxrpc_get_client_conn()
359 _leave(" = 0 [exclusive %d]", candidate->debug_id); in rxrpc_get_client_conn()
[all …]
Dpeer_object.c333 struct rxrpc_peer *peer, *candidate; in rxrpc_lookup_peer() local
350 candidate = rxrpc_create_peer(rx, local, srx, hash_key, gfp); in rxrpc_lookup_peer()
351 if (!candidate) { in rxrpc_lookup_peer()
364 &candidate->hash_link, hash_key); in rxrpc_lookup_peer()
365 list_add_tail(&candidate->keepalive_link, in rxrpc_lookup_peer()
372 rxrpc_free_peer(candidate); in rxrpc_lookup_peer()
374 peer = candidate; in rxrpc_lookup_peer()
/net/batman-adv/
Ddistributed-arp-table.c511 struct batadv_orig_node *candidate, in batadv_is_orig_node_eligible() argument
518 if (!test_bit(BATADV_ORIG_CAPA_HAS_DAT, &candidate->capabilities)) in batadv_is_orig_node_eligible()
523 if (res[j].orig_node == candidate) in batadv_is_orig_node_eligible()
540 batadv_compare_eth(candidate->orig, max_orig_node->orig)) in batadv_is_orig_node_eligible()
/net/netfilter/
Dnf_tables_api.c2240 const struct nft_expr_type *type, *candidate = NULL; in __nft_expr_type_get() local
2244 if (!type->family && !candidate) in __nft_expr_type_get()
2245 candidate = type; in __nft_expr_type_get()
2247 candidate = type; in __nft_expr_type_get()
2250 return candidate; in __nft_expr_type_get()