/Linux-v5.15/fs/afs/ |
D | server.c | 2 /* 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 …]
|
D | fs_probe.c | 20 * 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 …]
|
D | vl_probe.c | 18 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 …]
|
D | server_list.c | 18 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 …]
|
D | rotate.c | 18 * 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-v5.15/fs/cifs/ |
D | transport.c | 41 AllocMidQEntry(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in AllocMidQEntry() argument 45 if (server == NULL) { in AllocMidQEntry() 60 temp->server = server; in AllocMidQEntry() 81 __le16 command = midEntry->server->vals->lock_cmd; in _cifs_mid_q_entry_release() 86 struct TCP_Server_Info *server = midEntry->server; in _cifs_mid_q_entry_release() local 90 server->ops->handle_cancelled_mid) in _cifs_mid_q_entry_release() 91 server->ops->handle_cancelled_mid(midEntry, server); in _cifs_mid_q_entry_release() 106 if (atomic_read(&server->num_cmds[smb_cmd]) == 0) { in _cifs_mid_q_entry_release() 107 server->slowest_cmd[smb_cmd] = roundtrip_time; in _cifs_mid_q_entry_release() 108 server->fastest_cmd[smb_cmd] = roundtrip_time; in _cifs_mid_q_entry_release() [all …]
|
D | connect.c | 61 /* Drop the connection to not overload the server */ 64 static int ip_connect(struct TCP_Server_Info *server); 65 static int generic_ip_connect(struct TCP_Server_Info *server); 73 * This should be called with server->srv_mutex held. 75 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 len = strlen(server->hostname) + 3; in reconn_set_ipaddr_from_hostname() 93 scnprintf(unc, len, "\\\\%s", server->hostname); in reconn_set_ipaddr_from_hostname() 99 cifs_dbg(FYI, "%s: failed to resolve server part of %s to IP: %d\n", in reconn_set_ipaddr_from_hostname() 100 __func__, server->hostname, rc); in reconn_set_ipaddr_from_hostname() [all …]
|
D | cifsencrypt.c | 28 struct TCP_Server_Info *server, char *signature, in __cifs_calc_signature() argument 35 int is_smb2 = server->vals->header_preamble_size == 0; in __cifs_calc_signature() 97 * should be called with the server->srv_mutex held. 100 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature() argument 104 if (!rqst->rq_iov || !signature || !server) in cifs_calc_signature() 107 rc = cifs_alloc_hash("md5", &server->secmech.md5, in cifs_calc_signature() 108 &server->secmech.sdescmd5); in cifs_calc_signature() 112 rc = crypto_shash_init(&server->secmech.sdescmd5->shash); in cifs_calc_signature() 118 rc = crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature() 119 server->session_key.response, server->session_key.len); in cifs_calc_signature() [all …]
|
D | smb2transport.c | 31 smb3_crypto_shash_allocate(struct TCP_Server_Info *server) in smb3_crypto_shash_allocate() argument 33 struct cifs_secmech *p = &server->secmech; in smb3_crypto_shash_allocate() 53 smb311_crypto_shash_allocate(struct TCP_Server_Info *server) in smb311_crypto_shash_allocate() argument 55 struct cifs_secmech *p = &server->secmech; in smb311_crypto_shash_allocate() 82 int smb2_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb2_get_sign_key() argument 120 if (chan->server == server) { in smb2_get_sign_key() 137 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked() argument 141 list_for_each_entry(ses, &server->smb_ses_list, smb_ses_list) { in smb2_find_smb_ses_unlocked() 152 smb2_find_smb_ses(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses() argument 157 ses = smb2_find_smb_ses_unlocked(server, ses_id); in smb2_find_smb_ses() [all …]
|
D | cifs_debug.c | 36 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server) in cifs_dump_detail() argument 45 server->ops->calc_smb_size(smb, server)); in cifs_dump_detail() 49 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_entry(mid_entry, &server->pending_mid_q, qhead) { in cifs_dump_mids() 76 cifs_dump_detail(mid_entry->resp_buf, server); in cifs_dump_mids() 115 if (tcon->ses->server->ops->dump_share_caps) in cifs_debug_tcon() 116 tcon->ses->server->ops->dump_share_caps(m, tcon); in cifs_debug_tcon() 128 struct TCP_Server_Info *server = chan->server; in cifs_dump_channel() local 133 "\n\t\tLocal Users To Server: %d SecMode: 0x%x Req On Wire: %d" in cifs_dump_channel() [all …]
|
D | smb2ops.c | 31 change_conf(struct TCP_Server_Info *server) in change_conf() argument 33 server->credits += server->echo_credits + server->oplock_credits; in change_conf() 34 server->oplock_credits = server->echo_credits = 0; in change_conf() 35 switch (server->credits) { in change_conf() 39 server->echoes = false; in change_conf() 40 server->oplocks = false; in change_conf() 43 server->echoes = true; in change_conf() 44 server->oplocks = false; in change_conf() 45 server->echo_credits = 1; in change_conf() 48 server->echoes = true; in change_conf() [all …]
|
D | smb2pdu.c | 81 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 89 struct TCP_Server_Info *server) in smb2_hdr_assemble() argument 94 if (server) { in smb2_hdr_assemble() 95 spin_lock(&server->req_lock); in smb2_hdr_assemble() 97 if (server->credits >= server->max_credits) in smb2_hdr_assemble() 101 min_t(int, server->max_credits - in smb2_hdr_assemble() 102 server->credits, 10)); in smb2_hdr_assemble() 103 spin_unlock(&server->req_lock); in smb2_hdr_assemble() 114 if (server && (server->capabilities & SMB2_GLOBAL_CAP_LARGE_MTU)) in smb2_hdr_assemble() 125 * to pass the path on the Open SMB prefixed by \\server\share. in smb2_hdr_assemble() [all …]
|
D | cifsglob.h | 86 * defaults to 128 credits, the Windows server allows clients up to 87 * 512 credits (or 8K for later versions), and the NetApp server 91 * to reduce possibility of seeing more server credit overflow bugs. 152 __u32 server_flags; /* sent by server in type 2 ntlmssp exchange */ 153 unsigned char ciphertext[CIFS_CPHTXT_SIZE]; /* sent to server */ 176 * A smb_rqst represents a complete request to be issued to a server. It's 221 void (*add_credits)(struct TCP_Server_Info *server, 228 void (*revert_current_mid)(struct TCP_Server_Info *server, 252 void (*downgrade_oplock)(struct TCP_Server_Info *server, 260 /* negotiate to the server */ [all …]
|
/Linux-v5.15/fs/nfs/ |
D | client.c | 216 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 444 * Mark a server as ready or failed 552 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server() argument 554 if (server->nlm_host) in nfs_destroy_server() 555 nlmclnt_done(server->nlm_host); in nfs_destroy_server() 561 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd() argument 564 struct nfs_client *clp = server->nfs_client; in nfs_start_lockd() 570 .noresvport = server->flags & NFS_MOUNT_NORESVPORT ? in nfs_start_lockd() [all …]
|
D | nfs4client.c | 47 * Per auth flavor data server rpc clients 128 * Find or create a DS rpc client with th MDS server rpc client auth flavor 235 * Set up the connection to the server before we add add to the in nfs4_alloc_client() 381 * The create session reply races with the server back in nfs41_init_client() 481 * "drop," but server trunking discovery claims "drop" and "keep" are 482 * actually the same server. Swap the callback IDs so that "keep" 483 * will continue to use the callback ident the server now knows about, 568 * nfs40_walk_client_list - Find server that recognizes a client ID 605 * caused the server to return a new cl_confirm. So if in nfs40_walk_client_list() 607 * server that just returned the same cl_confirm by in nfs40_walk_client_list() [all …]
|
D | nfs3client.c | 25 static void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() argument 27 if (server->flags & NFS_MOUNT_NOACL) in nfs_init_server_aclclient() 30 server->client_acl = rpc_bind_new_program(server->client, &nfsacl_program, 3); in nfs_init_server_aclclient() 31 if (IS_ERR(server->client_acl)) in nfs_init_server_aclclient() 35 server->caps |= NFS_CAP_ACLS; in nfs_init_server_aclclient() 39 server->caps &= ~NFS_CAP_ACLS; in nfs_init_server_aclclient() 42 static inline void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() argument 44 server->flags &= ~NFS_MOUNT_NOACL; in nfs_init_server_aclclient() 45 server->caps &= ~NFS_CAP_ACLS; in nfs_init_server_aclclient() 51 struct nfs_server *server = nfs_create_server(fc); in nfs3_create_server() local [all …]
|
D | delegation.c | 78 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() 364 struct nfs_server *server) in nfs_detach_delegation() argument 366 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation() 378 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation() local 384 delegation = nfs_detach_delegation(nfsi, delegation, server); in nfs_inode_detach_delegation() 435 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation() local 436 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation() 476 dfprintk(FILE, "%s: server %s handed out " in nfs_inode_set_delegation() 509 list_add_tail_rcu(&delegation->super_list, &server->delegations); in nfs_inode_set_delegation() [all …]
|
D | super.c | 17 * - superblocks are indexed on server only - all inodes, dentries, etc. associated with a 18 * particular server are held in the same superblock 185 struct nfs_server *server = NFS_SB(sb); in nfs_sb_active() local 189 if (atomic_inc_return(&server->active) != 1) in nfs_sb_active() 197 struct nfs_server *server = NFS_SB(sb); in nfs_sb_deactive() local 199 if (atomic_dec_and_test(&server->active)) in nfs_sb_deactive() 208 struct nfs_server *server, *last = NULL; in __nfs_list_for_each_server() local 212 list_for_each_entry_rcu(server, head, client_link) { in __nfs_list_for_each_server() 213 if (!(server->super && nfs_sb_active(server->super))) in __nfs_list_for_each_server() 218 last = server; in __nfs_list_for_each_server() [all …]
|
D | nfs4proc.c | 96 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *… 113 struct nfs_server *server, 142 static inline u32 *nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() argument 145 return server->attr_bitmask; in nfs4_bitmask() 147 return server->attr_bitmask_nl; in nfs4_bitmask() 158 nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() argument 159 { return server->attr_bitmask; } in nfs4_bitmask() 333 * when talking to the server, we always send cookie 0 in nfs4_setup_readdir() 369 static void nfs4_test_and_free_stateid(struct nfs_server *server, in nfs4_test_and_free_stateid() argument 373 const struct nfs4_minor_version_ops *ops = server->nfs_client->cl_mvops; in nfs4_test_and_free_stateid() [all …]
|
/Linux-v5.15/fs/nfsd/ |
D | Kconfig | 3 tristate "NFS server support" 15 protocol. To compile the NFS server support as a module, 18 You may choose to use a user-space NFS server instead, in which 24 the Linux NFS server implementation is available via the 28 available to clients mounting the NFS server on this system. 39 bool "NFS server support for NFS version 3" 42 This option enables support in your system's NFS server for 48 bool "NFS server support for the NFSv3 ACL protocol extension" 59 This option enables support in your system's NFS server for the 61 POSIX ACLs on files exported by your system's NFS server. NFS [all …]
|
/Linux-v5.15/arch/powerpc/sysdev/xics/ |
D | ics-opal.c | 30 static int ics_opal_mangle_server(int server) in ics_opal_mangle_server() argument 33 return server << 2; in ics_opal_mangle_server() 36 static int ics_opal_unmangle_server(int server) in ics_opal_unmangle_server() argument 39 return server >> 2; in ics_opal_unmangle_server() 46 int server; in ics_opal_unmask_irq() local 53 server = xics_get_irq_server(d->irq, irq_data_get_affinity_mask(d), 0); in ics_opal_unmask_irq() 54 server = ics_opal_mangle_server(server); in ics_opal_unmask_irq() 56 rc = opal_set_xive(hw_irq, server, DEFAULT_PRIORITY); in ics_opal_unmask_irq() 58 pr_err("%s: opal_set_xive(irq=%d [hw 0x%x] server=%x)" in ics_opal_unmask_irq() 60 __func__, d->irq, hw_irq, server, rc); in ics_opal_unmask_irq() [all …]
|
/Linux-v5.15/net/netfilter/ipvs/ |
D | Kconfig | 3 # 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 60 to your virtual server application. It is good to set the table size [all …]
|
/Linux-v5.15/drivers/infiniband/ulp/rtrs/ |
D | README | 7 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-v5.15/Documentation/admin-guide/cifs/ |
D | usage.rst | 66 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-v5.15/drivers/block/rnbd/ |
D | README | 9 (client and server) that allow for remote access of a block device on 10 the server over RTRS protocol using the RDMA (InfiniBand, RoCE, iWARP) 14 I/O is transferred between client and server by the RTRS transport 26 Server side: 35 on client and on server sides; "path=" is a destination IP address or 39 mapped from the server side. After the session to the server machine is 44 RNBD-Server Module Parameters 50 When a device is mapped from the client, the server generates the path 51 to the block device on the server side by concatenating dev_search_path 64 1. Before mapping first device from a given server, client sends an [all …]
|