Home
last modified time | relevance | path

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

/net/rxrpc/
Dar-connection.c33 struct rxrpc_conn_bundle *bundle; in rxrpc_alloc_bundle() local
37 bundle = kzalloc(sizeof(struct rxrpc_conn_bundle), gfp); in rxrpc_alloc_bundle()
38 if (bundle) { in rxrpc_alloc_bundle()
39 INIT_LIST_HEAD(&bundle->unused_conns); in rxrpc_alloc_bundle()
40 INIT_LIST_HEAD(&bundle->avail_conns); in rxrpc_alloc_bundle()
41 INIT_LIST_HEAD(&bundle->busy_conns); in rxrpc_alloc_bundle()
42 init_waitqueue_head(&bundle->chanwait); in rxrpc_alloc_bundle()
43 atomic_set(&bundle->usage, 1); in rxrpc_alloc_bundle()
46 _leave(" = %p", bundle); in rxrpc_alloc_bundle()
47 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.c105 struct rxrpc_conn_bundle *bundle, in rxrpc_alloc_client_call() argument
115 ASSERT(bundle != NULL); in rxrpc_alloc_client_call()
125 ret = rxrpc_connect_call(rx, trans, bundle, call, gfp); in rxrpc_alloc_client_call()
148 struct rxrpc_conn_bundle *bundle, in rxrpc_get_client_call() argument
157 rx, trans ? trans->debug_id : -1, bundle ? bundle->debug_id : -1, in rxrpc_get_client_call()
183 candidate = rxrpc_alloc_client_call(rx, trans, bundle, gfp); in rxrpc_get_client_call()
461 if (conn->out_clientflag && conn->bundle) { in rxrpc_release_call()
466 &conn->bundle->avail_conns); in rxrpc_release_call()
475 &conn->bundle->unused_conns); in rxrpc_release_call()
Dar-output.c133 struct rxrpc_conn_bundle *bundle; in rxrpc_client_sendmsg() local
151 bundle = NULL; in rxrpc_client_sendmsg()
162 bundle = rxrpc_get_bundle(rx, trans, key, service_id, in rxrpc_client_sendmsg()
164 if (IS_ERR(bundle)) in rxrpc_client_sendmsg()
165 return PTR_ERR(bundle); in rxrpc_client_sendmsg()
168 call = rxrpc_get_client_call(rx, trans, bundle, user_call_ID, in rxrpc_client_sendmsg()
171 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