Home
last modified time | relevance | path

Searched refs:server (Results 1 - 25 of 1419) sorted by relevance

12345678910>>...57

/kernel/linux/linux-6.6/fs/afs/
H A Dserver.c2 /* AFS server record management
22 * Find a server by one of its addresses.
28 struct afs_server *server = NULL; in afs_find_server() local
35 if (server) in afs_find_server()
36 afs_unuse_server_notime(net, server, afs_server_trace_put_find_rsq); in afs_find_server()
37 server = NULL; in afs_find_server()
43 hlist_for_each_entry_rcu(server, &net->fs_addresses6, addr6_link) { in afs_find_server()
44 alist = rcu_dereference(server->addresses); in afs_find_server()
59 hlist_for_each_entry_rcu(server, &net->fs_addresses4, addr4_link) { in afs_find_server()
60 alist = rcu_dereference(server in afs_find_server()
92 struct afs_server *server = NULL; afs_find_server_by_uuid() local
142 struct afs_server *server, *next; afs_install_server() local
223 struct afs_server *server; afs_alloc_server() local
288 struct afs_server *server, *candidate; afs_lookup_server() local
353 afs_get_server(struct afs_server *server, enum afs_server_trace reason) afs_get_server() argument
368 afs_maybe_use_server(struct afs_server *server, enum afs_server_trace reason) afs_maybe_use_server() argument
385 afs_use_server(struct afs_server *server, enum afs_server_trace reason) afs_use_server() argument
400 afs_put_server(struct afs_net *net, struct afs_server *server, enum afs_server_trace reason) afs_put_server() argument
421 afs_unuse_server_notime(struct afs_net *net, struct afs_server *server, enum afs_server_trace reason) afs_unuse_server_notime() argument
436 afs_unuse_server(struct afs_net *net, struct afs_server *server, enum afs_server_trace reason) afs_unuse_server() argument
447 struct afs_server *server = container_of(rcu, struct afs_server, rcu); afs_server_rcu() local
455 __afs_put_server(struct afs_net *net, struct afs_server *server) __afs_put_server() argument
461 afs_give_up_callbacks(struct afs_net *net, struct afs_server *server) afs_give_up_callbacks() argument
476 afs_destroy_server(struct afs_net *net, struct afs_server *server) afs_destroy_server() argument
490 struct afs_server *server, *next, *prev; afs_gc_servers() local
559 struct afs_server *server = afs_manage_servers() local
639 afs_update_server_record(struct afs_operation *op, struct afs_server *server) afs_update_server_record() argument
682 afs_check_server_record(struct afs_operation *op, struct afs_server *server) afs_check_server_record() argument
[all...]
H A Dfs_probe.c20 * outstanding server count.
23 struct afs_server *server, bool fast) in afs_schedule_fs_probe()
30 atj = server->probed_at; in afs_schedule_fs_probe()
41 static void afs_finished_fs_probe(struct afs_net *net, struct afs_server *server) in afs_finished_fs_probe() argument
43 bool responded = server->probe.responded; in afs_finished_fs_probe()
47 list_add_tail(&server->probe_link, &net->fs_probe_slow); in afs_finished_fs_probe()
49 server->rtt = UINT_MAX; in afs_finished_fs_probe()
50 clear_bit(AFS_SERVER_FL_RESPONDING, &server->flags); in afs_finished_fs_probe()
51 list_add_tail(&server->probe_link, &net->fs_probe_fast); in afs_finished_fs_probe()
55 afs_schedule_fs_probe(net, server, !responde in afs_finished_fs_probe()
22 afs_schedule_fs_probe(struct afs_net *net, struct afs_server *server, bool fast) afs_schedule_fs_probe() argument
61 afs_done_one_fs_probe(struct afs_net *net, struct afs_server *server) afs_done_one_fs_probe() argument
75 afs_fs_probe_not_done(struct afs_net *net, struct afs_server *server, struct afs_addr_cursor *ac) afs_fs_probe_not_done() argument
104 struct afs_server *server = call->server; afs_fileserver_probe_result() local
195 afs_fs_probe_fileserver(struct afs_net *net, struct afs_server *server, struct key *key, bool all) afs_fs_probe_fileserver() argument
237 struct afs_server *server; afs_wait_for_fs_probes() local
351 afs_probe_fileserver(struct afs_net *net, struct afs_server *server) afs_probe_fileserver() argument
365 struct afs_server *fast, *slow, *server; afs_fs_probe_dispatcher() local
439 afs_wait_for_one_fs_probe(struct afs_server *server, bool is_intr) afs_wait_for_one_fs_probe() argument
[all...]
H A Dvl_probe.c18 static void afs_finished_vl_probe(struct afs_vlserver *server) in afs_finished_vl_probe() argument
20 if (!(server->probe.flags & AFS_VLSERVER_PROBE_RESPONDED)) { in afs_finished_vl_probe()
21 server->rtt = UINT_MAX; in afs_finished_vl_probe()
22 clear_bit(AFS_VLSERVER_FL_RESPONDING, &server->flags); in afs_finished_vl_probe()
25 clear_bit_unlock(AFS_VLSERVER_FL_PROBING, &server->flags); in afs_finished_vl_probe()
26 wake_up_bit(&server->flags, AFS_VLSERVER_FL_PROBING); in afs_finished_vl_probe()
32 static void afs_done_one_vl_probe(struct afs_vlserver *server, bool wake_up) in afs_done_one_vl_probe() argument
34 if (atomic_dec_and_test(&server->probe_outstanding)) { in afs_done_one_vl_probe()
35 afs_finished_vl_probe(server); in afs_done_one_vl_probe()
40 wake_up_all(&server in afs_done_one_vl_probe()
50 struct afs_vlserver *server = call->vlserver; afs_vlserver_probe_result() local
143 afs_do_probe_vlserver(struct afs_net *net, struct afs_vlserver *server, struct key *key, unsigned int server_index, struct afs_error *_e) afs_do_probe_vlserver() argument
187 struct afs_vlserver *server; afs_send_vl_probes() local
214 struct afs_vlserver *server; afs_wait_for_vl_probes() local
[all...]
/kernel/linux/linux-5.10/fs/afs/
H A Dserver.c2 /* AFS server record management
22 * Find a server by one of its addresses.
28 struct afs_server *server = NULL; in afs_find_server() local
35 if (server) in afs_find_server()
36 afs_unuse_server_notime(net, server, afs_server_trace_put_find_rsq); in afs_find_server()
37 server = NULL; in afs_find_server()
43 hlist_for_each_entry_rcu(server, &net->fs_addresses6, addr6_link) { in afs_find_server()
44 alist = rcu_dereference(server->addresses); in afs_find_server()
59 hlist_for_each_entry_rcu(server, &net->fs_addresses4, addr4_link) { in afs_find_server()
60 alist = rcu_dereference(server in afs_find_server()
92 struct afs_server *server = NULL; afs_find_server_by_uuid() local
142 struct afs_server *server, *next; afs_install_server() local
223 struct afs_server *server; afs_alloc_server() local
287 struct afs_server *server, *candidate; afs_lookup_server() local
352 afs_get_server(struct afs_server *server, enum afs_server_trace reason) afs_get_server() argument
364 afs_maybe_use_server(struct afs_server *server, enum afs_server_trace reason) afs_maybe_use_server() argument
381 afs_use_server(struct afs_server *server, enum afs_server_trace reason) afs_use_server() argument
393 afs_put_server(struct afs_net *net, struct afs_server *server, enum afs_server_trace reason) afs_put_server() argument
411 afs_unuse_server_notime(struct afs_net *net, struct afs_server *server, enum afs_server_trace reason) afs_unuse_server_notime() argument
426 afs_unuse_server(struct afs_net *net, struct afs_server *server, enum afs_server_trace reason) afs_unuse_server() argument
437 struct afs_server *server = container_of(rcu, struct afs_server, rcu); afs_server_rcu() local
445 __afs_put_server(struct afs_net *net, struct afs_server *server) __afs_put_server() argument
451 afs_give_up_callbacks(struct afs_net *net, struct afs_server *server) afs_give_up_callbacks() argument
466 afs_destroy_server(struct afs_net *net, struct afs_server *server) afs_destroy_server() argument
479 struct afs_server *server, *next, *prev; afs_gc_servers() local
548 struct afs_server *server = afs_manage_servers() local
628 afs_update_server_record(struct afs_operation *op, struct afs_server *server) afs_update_server_record() argument
670 afs_check_server_record(struct afs_operation *op, struct afs_server *server) afs_check_server_record() argument
[all...]
H A Dfs_probe.c19 * outstanding server count.
22 struct afs_server *server, bool fast) in afs_schedule_fs_probe()
29 atj = server->probed_at; in afs_schedule_fs_probe()
40 static void afs_finished_fs_probe(struct afs_net *net, struct afs_server *server) in afs_finished_fs_probe() argument
42 bool responded = server->probe.responded; in afs_finished_fs_probe()
46 list_add_tail(&server->probe_link, &net->fs_probe_slow); in afs_finished_fs_probe()
48 server->rtt = UINT_MAX; in afs_finished_fs_probe()
49 clear_bit(AFS_SERVER_FL_RESPONDING, &server->flags); in afs_finished_fs_probe()
50 list_add_tail(&server->probe_link, &net->fs_probe_fast); in afs_finished_fs_probe()
54 afs_schedule_fs_probe(net, server, !responde in afs_finished_fs_probe()
21 afs_schedule_fs_probe(struct afs_net *net, struct afs_server *server, bool fast) afs_schedule_fs_probe() argument
60 afs_done_one_fs_probe(struct afs_net *net, struct afs_server *server) afs_done_one_fs_probe() argument
74 afs_fs_probe_not_done(struct afs_net *net, struct afs_server *server, struct afs_addr_cursor *ac) afs_fs_probe_not_done() argument
103 struct afs_server *server = call->server; afs_fileserver_probe_result() local
189 afs_fs_probe_fileserver(struct afs_net *net, struct afs_server *server, struct key *key, bool all) afs_fs_probe_fileserver() argument
231 struct afs_server *server; afs_wait_for_fs_probes() local
345 afs_probe_fileserver(struct afs_net *net, struct afs_server *server) afs_probe_fileserver() argument
359 struct afs_server *fast, *slow, *server; afs_fs_probe_dispatcher() local
433 afs_wait_for_one_fs_probe(struct afs_server *server, bool is_intr) afs_wait_for_one_fs_probe() argument
[all...]
H A Dvl_probe.c18 static void afs_finished_vl_probe(struct afs_vlserver *server) in afs_finished_vl_probe() argument
20 if (!(server->probe.flags & AFS_VLSERVER_PROBE_RESPONDED)) { in afs_finished_vl_probe()
21 server->rtt = UINT_MAX; in afs_finished_vl_probe()
22 clear_bit(AFS_VLSERVER_FL_RESPONDING, &server->flags); in afs_finished_vl_probe()
25 clear_bit_unlock(AFS_VLSERVER_FL_PROBING, &server->flags); in afs_finished_vl_probe()
26 wake_up_bit(&server->flags, AFS_VLSERVER_FL_PROBING); in afs_finished_vl_probe()
32 static void afs_done_one_vl_probe(struct afs_vlserver *server, bool wake_up) in afs_done_one_vl_probe() argument
34 if (atomic_dec_and_test(&server->probe_outstanding)) { in afs_done_one_vl_probe()
35 afs_finished_vl_probe(server); in afs_done_one_vl_probe()
40 wake_up_all(&server in afs_done_one_vl_probe()
50 struct afs_vlserver *server = call->vlserver; afs_vlserver_probe_result() local
143 afs_do_probe_vlserver(struct afs_net *net, struct afs_vlserver *server, struct key *key, unsigned int server_index, struct afs_error *_e) afs_do_probe_vlserver() argument
187 struct afs_vlserver *server; afs_send_vl_probes() local
214 struct afs_vlserver *server; afs_wait_for_vl_probes() local
[all...]
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_policy_service_unit_test/src/
H A Daudio_policy_service_second_unit_test.cpp120 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); in HWTEST_F() local
122 server->AudioVolumeDump(dumpString); in HWTEST_F()
133 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); in HWTEST_F() local
135 server->AudioStreamDump(dumpString); in HWTEST_F()
146 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); in HWTEST_F() local
149 bool ret = server->CheckAudioSessionStrategy(sessionStrategy); in HWTEST_F()
153 ret = server->CheckAudioSessionStrategy(sessionStrategy); in HWTEST_F()
164 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); in HWTEST_F() local
167 int32_t ret = server->audioPolicyService_.LoadSplitModule(splitArgs, networkId); in HWTEST_F()
172 ret = server in HWTEST_F()
183 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
196 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
214 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
231 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
245 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
259 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
273 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
290 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
307 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
320 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
333 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
347 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
359 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
381 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
399 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
414 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
429 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
450 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
475 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
531 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
561 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
591 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
627 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
662 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
678 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
701 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
721 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
741 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
759 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
805 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
826 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
843 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
891 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
926 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
961 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1001 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1034 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1054 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1070 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1087 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1106 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1131 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1156 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1194 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1211 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1246 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
[all...]
H A Daudio_policy_service_third_unit_test.cpp206 auto server = GetServerPtr(); in HWTEST_F() local
209 server->audioPolicyService_.GetOffloadStatusDump(dumpString); in HWTEST_F()
219 auto server = GetServerPtr(); in HWTEST_F() local
222 server->audioPolicyService_.currentActiveDevice_.deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST_F()
223 server->audioPolicyService_.GetOffloadStatusDump(dumpString); in HWTEST_F()
233 auto server = GetServerPtr(); in HWTEST_F() local
236 server->audioPolicyService_.currentActiveDevice_.deviceType_ = DEVICE_TYPE_USB_HEADSET; in HWTEST_F()
237 server->audioPolicyService_.GetOffloadStatusDump(dumpString); in HWTEST_F()
247 auto server = GetServerPtr(); in HWTEST_F() local
250 server in HWTEST_F()
280 auto server = GetServerPtr(); HWTEST_F() local
295 auto server = GetServerPtr(); HWTEST_F() local
309 auto server = GetServerPtr(); HWTEST_F() local
323 auto server = GetServerPtr(); HWTEST_F() local
347 auto server = GetServerPtr(); HWTEST_F() local
361 auto server = GetServerPtr(); HWTEST_F() local
375 auto server = GetServerPtr(); HWTEST_F() local
389 auto server = GetServerPtr(); HWTEST_F() local
403 auto server = GetServerPtr(); HWTEST_F() local
419 auto server = GetServerPtr(); HWTEST_F() local
432 auto server = GetServerPtr(); HWTEST_F() local
444 auto server = GetServerPtr(); HWTEST_F() local
457 auto server = GetServerPtr(); HWTEST_F() local
471 auto server = GetServerPtr(); HWTEST_F() local
486 auto server = GetServerPtr(); HWTEST_F() local
[all...]
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/
H A Dwifi_hal_crpc_p2p.h19 #include "server.h"
27 * @param server - Pointer to the global structure of the communication server.
28 * @param context - Pointer to the global communication context structure of the server.
31 int RpcP2pStart(RpcServer *server, Context *context);
36 * @param server - Pointer to the global structure of the communication server.
37 * @param context - Pointer to the global communication context structure of the server.
40 int RpcP2pStop(RpcServer *server, Context *context);
45 * @param server
[all...]
H A Dwifi_hal_crpc_sta.h19 #include "server.h"
29 * @param server - Pointer to the global structure of the communication server.
30 * @param context - Pointer to the global communication context structure of the server.
33 int RpcStart(RpcServer *server, Context *context);
39 * @param server - Pointer to the global structure of the communication server.
40 * @param context - Pointer to the global communication context structure of the server.
43 int RpcStop(RpcServer *server, Context *context);
49 * @param server
[all...]
/third_party/node/test/parallel/
H A Dtest-tls-client-auth.js12 const server = keys.agent10;
22 split(server.cert, server);
36 ca: server.ca,
39 server: {
40 key: server.key,
41 cert: server.cert,
53 ca: server.ca,
56 server: {
57 key: server
[all...]
H A Dtest-http2-server-startup.js4 // HTTP2 server. The server does not do anything at this point
30 const server = http2.createServer(options, common.mustNotCall());
31 server.listen(0, common.mustCall(() => server.close()));
34 server.on('error', common.mustNotCall());
36 // Test the plaintext server socket timeout.
39 const server = http2.createServer();
40 server.on('timeout', common.mustCall(() => {
41 server
[all...]
H A Dtest-https-agent-create-connection.js22 const checkRequest = (socket, server) => {
34 server.close();
46 const server = createServer();
47 server.listen(0, common.mustCall(() => {
48 const port = server.address().port;
58 checkRequest(socket, server);
64 const server = createServer();
65 server.listen(0, common.mustCall(() => {
66 const port = server.address().port;
73 checkRequest(socket, server);
[all...]
H A Dtest-repl-context.js49 const server = repl.start({ input: stream, output: stream });
51 assert.ok(!server.underscoreAssigned);
52 assert.strictEqual(server.lines.length, 0);
54 // An assignment to '_' in the repl server
55 server.write('_ = 500;\n');
56 assert.ok(server.underscoreAssigned);
57 assert.strictEqual(server.lines.length, 1);
58 assert.strictEqual(server.lines[0], '_ = 500;');
59 assert.strictEqual(server.last, 500);
61 // Use the server t
[all...]
H A Dtest-http-set-timeout-server.js45 const server = http.createServer();
46 server.listen(common.mustCall(() => {
47 const s = server.setTimeout(50, common.mustCall((socket) => {
49 server.close();
54 port: server.address().port
60 const server = http.createServer(common.mustCall((req, res) => {
64 server.close();
69 server.listen(common.mustCall(() => {
71 port: server.address().port,
81 const server
[all...]
/foundation/communication/wifi/wifi/base/cRPC/src/
H A Dserver.c16 #include "server.h"
36 static int BeforeLoop(RpcServer *server);
37 static int RemoveCallback(RpcServer *server, const Context *context);
39 static int OnAccept(RpcServer *server, unsigned int mask) in OnAccept() argument
41 if (server == NULL) { in OnAccept()
48 int fd = accept(server->listenFd, NULL, NULL); in OnAccept()
65 InsertHashTable(server->clients, context); in OnAccept()
66 AddFdEvent(server->loop, fd, READ_EVENT | WRIT_EVENT); in OnAccept()
80 RpcServer *server = (RpcServer *)calloc(1, sizeof(RpcServer)); in CreateRpcServer() local
81 if (server in CreateRpcServer()
113 DealReadMessage(RpcServer *server, Context *client) DealReadMessage() argument
151 DealFdReadEvent(RpcServer *server, Context *client, unsigned int mask) DealFdReadEvent() argument
173 DealFdWriteEvent(RpcServer *server, Context *client) DealFdWriteEvent() argument
192 DealFdEvents(RpcServer *server, int fd, unsigned int mask) DealFdEvents() argument
217 RunRpcLoop(RpcServer *server) RunRpcLoop() argument
243 ReleaseRpcServer(RpcServer *server) ReleaseRpcServer() argument
261 BeforeLoop(RpcServer *server) BeforeLoop() argument
285 EmitEvent(RpcServer *server, int event) EmitEvent() argument
306 RegisterCallback(RpcServer *server, int event, Context *context) RegisterCallback() argument
333 UnRegisterCallback(RpcServer *server, int event, const Context *context) UnRegisterCallback() argument
363 RemoveCallback(RpcServer *server, const Context *context) RemoveCallback() argument
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dconnect.c62 /* Drop the connection to not overload the server */
65 static int ip_connect(struct TCP_Server_Info *server);
66 static int generic_ip_connect(struct TCP_Server_Info *server);
74 * This should be called with server->srv_mutex held.
76 static int reconn_set_ipaddr_from_hostname(struct TCP_Server_Info *server) in reconn_set_ipaddr_from_hostname() argument
83 if (!server->hostname) in reconn_set_ipaddr_from_hostname()
86 /* if server hostname isn't populated, there's nothing to do here */ in reconn_set_ipaddr_from_hostname()
87 if (server->hostname[0] == '\0') in reconn_set_ipaddr_from_hostname()
90 len = strlen(server->hostname) + 3; in reconn_set_ipaddr_from_hostname()
97 scnprintf(unc, len, "\\\\%s", server in reconn_set_ipaddr_from_hostname()
152 cifs_signal_cifsd_for_reconnect(struct TCP_Server_Info *server, bool all_channels) cifs_signal_cifsd_for_reconnect() argument
199 cifs_mark_tcp_ses_conns_for_reconnect(struct TCP_Server_Info *server, bool mark_smb_session) cifs_mark_tcp_ses_conns_for_reconnect() argument
287 cifs_abort_connection(struct TCP_Server_Info *server) cifs_abort_connection() argument
342 cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info *server, int num_targets) cifs_tcp_ses_needs_reconnect() argument
375 __cifs_reconnect(struct TCP_Server_Info *server, bool mark_smb_session) __cifs_reconnect() argument
428 __reconnect_target_unlocked(struct TCP_Server_Info *server, const char *target) __reconnect_target_unlocked() argument
461 reconnect_target_unlocked(struct TCP_Server_Info *server, struct dfs_cache_tgt_list *tl, struct dfs_cache_tgt_iterator **target_hint) reconnect_target_unlocked() argument
485 reconnect_dfs_server(struct TCP_Server_Info *server) reconnect_dfs_server() argument
562 cifs_reconnect(struct TCP_Server_Info *server, bool mark_smb_session) cifs_reconnect() argument
574 cifs_reconnect(struct TCP_Server_Info *server, bool mark_smb_session) cifs_reconnect() argument
584 struct TCP_Server_Info *server = container_of(work, cifs_echo_request() local
610 allocate_buffers(struct TCP_Server_Info *server) allocate_buffers() argument
643 server_unresponsive(struct TCP_Server_Info *server) server_unresponsive() argument
673 zero_credits(struct TCP_Server_Info *server) zero_credits() argument
688 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) cifs_readv_from_socket() argument
745 cifs_read_from_socket(struct TCP_Server_Info *server, char *buf, unsigned int to_read) cifs_read_from_socket() argument
756 cifs_discard_from_socket(struct TCP_Server_Info *server, size_t to_read) cifs_discard_from_socket() argument
771 cifs_read_page_from_socket(struct TCP_Server_Info *server, struct page *page, unsigned int page_offset, unsigned int to_read) cifs_read_page_from_socket() argument
783 cifs_read_iter_from_socket(struct TCP_Server_Info *server, struct iov_iter *iter, unsigned int to_read) cifs_read_iter_from_socket() argument
797 is_smb_response(struct TCP_Server_Info *server, unsigned char type) is_smb_response() argument
865 smb2_get_credits_from_hdr(char *buffer, struct TCP_Server_Info *server) smb2_get_credits_from_hdr() argument
879 handle_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server, char *buf, int malformed) handle_mid() argument
900 cifs_enable_signing(struct TCP_Server_Info *server, bool mnt_sign_required) cifs_enable_signing() argument
946 clean_demultiplex_info(struct TCP_Server_Info *server) clean_demultiplex_info() argument
1039 standard_receive3(struct TCP_Server_Info *server, struct mid_q_entry *mid) standard_receive3() argument
1074 cifs_handle_standard(struct TCP_Server_Info *server, struct mid_q_entry *mid) cifs_handle_standard() argument
1110 smb2_add_credits_from_hdr(char *buffer, struct TCP_Server_Info *server) smb2_add_credits_from_hdr() argument
1143 struct TCP_Server_Info *server = p; cifs_demultiplex_thread() local
1425 match_port(struct TCP_Server_Info *server, struct sockaddr *addr) match_port() argument
1458 match_server_address(struct TCP_Server_Info *server, struct sockaddr *addr) match_server_address() argument
1467 match_security(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) match_security() argument
1490 match_server(struct TCP_Server_Info *server, struct smb3_fs_context *ctx, bool match_super) match_server() argument
1581 struct TCP_Server_Info *server; cifs_find_tcp_session() local
1607 cifs_put_tcp_session(struct TCP_Server_Info *server, int from_reconnect) cifs_put_tcp_session() argument
1905 struct TCP_Server_Info *server = ses->server; cifs_setup_ipc() local
1979 cifs_find_smb_ses(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) cifs_find_smb_ses() argument
2010 struct TCP_Server_Info *server = ses->server; __cifs_put_smb_ses() local
2097 struct TCP_Server_Info *server = ses->server; cifs_set_cifscreds() local
2245 cifs_get_smb_ses(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) cifs_get_smb_ses() argument
2389 struct TCP_Server_Info *server = tcon->ses->server; match_tcon() local
2934 bind_socket(struct TCP_Server_Info *server) bind_socket() argument
2960 ip_rfc1001_connect(struct TCP_Server_Info *server) ip_rfc1001_connect() argument
3015 generic_ip_connect(struct TCP_Server_Info *server) generic_ip_connect() argument
3115 ip_connect(struct TCP_Server_Info *server) ip_connect() argument
3320 struct TCP_Server_Info *server = NULL; cifs_mount_get_session() local
3367 struct TCP_Server_Info *server; cifs_mount_get_tcon() local
3491 cifs_are_all_path_components_accessible(struct TCP_Server_Info *server, unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, char *full_path, int added_treename) cifs_are_all_path_components_accessible() argument
3546 struct TCP_Server_Info *server = mnt_ctx->server; cifs_is_path_remote() local
3824 cifs_negotiate_protocol(const unsigned int xid, struct cifs_ses *ses, struct TCP_Server_Info *server) cifs_negotiate_protocol() argument
3869 cifs_setup_session(const unsigned int xid, struct cifs_ses *ses, struct TCP_Server_Info *server, struct nls_table *nls_info) cifs_setup_session() argument
[all...]
H A Dtransport.c44 alloc_mid(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in alloc_mid() argument
48 if (server == NULL) { in alloc_mid()
63 temp->server = server; in alloc_mid()
84 __le16 command = midEntry->server->vals->lock_cmd; in __release_mid()
89 struct TCP_Server_Info *server = midEntry->server; in __release_mid() local
94 server->ops->handle_cancelled_mid) in __release_mid()
95 server->ops->handle_cancelled_mid(midEntry, server); in __release_mid()
182 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, size_t *sent) smb_send_kvec() argument
247 smb_rqst_len(struct TCP_Server_Info *server, struct smb_rqst *rqst) smb_rqst_len() argument
272 __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, struct smb_rqst *rqst) __smb_send_rqst() argument
427 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, struct smb_rqst *rqst, int flags) smb_send_rqst() argument
470 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, unsigned int smb_buf_length) smb_send() argument
486 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, const int timeout, const int flags, unsigned int *instance) wait_for_free_credits() argument
640 wait_for_free_request(struct TCP_Server_Info *server, const int flags, unsigned int *instance) wait_for_free_request() argument
648 wait_for_compound_request(struct TCP_Server_Info *server, int num, const int flags, unsigned int *instance) wait_for_compound_request() argument
694 cifs_wait_mtu_credits(struct TCP_Server_Info *server, unsigned int size, unsigned int *num, struct cifs_credits *credits) cifs_wait_mtu_credits() argument
736 wait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *midQ) wait_for_response() argument
751 cifs_setup_async_request(struct TCP_Server_Info *server, struct smb_rqst *rqst) cifs_setup_async_request() argument
783 cifs_call_async(struct TCP_Server_Info *server, struct smb_rqst *rqst, mid_receive_t *receive, mid_callback_t *callback, mid_handle_t *handle, void *cbdata, const int flags, const struct cifs_credits *exist_credits) cifs_call_async() argument
886 cifs_sync_mid_result(struct mid_q_entry *mid, struct TCP_Server_Info *server) cifs_sync_mid_result() argument
923 send_cancel(struct TCP_Server_Info *server, struct smb_rqst *rqst, struct mid_q_entry *mid) send_cancel() argument
931 cifs_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, bool log_error) cifs_check_receive() argument
987 struct TCP_Server_Info *server = mid->server; cifs_compound_callback() local
1024 struct TCP_Server_Info *server = NULL; cifs_pick_channel() local
1066 compound_send_recv(const unsigned int xid, struct cifs_ses *ses, struct TCP_Server_Info *server, const int flags, const int num_rqst, struct smb_rqst *rqst, int *resp_buf_type, struct kvec *resp_iov) compound_send_recv() argument
1300 cifs_send_recv(const unsigned int xid, struct cifs_ses *ses, struct TCP_Server_Info *server, struct smb_rqst *rqst, int *resp_buf_type, const int flags, struct kvec *resp_iov) cifs_send_recv() argument
1359 struct TCP_Server_Info *server; SendReceive() local
1501 struct TCP_Server_Info *server; SendReceiveBlockingLock() local
1653 cifs_discard_remaining_data(struct TCP_Server_Info *server) cifs_discard_remaining_data() argument
1675 __cifs_readv_discard(struct TCP_Server_Info *server, struct mid_q_entry *mid, bool malformed) __cifs_readv_discard() argument
1688 cifs_readv_discard(struct TCP_Server_Info *server, struct mid_q_entry *mid) cifs_readv_discard() argument
1696 cifs_readv_receive(struct TCP_Server_Info *server, struct mid_q_entry *mid) cifs_readv_receive() argument
[all...]
H A Dsmb2transport.c30 smb3_crypto_shash_allocate(struct TCP_Server_Info *server) in smb3_crypto_shash_allocate() argument
32 struct cifs_secmech *p = &server->secmech; in smb3_crypto_shash_allocate()
50 smb311_crypto_shash_allocate(struct TCP_Server_Info *server) in smb311_crypto_shash_allocate() argument
52 struct cifs_secmech *p = &server->secmech; in smb311_crypto_shash_allocate()
77 int smb2_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb2_get_sign_key() argument
88 /* If server is a channel, select the primary channel */ in smb2_get_sign_key()
89 pserver = SERVER_IS_CHAN(server) ? server->primary_server : server; in smb2_get_sign_key()
105 is_binding = (cifs_chan_needs_reconnect(ses, server) in smb2_get_sign_key()
146 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) smb2_find_smb_ses_unlocked() argument
172 smb2_find_smb_ses(struct TCP_Server_Info *server, __u64 ses_id) smb2_find_smb_ses() argument
204 smb2_find_smb_tcon(struct TCP_Server_Info *server, __u64 ses_id, __u32 tid) smb2_find_smb_tcon() argument
229 smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server, bool allocate_crypto) smb2_calc_signature() argument
319 struct TCP_Server_Info *server = ses->server; generate_key() local
402 generate_smb3signingkey(struct cifs_ses *ses, struct TCP_Server_Info *server, const struct derivation_triplet *ptriplet) generate_smb3signingkey() argument
501 generate_smb30signingkey(struct cifs_ses *ses, struct TCP_Server_Info *server) generate_smb30signingkey() argument
530 generate_smb311signingkey(struct cifs_ses *ses, struct TCP_Server_Info *server) generate_smb311signingkey() argument
559 smb3_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server, bool allocate_crypto) smb3_calc_signature() argument
637 smb2_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server) smb2_sign_rqst() argument
672 smb2_verify_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server) smb2_verify_signature() argument
722 smb2_seq_num_into_buf(struct TCP_Server_Info *server, struct smb2_hdr *shdr) smb2_seq_num_into_buf() argument
734 smb2_mid_entry_alloc(const struct smb2_hdr *shdr, struct TCP_Server_Info *server) smb2_mid_entry_alloc() argument
773 smb2_get_mid_entry(struct cifs_ses *ses, struct TCP_Server_Info *server, struct smb2_hdr *shdr, struct mid_q_entry **mid) smb2_get_mid_entry() argument
825 smb2_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, bool log_error) smb2_check_receive() argument
851 smb2_setup_request(struct cifs_ses *ses, struct TCP_Server_Info *server, struct smb_rqst *rqst) smb2_setup_request() argument
878 smb2_setup_async_request(struct TCP_Server_Info *server, struct smb_rqst *rqst) smb2_setup_async_request() argument
912 smb3_crypto_aead_allocate(struct TCP_Server_Info *server) smb3_crypto_aead_allocate() argument
[all...]
/kernel/linux/linux-6.6/fs/nfs/
H A Dclient.c216 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() argument
218 rpc_init_wait_queue(&server->roc_rpcwaitq, "pNFS ROC"); in pnfs_init_server()
230 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() argument
445 * Mark a server as ready or failed
557 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server() argument
559 if (server->nlm_host) in nfs_destroy_server()
560 nlmclnt_done(server->nlm_host); in nfs_destroy_server()
566 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd() argument
569 struct nfs_client *clp = server->nfs_client; in nfs_start_lockd()
575 .noresvport = server in nfs_start_lockd()
611 nfs_init_server_rpcclient(struct nfs_server *server, const struct rpc_timeout *timeo, rpc_authflavor_t pseudoflavour) nfs_init_server_rpcclient() argument
673 nfs_init_server(struct nfs_server *server, const struct fs_context *fc) nfs_init_server() argument
769 nfs_server_set_fsinfo(struct nfs_server *server, struct nfs_fsinfo *fsinfo) nfs_server_set_fsinfo() argument
842 nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs_fattr *fattr) nfs_probe_fsinfo() argument
891 nfs_probe_server(struct nfs_server *server, struct nfs_fh *mntfh) nfs_probe_server() argument
928 nfs_server_insert_lists(struct nfs_server *server) nfs_server_insert_lists() argument
942 nfs_server_remove_lists(struct nfs_server *server) nfs_server_remove_lists() argument
968 struct nfs_server *server; nfs_alloc_server() local
1012 nfs_free_server(struct nfs_server *server) nfs_free_server() argument
1048 struct nfs_server *server; nfs_create_server() local
1116 struct nfs_server *server; nfs_clone_server() local
1323 struct nfs_server *server; nfs_volume_list_show() local
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Dtransport.c54 AllocMidQEntry(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in AllocMidQEntry() argument
58 if (server == NULL) { in AllocMidQEntry()
73 temp->server = server; in AllocMidQEntry()
94 __le16 command = midEntry->server->vals->lock_cmd; in _cifs_mid_q_entry_release()
99 struct TCP_Server_Info *server = midEntry->server; in _cifs_mid_q_entry_release() local
103 server->ops->handle_cancelled_mid) in _cifs_mid_q_entry_release()
104 server->ops->handle_cancelled_mid(midEntry, server); in _cifs_mid_q_entry_release()
203 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, size_t *sent) smb_send_kvec() argument
268 smb_rqst_len(struct TCP_Server_Info *server, struct smb_rqst *rqst) smb_rqst_len() argument
312 __smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, struct smb_rqst *rqst) __smb_send_rqst() argument
462 smb_send_rqst(struct TCP_Server_Info *server, int num_rqst, struct smb_rqst *rqst, int flags) smb_send_rqst() argument
507 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, unsigned int smb_buf_length) smb_send() argument
523 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, const int timeout, const int flags, unsigned int *instance) wait_for_free_credits() argument
641 wait_for_free_request(struct TCP_Server_Info *server, const int flags, unsigned int *instance) wait_for_free_request() argument
649 wait_for_compound_request(struct TCP_Server_Info *server, int num, const int flags, unsigned int *instance) wait_for_compound_request() argument
686 cifs_wait_mtu_credits(struct TCP_Server_Info *server, unsigned int size, unsigned int *num, struct cifs_credits *credits) cifs_wait_mtu_credits() argument
731 wait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *midQ) wait_for_response() argument
744 cifs_setup_async_request(struct TCP_Server_Info *server, struct smb_rqst *rqst) cifs_setup_async_request() argument
776 cifs_call_async(struct TCP_Server_Info *server, struct smb_rqst *rqst, mid_receive_t *receive, mid_callback_t *callback, mid_handle_t *handle, void *cbdata, const int flags, const struct cifs_credits *exist_credits) cifs_call_async() argument
879 cifs_sync_mid_result(struct mid_q_entry *mid, struct TCP_Server_Info *server) cifs_sync_mid_result() argument
916 send_cancel(struct TCP_Server_Info *server, struct smb_rqst *rqst, struct mid_q_entry *mid) send_cancel() argument
924 cifs_check_receive(struct mid_q_entry *mid, struct TCP_Server_Info *server, bool log_error) cifs_check_receive() argument
980 struct TCP_Server_Info *server = mid->server; cifs_compound_callback() local
1030 compound_send_recv(const unsigned int xid, struct cifs_ses *ses, struct TCP_Server_Info *server, const int flags, const int num_rqst, struct smb_rqst *rqst, int *resp_buf_type, struct kvec *resp_iov) compound_send_recv() argument
1250 cifs_send_recv(const unsigned int xid, struct cifs_ses *ses, struct TCP_Server_Info *server, struct smb_rqst *rqst, int *resp_buf_type, const int flags, struct kvec *resp_iov) cifs_send_recv() argument
1309 struct TCP_Server_Info *server; SendReceive() local
1446 struct TCP_Server_Info *server; SendReceiveBlockingLock() local
[all...]
H A Dcifs_debug.c35 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server) in cifs_dump_detail() argument
44 server->ops->calc_smb_size(smb, server)); in cifs_dump_detail()
48 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids() argument
54 if (server == NULL) in cifs_dump_mids()
59 list_for_each(tmp, &server->pending_mid_q) { in cifs_dump_mids()
77 cifs_dump_detail(mid_entry->resp_buf, server); in cifs_dump_mids()
116 if (tcon->ses->server->ops->dump_share_caps) in cifs_debug_tcon()
117 tcon->ses->server->ops->dump_share_caps(m, tcon); in cifs_debug_tcon()
127 struct TCP_Server_Info *server in cifs_dump_channel() local
167 struct TCP_Server_Info *server; cifs_debug_files_proc_show() local
220 struct TCP_Server_Info *server; cifs_debug_data_proc_show() local
475 struct TCP_Server_Info *server; cifs_stats_proc_write() local
540 struct TCP_Server_Info *server; cifs_stats_proc_show() local
[all...]
/kernel/linux/linux-5.10/fs/nfs/
H A Dclient.c215 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() argument
217 rpc_init_wait_queue(&server->roc_rpcwaitq, "pNFS ROC"); in pnfs_init_server()
229 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() argument
442 * Mark a server as ready or failed
553 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server() argument
555 if (server->nlm_host) in nfs_destroy_server()
556 nlmclnt_done(server->nlm_host); in nfs_destroy_server()
562 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd() argument
565 struct nfs_client *clp = server->nfs_client; in nfs_start_lockd()
571 .noresvport = server in nfs_start_lockd()
606 nfs_init_server_rpcclient(struct nfs_server *server, const struct rpc_timeout *timeo, rpc_authflavor_t pseudoflavour) nfs_init_server_rpcclient() argument
667 nfs_init_server(struct nfs_server *server, const struct fs_context *fc) nfs_init_server() argument
751 nfs_server_set_fsinfo(struct nfs_server *server, struct nfs_fsinfo *fsinfo) nfs_server_set_fsinfo() argument
822 nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs_fattr *fattr) nfs_probe_fsinfo() argument
877 nfs_server_insert_lists(struct nfs_server *server) nfs_server_insert_lists() argument
891 nfs_server_remove_lists(struct nfs_server *server) nfs_server_remove_lists() argument
915 struct nfs_server *server; nfs_alloc_server() local
951 nfs_free_server(struct nfs_server *server) nfs_free_server() argument
981 struct nfs_server *server; nfs_create_server() local
1049 struct nfs_server *server; nfs_clone_server() local
1261 struct nfs_server *server; nfs_volume_list_show() local
[all...]
/foundation/communication/netstack/test/unittest/tls_test/server/
H A Dtls_socket_branch_test.cpp71 TLSSocket server; in HWTEST_F() local
72 auto testString = server.MakeAddressString(addr); in HWTEST_F()
77 testString = server.MakeAddressString(&addrInfo); in HWTEST_F()
81 testString = server.MakeAddressString(&addrInfo); in HWTEST_F()
85 testString = server.MakeAddressString(&addrInfo); in HWTEST_F()
92 server.GetAddr(address, &addr4, &addr6, &addr, &len); in HWTEST_F()
97 TLSSocket server; in HWTEST_F() local
99 server.MakeIpSocket(family); in HWTEST_F()
102 server.MakeIpSocket(family); in HWTEST_F()
105 server in HWTEST_F()
153 TLSSocket server; HWTEST_F() local
203 TLSSocket server; HWTEST_F() local
[all...]
/foundation/communication/netstack/test/unittest/tlssocket/server/
H A Dtls_socket_branch_test.cpp71 TLSSocket server; in HWTEST_F() local
72 auto testString = server.MakeAddressString(addr); in HWTEST_F()
77 testString = server.MakeAddressString(&addrInfo); in HWTEST_F()
81 testString = server.MakeAddressString(&addrInfo); in HWTEST_F()
85 testString = server.MakeAddressString(&addrInfo); in HWTEST_F()
92 server.GetAddr(address, &addr4, &addr6, &addr, &len); in HWTEST_F()
97 TLSSocket server; in HWTEST_F() local
99 server.MakeIpSocket(family); in HWTEST_F()
102 server.MakeIpSocket(family); in HWTEST_F()
105 server in HWTEST_F()
153 TLSSocket server; HWTEST_F() local
203 TLSSocket server; HWTEST_F() local
[all...]

Completed in 14 milliseconds

12345678910>>...57