Home
last modified time | relevance | path

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

/net/rxrpc/
Dar-connection.c37 struct rxrpc_conn_bundle *bundle; in rxrpc_alloc_bundle() local
41 bundle = kzalloc(sizeof(struct rxrpc_conn_bundle), gfp); in rxrpc_alloc_bundle()
42 if (bundle) { in rxrpc_alloc_bundle()
43 INIT_LIST_HEAD(&bundle->unused_conns); in rxrpc_alloc_bundle()
44 INIT_LIST_HEAD(&bundle->avail_conns); in rxrpc_alloc_bundle()
45 INIT_LIST_HEAD(&bundle->busy_conns); in rxrpc_alloc_bundle()
46 init_waitqueue_head(&bundle->chanwait); in rxrpc_alloc_bundle()
47 atomic_set(&bundle->usage, 1); in rxrpc_alloc_bundle()
50 _leave(" = %p", bundle); in rxrpc_alloc_bundle()
51 return bundle; in rxrpc_alloc_bundle()
[all …]
Daf_rxrpc.c275 struct rxrpc_conn_bundle *bundle; in rxrpc_kernel_begin_call() local
311 bundle = rxrpc_get_bundle(rx, trans, key, service_id, gfp); in rxrpc_kernel_begin_call()
312 if (IS_ERR(bundle)) { in rxrpc_kernel_begin_call()
313 call = ERR_CAST(bundle); in rxrpc_kernel_begin_call()
317 call = rxrpc_get_client_call(rx, trans, bundle, user_call_ID, true, in rxrpc_kernel_begin_call()
319 rxrpc_put_bundle(trans, bundle); in rxrpc_kernel_begin_call()
714 if (rx->bundle) { in rxrpc_release_sock()
715 rxrpc_put_bundle(rx->trans, rx->bundle); in rxrpc_release_sock()
716 rx->bundle = NULL; in rxrpc_release_sock()
Dar-call.c254 struct rxrpc_conn_bundle *bundle, in rxrpc_alloc_client_call() argument
264 ASSERT(bundle != NULL); in rxrpc_alloc_client_call()
274 ret = rxrpc_connect_call(rx, trans, bundle, call, gfp); in rxrpc_alloc_client_call()
317 struct rxrpc_conn_bundle *bundle, in rxrpc_get_client_call() argument
326 rx, trans ? trans->debug_id : -1, bundle ? bundle->debug_id : -1, in rxrpc_get_client_call()
352 candidate = rxrpc_alloc_client_call(rx, trans, bundle, gfp); in rxrpc_get_client_call()
655 if (conn->out_clientflag && conn->bundle) { in rxrpc_release_call()
660 &conn->bundle->avail_conns); in rxrpc_release_call()
669 &conn->bundle->unused_conns); in rxrpc_release_call()
Dar-output.c136 struct rxrpc_conn_bundle *bundle; in rxrpc_client_sendmsg() local
154 bundle = NULL; in rxrpc_client_sendmsg()
165 bundle = rxrpc_get_bundle(rx, trans, key, service_id, in rxrpc_client_sendmsg()
167 if (IS_ERR(bundle)) in rxrpc_client_sendmsg()
168 return PTR_ERR(bundle); in rxrpc_client_sendmsg()
171 call = rxrpc_get_client_call(rx, trans, bundle, user_call_ID, in rxrpc_client_sendmsg()
174 rxrpc_put_bundle(trans, bundle); in rxrpc_client_sendmsg()
Dar-internal.h58 struct rxrpc_conn_bundle *bundle; /* virtual connection bundle */ member
242 struct rxrpc_conn_bundle *bundle; /* connection bundle (client) */ member