• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/rxrpc/

Lines Matching refs:candidate

70 	struct rxrpc_conn_bundle *bundle, *candidate;
99 /* not yet present - create a candidate for a new record and then
101 candidate = rxrpc_alloc_bundle(gfp);
102 if (!candidate) {
107 candidate->key = key_get(key);
108 candidate->service_id = service_id;
127 bundle = candidate;
128 candidate = NULL;
157 kfree(candidate);
343 /* not yet present - create a candidate for a new connection
428 struct rxrpc_connection *conn, *candidate;
508 /* not yet present - create a candidate for a new connection and then
510 candidate = rxrpc_alloc_connection(gfp);
511 if (IS_ERR(candidate)) {
512 _leave(" = %ld", PTR_ERR(candidate));
513 return PTR_ERR(candidate);
516 candidate->trans = trans;
517 candidate->bundle = bundle;
518 candidate->service_id = bundle->service_id;
519 candidate->epoch = rxrpc_epoch;
520 candidate->in_clientflag = 0;
521 candidate->out_clientflag = RXRPC_CLIENT_INITIATED;
522 candidate->cid = 0;
523 candidate->state = RXRPC_CONN_CLIENT;
524 candidate->avail_calls = RXRPC_MAXCALLS;
525 candidate->security_level = rx->min_sec_level;
526 candidate->key = key_get(bundle->key);
528 ret = rxrpc_init_client_conn_security(candidate);
530 key_put(candidate->key);
531 kfree(candidate);
537 list_add_tail(&candidate->link, &rxrpc_connections);
542 list_add(&candidate->bundle_link, &bundle->unused_conns);
548 candidate->debug_id, candidate->trans->debug_id);
550 rxrpc_assign_connection_id(candidate);
551 if (candidate->security)
552 candidate->security->prime_packet_security(candidate);
554 /* leave the candidate lurking in zombie mode attached to the
556 rxrpc_put_connection(candidate);
557 candidate = NULL;
609 struct rxrpc_connection *conn, *candidate = NULL;
644 /* not yet present - create a candidate for a new record and then
646 candidate = rxrpc_alloc_connection(gfp);
647 if (!candidate) {
652 candidate->trans = trans;
653 candidate->epoch = hdr->epoch;
654 candidate->cid = hdr->cid & __constant_cpu_to_be32(RXRPC_CIDMASK);
655 candidate->service_id = hdr->serviceId;
656 candidate->security_ix = hdr->securityIndex;
657 candidate->in_clientflag = RXRPC_CLIENT_INITIATED;
658 candidate->out_clientflag = 0;
659 candidate->real_conn_id = conn_id;
660 candidate->state = RXRPC_CONN_SERVER;
661 if (candidate->service_id)
662 candidate->state = RXRPC_CONN_SERVER_UNSECURED;
684 /* we can now add the new candidate to the list */
685 conn = candidate;
686 candidate = NULL;
723 kfree(candidate);
727 kfree(candidate);