• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/rxrpc/

Lines Matching refs:candidate

71 	struct rxrpc_conn_bundle *bundle, *candidate;
100 /* not yet present - create a candidate for a new record and then
102 candidate = rxrpc_alloc_bundle(gfp);
103 if (!candidate) {
108 candidate->key = key_get(key);
109 candidate->service_id = service_id;
128 bundle = candidate;
129 candidate = NULL;
158 kfree(candidate);
344 /* not yet present - create a candidate for a new connection
429 struct rxrpc_connection *conn, *candidate;
519 /* not yet present - create a candidate for a new connection and then
521 candidate = rxrpc_alloc_connection(gfp);
522 if (!candidate) {
527 candidate->trans = trans;
528 candidate->bundle = bundle;
529 candidate->service_id = bundle->service_id;
530 candidate->epoch = rxrpc_epoch;
531 candidate->in_clientflag = 0;
532 candidate->out_clientflag = RXRPC_CLIENT_INITIATED;
533 candidate->cid = 0;
534 candidate->state = RXRPC_CONN_CLIENT;
535 candidate->avail_calls = RXRPC_MAXCALLS;
536 candidate->security_level = rx->min_sec_level;
537 candidate->key = key_get(bundle->key);
539 ret = rxrpc_init_client_conn_security(candidate);
541 key_put(candidate->key);
542 kfree(candidate);
548 list_add_tail(&candidate->link, &rxrpc_connections);
553 list_add(&candidate->bundle_link, &bundle->unused_conns);
559 candidate->debug_id, candidate->trans->debug_id);
561 rxrpc_assign_connection_id(candidate);
562 if (candidate->security)
563 candidate->security->prime_packet_security(candidate);
565 /* leave the candidate lurking in zombie mode attached to the
567 rxrpc_put_connection(candidate);
568 candidate = NULL;
620 struct rxrpc_connection *conn, *candidate = NULL;
655 /* not yet present - create a candidate for a new record and then
657 candidate = rxrpc_alloc_connection(gfp);
658 if (!candidate) {
663 candidate->trans = trans;
664 candidate->epoch = hdr->epoch;
665 candidate->cid = hdr->cid & cpu_to_be32(RXRPC_CIDMASK);
666 candidate->service_id = hdr->serviceId;
667 candidate->security_ix = hdr->securityIndex;
668 candidate->in_clientflag = RXRPC_CLIENT_INITIATED;
669 candidate->out_clientflag = 0;
670 candidate->real_conn_id = conn_id;
671 candidate->state = RXRPC_CONN_SERVER;
672 if (candidate->service_id)
673 candidate->state = RXRPC_CONN_SERVER_UNSECURED;
695 /* we can now add the new candidate to the list */
696 conn = candidate;
697 candidate = NULL;
734 kfree(candidate);
738 kfree(candidate);