Home
last modified time | relevance | path

Searched full:server (Results 1 – 25 of 1185) sorted by relevance

12345678910>>...48

/Linux-v6.6/fs/afs/
Dserver.c2 /* AFS server record management
14 static unsigned afs_server_gc_delay = 10; /* Server record timeout in seconds */
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()
42 hlist_for_each_entry_rcu(server, &net->fs_addresses6, addr6_link) { in afs_find_server()
43 alist = rcu_dereference(server->addresses); in afs_find_server()
58 hlist_for_each_entry_rcu(server, &net->fs_addresses4, addr4_link) { in afs_find_server()
[all …]
Dfs_probe.c20 * outstanding server count.
23 struct afs_server *server, bool fast) in afs_schedule_fs_probe() argument
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, !responded); in afs_finished_fs_probe()
[all …]
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->probe_wq); in afs_done_one_vl_probe()
[all …]
Dserver_list.c18 afs_unuse_server(net, slist->servers[i].server, in afs_put_serverlist()
25 * Build a server list from a VLDB record.
33 struct afs_server *server; in afs_alloc_server_list() local
50 /* Make sure a records exists for each server in the list. */ in afs_alloc_server_list()
55 server = afs_lookup_server(cell, key, &vldb->fs_server[i], in afs_alloc_server_list()
57 if (IS_ERR(server)) { in afs_alloc_server_list()
58 ret = PTR_ERR(server); in afs_alloc_server_list()
67 if (memcmp(&slist->servers[j].server->uuid, in afs_alloc_server_list()
68 &server->uuid, in afs_alloc_server_list()
69 sizeof(server->uuid)) >= 0) in afs_alloc_server_list()
[all …]
Drotate.c18 * Begin iteration through a server list, starting with the vnode's last used
19 * server if possible, or the last recorded good server if not.
24 struct afs_server *server; in afs_start_fs_iteration() local
41 server = op->server_list->servers[i].server; in afs_start_fs_iteration()
42 if (server == cb_server) { in afs_start_fs_iteration()
48 /* If we have a lock outstanding on a server that's no longer in afs_start_fs_iteration()
49 * serving this vnode, then we can't switch to another server in afs_start_fs_iteration()
112 struct afs_server *server; in afs_select_fileserver() local
145 * might involve the server being busy or the volume having been moved. in afs_select_fileserver()
173 /* If the server list didn't change, then assume that in afs_select_fileserver()
[all …]
/Linux-v6.6/fs/smb/client/
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()
110 if (atomic_read(&server->num_cmds[smb_cmd]) == 0) { in __release_mid()
111 server->slowest_cmd[smb_cmd] = roundtrip_time; in __release_mid()
112 server->fastest_cmd[smb_cmd] = roundtrip_time; in __release_mid()
[all …]
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->hostname); in reconn_set_ipaddr_from_hostname()
[all …]
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()
125 if (chan->server == server) { in smb2_get_sign_key()
146 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked() argument
[all …]
Dcifs_debug.c38 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server) in cifs_dump_detail() argument
47 server->ops->calc_smb_size(smb)); in cifs_dump_detail()
51 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids() argument
56 if (server == NULL) in cifs_dump_mids()
60 spin_lock(&server->mid_lock); in cifs_dump_mids()
61 list_for_each_entry(mid_entry, &server->pending_mid_q, qhead) { in cifs_dump_mids()
78 cifs_dump_detail(mid_entry->resp_buf, server); in cifs_dump_mids()
83 spin_unlock(&server->mid_lock); in cifs_dump_mids()
117 if (tcon->ses->server->ops->dump_share_caps) in cifs_debug_tcon()
118 tcon->ses->server->ops->dump_share_caps(m, tcon); in cifs_debug_tcon()
[all …]
Dcifsencrypt.c172 struct TCP_Server_Info *server, char *signature, in __cifs_calc_signature() argument
181 if (!is_smb1(server)) { in __cifs_calc_signature()
224 * should be called with the server->srv_mutex held.
227 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature() argument
231 if (!rqst->rq_iov || !signature || !server) in cifs_calc_signature()
234 rc = cifs_alloc_hash("md5", &server->secmech.md5); in cifs_calc_signature()
238 rc = crypto_shash_init(server->secmech.md5); in cifs_calc_signature()
244 rc = crypto_shash_update(server->secmech.md5, in cifs_calc_signature()
245 server->session_key.response, server->session_key.len); in cifs_calc_signature()
251 return __cifs_calc_signature(rqst, server, signature, server->secmech.md5); in cifs_calc_signature()
[all …]
Dsmb2ops.c34 change_conf(struct TCP_Server_Info *server) in change_conf() argument
36 server->credits += server->echo_credits + server->oplock_credits; in change_conf()
37 if (server->credits > server->max_credits) in change_conf()
38 server->credits = server->max_credits; in change_conf()
39 server->oplock_credits = server->echo_credits = 0; in change_conf()
40 switch (server->credits) { in change_conf()
44 server->echoes = false; in change_conf()
45 server->oplocks = false; in change_conf()
48 server->echoes = true; in change_conf()
49 server->oplocks = false; in change_conf()
[all …]
Dsmb2pdu.c81 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required()
89 struct TCP_Server_Info *server) in smb2_hdr_assemble() argument
97 if (server) { in smb2_hdr_assemble()
99 if (server->dialect >= SMB30_PROT_ID) { in smb2_hdr_assemble()
105 if (SERVER_IS_CHAN(server)) in smb2_hdr_assemble()
107 cpu_to_le16(server->primary_server->channel_sequence_num); in smb2_hdr_assemble()
110 cpu_to_le16(server->channel_sequence_num); in smb2_hdr_assemble()
112 spin_lock(&server->req_lock); in smb2_hdr_assemble()
114 if (server->credits >= server->max_credits) in smb2_hdr_assemble()
118 min_t(int, server->max_credits - in smb2_hdr_assemble()
[all …]
Dsess.c31 is_server_using_iface(struct TCP_Server_Info *server, in is_server_using_iface() argument
36 struct sockaddr_in *s4 = (struct sockaddr_in *)&server->dstaddr; in is_server_using_iface()
37 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *)&server->dstaddr; in is_server_using_iface()
39 if (server->dstaddr.ss_family != iface->sockaddr.ss_family) in is_server_using_iface()
41 if (server->dstaddr.ss_family == AF_INET) { in is_server_using_iface()
44 } else if (server->dstaddr.ss_family == AF_INET6) { in is_server_using_iface()
74 struct TCP_Server_Info *server) in cifs_ses_get_chan_index() argument
79 if (ses->chans[i].server == server) in cifs_ses_get_chan_index()
84 if (server) in cifs_ses_get_chan_index()
85 cifs_dbg(VFS, "unable to get chan index for server: 0x%llx", in cifs_ses_get_chan_index()
[all …]
/Linux-v6.6/fs/nfs/
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->flags & NFS_MOUNT_NORESVPORT ? in nfs_start_lockd()
[all …]
Dnfs4client.c48 * Per auth flavor data server rpc clients
129 * Find or create a DS rpc client with th MDS server rpc client auth flavor
238 * Set up the connection to the server before we add add to the in nfs4_alloc_client()
385 * The create session reply races with the server back in nfs41_init_client()
487 * "drop," but server trunking discovery claims "drop" and "keep" are
488 * actually the same server. Swap the callback IDs so that "keep"
489 * will continue to use the callback ident the server now knows about,
574 * nfs40_walk_client_list - Find server that recognizes a client ID
611 * caused the server to return a new cl_confirm. So if in nfs40_walk_client_list()
613 * server that just returned the same cl_confirm by in nfs40_walk_client_list()
[all …]
Dnfs3client.c27 static void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() argument
29 if (server->flags & NFS_MOUNT_NOACL) in nfs_init_server_aclclient()
32 server->client_acl = rpc_bind_new_program(server->client, &nfsacl_program, 3); in nfs_init_server_aclclient()
33 if (IS_ERR(server->client_acl)) in nfs_init_server_aclclient()
36 nfs_sysfs_link_rpc_client(server, server->client_acl, NULL); in nfs_init_server_aclclient()
39 server->caps |= NFS_CAP_ACLS; in nfs_init_server_aclclient()
43 server->caps &= ~NFS_CAP_ACLS; in nfs_init_server_aclclient()
46 static inline void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() argument
48 server->flags &= ~NFS_MOUNT_NOACL; in nfs_init_server_aclclient()
49 server->caps &= ~NFS_CAP_ACLS; in nfs_init_server_aclclient()
[all …]
Dsysfs.c235 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); in shutdown_show() local
236 bool shutdown = server->flags & NFS_MOUNT_SHUTDOWN; in shutdown_show()
244 struct nfs_server *server; in shutdown_store() local
247 server = container_of(kobj, struct nfs_server, kobj); in shutdown_store()
257 if (server->flags & NFS_MOUNT_SHUTDOWN) in shutdown_store()
260 server->flags |= NFS_MOUNT_SHUTDOWN; in shutdown_store()
261 shutdown_client(server->client); in shutdown_store()
262 shutdown_client(server->nfs_client->cl_rpcclient); in shutdown_store()
264 if (!IS_ERR(server->client_acl)) in shutdown_store()
265 shutdown_client(server->client_acl); in shutdown_store()
[all …]
Ddelegation.c78 static void nfs_mark_return_delegation(struct nfs_server *server, in nfs_mark_return_delegation() argument
82 set_bit(NFS4CLNT_DELEGRETURN, &server->nfs_client->cl_state); in nfs_mark_return_delegation()
362 struct nfs_server *server) in nfs_detach_delegation() argument
364 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation()
376 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation() local
382 delegation = nfs_detach_delegation(nfsi, delegation, server); in nfs_inode_detach_delegation()
433 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation() local
434 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation()
474 dfprintk(FILE, "%s: server %s handed out " in nfs_inode_set_delegation()
507 list_add_tail_rcu(&delegation->super_list, &server->delegations); in nfs_inode_set_delegation()
[all …]
/Linux-v6.6/fs/nfsd/
DKconfig3 tristate "NFS server support"
16 protocol. To compile the NFS server support as a module,
19 You may choose to use a user-space NFS server instead, in which
25 the Linux NFS server implementation is available via the
29 available to clients mounting the NFS server on this system.
36 bool "NFS server support for NFS version 2 (DEPRECATED)"
47 bool "NFS server support for the NFSv2 ACL protocol extension"
51 bool "NFS server support for the NFSv3 ACL protocol extension"
61 This option enables support in your system's NFS server for the
63 POSIX ACLs on files exported by your system's NFS server. NFS
[all …]
/Linux-v6.6/arch/powerpc/sysdev/xics/
Dics-opal.c29 static int ics_opal_mangle_server(int server) in ics_opal_mangle_server() argument
32 return server << 2; in ics_opal_mangle_server()
35 static int ics_opal_unmangle_server(int server) in ics_opal_unmangle_server() argument
38 return server >> 2; in ics_opal_unmangle_server()
45 int server; in ics_opal_unmask_irq() local
52 server = xics_get_irq_server(d->irq, irq_data_get_affinity_mask(d), 0); in ics_opal_unmask_irq()
53 server = ics_opal_mangle_server(server); in ics_opal_unmask_irq()
55 rc = opal_set_xive(hw_irq, server, DEFAULT_PRIORITY); in ics_opal_unmask_irq()
57 pr_err("%s: opal_set_xive(irq=%d [hw 0x%x] server=%x)" in ics_opal_unmask_irq()
59 __func__, d->irq, hw_irq, server, rc); in ics_opal_unmask_irq()
[all …]
/Linux-v6.6/net/netfilter/ipvs/
DKconfig3 # IP Virtual Server configuration
6 tristate "IP virtual server support"
10 IP Virtual Server support will let you build a high-performance
11 virtual server based on cluster of two or more real servers. This
17 virtual server via NAT, virtual server via tunneling and virtual
18 server via direct routing. The several scheduling algorithms can
19 be used to choose which server the connection is directed to,
39 bool "IP virtual server debugging"
42 debugging the IP virtual server code. You can change the debug
61 table size yourself, according to your virtual server application.
[all …]
/Linux-v6.6/drivers/infiniband/ulp/rtrs/
DREADME7 between client and server machines using RDMA (InfiniBand, RoCE, iWarp)
27 An established connection between a client and a server is called rtrs
29 server side for a given client for rdma transfer. A session
31 between client and server. Those are used for load balancing and failover.
36 chunks reserved for him on the server side. Their number, size and addresses
37 need to be exchanged between client and server during the connection
39 inform the server about the session name and identify each path and connection
42 On an established session client sends to server write or read messages.
43 Server uses immediate field to tell the client which request is being
44 acknowledged and for errno. Client uses immediate field to tell the server
[all …]
/Linux-v6.6/Documentation/admin-guide/cifs/
Dusage.rst66 and maximum number of simultaneous requests to one server can be configured.
100 //server/usersharename /mnt/username cifs user 0 0
132 to the file /etc/fstab for each //server/share you wish to mount, but
142 (CIFS/SMB1), we recommend using a server that supports the SNIA CIFS
146 not have a server that supports the Unix extensions for CIFS (such as Samba
147 2.2.5 or later). To enable the Unix CIFS Extensions in the Samba server, add
152 to your smb.conf file on the server. Note that the following smb.conf settings
153 are also useful (on the Samba server) when the majority of clients are Unix or
160 Note that server ea support is required for supporting xattrs from the Linux
178 enabled on the server and client, subsequent setattr calls (e.g. chmod) can
[all …]
/Linux-v6.6/Documentation/block/
Dublk.rst30 in this document, ``ublk server`` refers to generic ublk userspace
43 assigned by one queue wide unique tag. ublk server assigns unique tag to each
51 done by io_uring, but also the preferred IO handling in ublk server is io_uring
64 ublk requires userspace ublk server to handle real block device logic.
102 Add a ublk char device (``/dev/ublkc*``) which is talked with ublk server
106 for which the info is negotiated with the driver and sent back to the server.
118 After the server prepares userspace resources (such as creating per-queue
126 ublk server will release resources (such as destroying per-queue pthread &
137 that each queue's affinity info is available. The server sends
144 For retrieving device info via ``ublksrv_ctrl_dev_info``. It is the server's
[all …]
/Linux-v6.6/Documentation/filesystems/nfs/
Dclient-identifier.rst25 Simply put, an NFSv4 server creates a lease for each NFSv4 client.
26 The server collects each client's file open and lock state under
30 While a lease remains valid, the server holding that lease
34 the NFSv4 protocol allows the server to remove the client's open
40 In addition, each NFSv4 server manages a persistent list of client
41 leases. When the server restarts and clients attempt to recover
42 their state, the server uses this list to distinguish amongst
43 clients that held state before the server restarted and clients
45 persist safely across server restarts.
57 server to distinguish successive boot epochs of the same client.
[all …]

12345678910>>...48