/linux/fs/afs/ |
A D | server.c | 35 if (server) in afs_find_server() 37 server = NULL; in afs_find_server() 83 return server; in afs_find_server() 102 if (server) in afs_find_server_by_uuid() 129 return server; in afs_find_server_by_uuid() 228 if (!server) in afs_alloc_server() 398 if (!server) in afs_put_server() 439 trace_afs_server(server, atomic_read(&server->ref), in afs_server_rcu() 490 trace_afs_server(server, atomic_read(&server->ref), in afs_gc_servers() 556 trace_afs_server(server, atomic_read(&server->ref), in afs_manage_servers() [all …]
|
A D | fs_probe.c | 30 atj = server->probed_at; in afs_schedule_fs_probe() 49 server->rtt = UINT_MAX; in afs_finished_fs_probe() 104 struct afs_server *server = call->server; in afs_fileserver_probe_result() local 212 memset(&server->probe, 0, sizeof(server->probe)); in afs_fs_probe_fileserver() 247 server = slist->servers[i].server; in afs_wait_for_fs_probes() 263 server = slist->servers[i].server; in afs_wait_for_fs_probes() 275 server = slist->servers[i].server; in afs_wait_for_fs_probes() 293 server = slist->servers[i].server; in afs_wait_for_fs_probes() 408 if (server) in afs_fs_probe_dispatcher() 412 afs_dispatch_fs_probe(net, server, server == fast); in afs_fs_probe_dispatcher() [all …]
|
A D | vl_probe.c | 21 server->rtt = UINT_MAX; in afs_finished_vl_probe() 63 server->probe.error = 0; in afs_vlserver_probe_result() 68 server->probe.error = ret; in afs_vlserver_probe_result() 121 server->rtt = rtt_us; in afs_vlserver_probe_result() 157 read_lock(&server->lock); in afs_do_probe_vlserver() 163 memset(&server->probe, 0, sizeof(server->probe)); in afs_do_probe_vlserver() 195 server = vllist->servers[i].server; in afs_send_vl_probes() 224 server = vllist->servers[i].server; in afs_wait_for_vl_probes() 240 server = vllist->servers[i].server; in afs_wait_for_vl_probes() 252 server = vllist->servers[i].server; in afs_wait_for_vl_probes() [all …]
|
A D | server_list.c | 33 struct afs_server *server; in afs_alloc_server_list() local 57 if (IS_ERR(server)) { in afs_alloc_server_list() 58 ret = PTR_ERR(server); in afs_alloc_server_list() 68 &server->uuid, in afs_alloc_server_list() 69 sizeof(server->uuid)) >= 0) in afs_alloc_server_list() 72 if (slist->servers[j].server == server) { in afs_alloc_server_list() 73 afs_put_server(cell->net, server, in afs_alloc_server_list() 83 slist->servers[j].server = server; in afs_alloc_server_list() 113 if (old->servers[i].server != new->servers[i].server) in afs_annotate_server_list() 120 cur = old->servers[old->preferred].server; in afs_annotate_server_list() [all …]
|
A D | callback.c | 40 struct afs_cell *cell = server->cell; in afs_server_init_callback_work() 45 if (vnode->cb_server == server) { in afs_server_init_callback_work() 58 void afs_init_callback_state(struct afs_server *server) in afs_init_callback_state() argument 62 server->cb_s_break++; in afs_init_callback_state() 63 atomic_inc(&server->cell->fs_s_break); in afs_init_callback_state() 64 if (!list_empty(&server->cell->fs_open_mmaps)) in afs_init_callback_state() 65 queue_work(system_unbound_wq, &server->initcb_work); in afs_init_callback_state() 67 } while ((server = rcu_dereference(server->uuid_next))); in afs_init_callback_state() 190 volume = afs_lookup_volume_rcu(server->cell, vid); in afs_break_some_callbacks() 217 _enter("%p,%zu,", server, count); in afs_break_callbacks() [all …]
|
A D | rotate.c | 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() 112 struct afs_server *server; in afs_select_fileserver() local 304 op->server = NULL; in afs_select_fileserver() 331 if (op->server) { in afs_select_fileserver() 335 op->server = NULL; in afs_select_fileserver() 365 server = op->server_list->servers[op->index].server; in afs_select_fileserver() 373 op->server = server; in afs_select_fileserver() 375 vnode->cb_server = server; in afs_select_fileserver() [all …]
|
/linux/fs/cifs/ |
A D | transport.c | 60 temp->server = server; in AllocMidQEntry() 86 struct TCP_Server_Info *server = midEntry->server; in _cifs_mid_q_entry_release() local 437 server->conn_id, server->hostname); in __smb_send_rqst() 539 if (server->in_flight > server->max_in_flight) in wait_for_free_credits() 540 server->max_in_flight = server->in_flight; in wait_for_free_credits() 619 server->conn_id, server->hostname, in wait_for_free_credits() 641 server->max_in_flight = server->in_flight; in wait_for_free_credits() 1010 struct TCP_Server_Info *server = mid->server; in cifs_compound_callback() local 1082 if (!ses || !ses->server || !server) { in compound_send_recv() 1350 server = ses->server; in SendReceive() [all …]
|
A D | connect.c | 182 trace_smb3_reconnect(server->CurrentMid, server->conn_id, server->hostname); in cifs_mark_tcp_ses_conns_for_reconnect() 190 pserver = CIFS_SERVER_IS_CHAN(server) ? server->primary_server : server; in cifs_mark_tcp_ses_conns_for_reconnect() 474 (server->ops->can_echo && !server->ops->can_echo(server)) || in cifs_echo_request() 478 rc = server->ops->echo ? server->ops->echo(server) : -ENOSYS; in cifs_echo_request() 539 (!server->ops->can_echo || server->ops->can_echo(server)) && in server_unresponsive() 556 val = server->credits + server->echo_credits + server->oplock_credits; in zero_credits() 897 char *buf = server->large_buf ? server->bigbuf : server->smallbuf; in cifs_handle_standard() 2027 ses->server = server; in cifs_get_smb_ses() 2067 ses->chans[0].server = server; in cifs_get_smb_ses() 3075 mnt_ctx->server = server; in mount_get_conns() [all …]
|
A D | cifsencrypt.c | 119 server->session_key.response, server->session_key.len); in cifs_calc_signature() 148 if (!server->session_estab) { in cifs_sign_rqst() 158 ++server->sequence_number; in cifs_sign_rqst() 209 if (!server->session_estab) in cifs_verify_signature() 410 wchar_t *server; in calc_ntlmv2_hash() local 481 if (server == NULL) { in calc_ntlmv2_hash() 489 (char *)server, 2 * len); in calc_ntlmv2_hash() 490 kfree(server); in calc_ntlmv2_hash() 728 if (server->secmech.md5) { in cifs_crypto_secmech_release() 730 server->secmech.md5 = NULL; in cifs_crypto_secmech_release() [all …]
|
A D | smb2transport.c | 119 if (chan->server == server) { in smb2_get_sign_key() 302 struct TCP_Server_Info *server = ses->server; in generate_key() local 397 struct TCP_Server_Info *server = ses->server; in generate_smb3signingkey() local 554 hash = server->secmech.cmacaes; in smb3_calc_signature() 634 rc = server->ops->calc_signature(rqst, server, false); in smb2_sign_rqst() 650 server->ignore_signature || in smb2_verify_signature() 651 (!server->session_estab)) in smb2_verify_signature() 672 rc = server->ops->calc_signature(rqst, server, true); in smb2_verify_signature() 698 get_next_mid(server); in smb2_seq_num_into_buf() 708 if (server == NULL) { in smb2_mid_entry_alloc() [all …]
|
A D | cifs_debug.c | 45 server->ops->calc_smb_size(smb, server)); in cifs_dump_detail() 54 if (server == NULL) in cifs_dump_mids() 128 struct TCP_Server_Info *server = chan->server; in cifs_dump_channel() local 136 server->credits, in cifs_dump_channel() 137 server->dialect, in cifs_dump_channel() 141 server->sec_mode, in cifs_dump_channel() 285 if (!server->rdma) in cifs_debug_data_proc_show() 351 server->credits, server->dialect); in cifs_debug_data_proc_show() 358 if (server->sign) in cifs_debug_data_proc_show() 365 if (server->rdma) in cifs_debug_data_proc_show() [all …]
|
A D | smb2pdu.c | 96 if (server->credits >= server->max_credits) in smb2_hdr_assemble() 180 (!tcon->ses->server) || !server) in smb2_reconnect() 1702 server = ses->server; in SMB2_logoff() 1777 server = ses->server; in SMB2_tcon() 3949 if (server->rdma && rdata && !server->sign && in smb2_new_read_req() 4022 WARN_ONCE(rdata->server != mid->server, in smb2_readv_callback() 4024 rdata->server, mid->server); in smb2_readv_callback() 4113 io_parms.server = server = rdata->server; in smb2_async_readv() 4261 WARN_ONCE(wdata->server != mid->server, in smb2_writev_callback() 4263 wdata->server, mid->server); in smb2_writev_callback() [all …]
|
A D | smb2ops.c | 33 server->credits += server->echo_credits + server->oplock_credits; in change_conf() 34 server->oplock_credits = server->echo_credits = 0; in change_conf() 57 server->credits -= server->echo_credits + server->oplock_credits; in change_conf() 58 return server->credits + server->echo_credits + server->oplock_credits; in change_conf() 205 has_credits(server, &server->credits, 1)); in smb2_wait_mtu_credits() 236 server->max_in_flight = server->in_flight; in smb2_wait_mtu_credits() 280 server->conn_id, server->hostname, scredits, in smb2_adjust_credits() 294 server->conn_id, server->hostname, scredits, in smb2_adjust_credits() 376 server->ops->calc_smb_size(buf, server)); in smb2_dump_detail() 5077 dw->server = server; in receive_encrypted_read() [all …]
|
A D | cifsglob.h | 529 #define HEADER_SIZE(server) (server->vals->header_size) argument 530 #define MAX_HEADER_SIZE(server) (server->vals->max_header_size) argument 699 #define CIFS_SERVER_IS_CHAN(server) (!!(server)->primary_server) argument 753 server->ops->add_credits(server, credits, optype); in add_credits() 761 server->ops->add_credits(server, credits, optype); in add_credits_and_wake_if() 769 server->ops->set_credits(server, val); in set_credits() 777 server->ops->adjust_credits(server, credits, payload_size) : 0; in adjust_credits() 783 return cpu_to_le64(server->ops->get_next_mid(server)); in get_next_mid64() 789 __u16 mid = server->ops->get_next_mid(server); in get_next_mid() 801 server->ops->revert_current_mid(server, val); in revert_current_mid() [all …]
|
A D | file.c | 545 server = tcon->ses->server; in cifs_open() 723 server = tcon->ses->server; in cifs_reopen_file() 974 server = tcon->ses->server; in cifs_closedir() 1931 server = tcon->ses->server; in cifs_write() 2471 wdata->server = server; in cifs_writepages() 2694 server = tcon->ses->server; in cifs_strict_fsync() 3094 wdata->server = server; in cifs_write_from_iter() 3639 server = rdata->server; in cifs_resend_rdata() 3802 rdata->server = server; in cifs_send_async_read() 4171 io_parms.server = server; in cifs_read() [all …]
|
A D | cifs_swn.h | 27 static inline bool cifs_swn_set_server_dstaddr(struct TCP_Server_Info *server) in cifs_swn_set_server_dstaddr() argument 29 if (server->use_swn_dstaddr) { in cifs_swn_set_server_dstaddr() 30 server->dstaddr = server->swn_dstaddr; in cifs_swn_set_server_dstaddr() 36 static inline void cifs_swn_reset_server_dstaddr(struct TCP_Server_Info *server) in cifs_swn_reset_server_dstaddr() argument 38 server->use_swn_dstaddr = false; in cifs_swn_reset_server_dstaddr() 48 static inline bool cifs_swn_set_server_dstaddr(struct TCP_Server_Info *server) { return false; } in cifs_swn_set_server_dstaddr() argument 49 static inline void cifs_swn_reset_server_dstaddr(struct TCP_Server_Info *server) {} in cifs_swn_reset_server_dstaddr() argument
|
/linux/fs/nfs/ |
A D | client.c | 795 if (server->dtsize > server->rsize) in nfs_server_set_fsinfo() 796 server->dtsize = server->rsize; in nfs_server_set_fsinfo() 799 server->acregmin = server->acregmax = 0; in nfs_server_set_fsinfo() 800 server->acdirmin = server->acdirmax = 0; in nfs_server_set_fsinfo() 810 rpc_setbufsize(server->client, server->wsize + 100, server->rsize + 100); in nfs_server_set_fsinfo() 950 if (!server) in nfs_alloc_server() 953 server->client = server->client_acl = ERR_PTR(-EINVAL); in nfs_alloc_server() 990 server->destroy(server); in nfs_free_server() 1020 if (!server) in nfs_create_server() 1087 if (!server) in nfs_clone_server() [all …]
|
A D | nfs4client.c | 910 .cred = server->cred, in nfs4_set_client() 948 server->nfs_client = clp; in nfs4_set_client() 1065 server->caps |= server->nfs_client->cl_mvops->init_caps; in nfs4_server_set_init_caps() 1113 if (server->namelen == 0 || server->namelen > NFS4_MAXNAMLEN) in nfs4_server_common_setup() 1190 if (!server) in nfs4_create_server() 1206 return server; in nfs4_create_server() 1209 nfs_free_server(server); in nfs4_create_server() 1225 if (!server) in nfs4_create_referral_server() 1283 return server; in nfs4_create_referral_server() 1286 nfs_free_server(server); in nfs4_create_referral_server() [all …]
|
A D | nfs3client.c | 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() 44 server->flags &= ~NFS_MOUNT_NOACL; in nfs_init_server_aclclient() 45 server->caps &= ~NFS_CAP_ACLS; in nfs_init_server_aclclient() 54 if (!IS_ERR(server)) in nfs3_create_server() 55 nfs_init_server_aclclient(server); in nfs3_create_server() 56 return server; in nfs3_create_server() [all …]
|
A D | delegation.c | 364 struct nfs_server *server) in nfs_detach_delegation() argument 684 struct nfs_server *server; in nfs_client_clear_delayed_delegations() local 850 struct nfs_server *server; in nfs_client_mark_return_all_delegations() local 914 struct nfs_server *server; in nfs_client_mark_return_unused_delegation_types() local 1030 struct nfs_server *server; in nfs_expire_unreferenced_delegations() local 1088 freeme = server->super; in nfs_delegation_find_inode_server() 1117 struct nfs_server *server; in nfs_delegation_find_inode() local 1154 struct nfs_server *server; in nfs_delegation_mark_reclaim() local 1185 server) != NULL) in nfs_server_reap_unclaimed_delegations() 1256 struct nfs_server *server; in nfs_mark_test_expired_all_delegations() local [all …]
|
A D | nfs4proc.c | 3351 .server = server, in nfs4_do_setattr() 3357 .server = server, in nfs4_do_setattr() 3943 .server = server, in _nfs4_lookup_root() 4169 .server = server, in _nfs4_proc_getattr() 4281 .server = server, in _nfs4_proc_lookup() 4403 .server = server, in _nfs4_proc_lookupp() 4452 .server = server, in _nfs4_proc_access() 4591 .server = server, in _nfs4_proc_remove() 4762 .server = server, in _nfs4_proc_link() 5974 .server = server, in _nfs4_get_security_label() [all …]
|
A D | super.c | 213 if (!(server->super && nfs_sb_active(server->super))) in __nfs_list_for_each_server() 218 last = server; in __nfs_list_for_each_server() 255 error = server->nfs_client->rpc_ops->statfs(server, fh, &res); in nfs_statfs() 733 server = NFS_SB(sb); in nfs_umount_begin() 932 return server; in nfs_try_mount_request() 941 return server; in nfs_try_mount_request() 1251 struct nfs_server *server = ctx->server; in nfs_get_tree_common() local 1254 ctx->server = NULL; in nfs_get_tree_common() 1255 if (IS_ERR(server)) in nfs_get_tree_common() 1284 server = NULL; in nfs_get_tree_common() [all …]
|
A D | pnfs_dev.c | 97 nfs4_get_device_info(struct nfs_server *server, in nfs4_get_device_info() argument 113 if (server->pnfs_curr_ld->max_deviceinfo_size && in nfs4_get_device_info() 118 __func__, server, max_resp_sz, max_pages); in nfs4_get_device_info() 135 pdev->layout_type = server->pnfs_curr_ld->id; in nfs4_get_device_info() 151 d = server->pnfs_curr_ld->alloc_deviceid_node(server, pdev, in nfs4_get_device_info() 179 d = _lookup_deviceid(server->pnfs_curr_ld, server->nfs_client, id, in __nfs4_find_get_deviceid() 195 d = __nfs4_find_get_deviceid(server, id, hash); in nfs4_find_get_deviceid() 201 trace_nfs4_find_deviceid(server, id, -ENOENT); in nfs4_find_get_deviceid() 217 trace_nfs4_find_deviceid(server, id, 0); in nfs4_find_get_deviceid() 259 d->ld = server->pnfs_curr_ld; in nfs4_init_deviceid_node() [all …]
|
/linux/arch/powerpc/sysdev/xics/ |
A 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() 39 return server >> 2; in ics_opal_unmangle_server() 46 int server; in ics_opal_unmask_irq() local 54 server = ics_opal_mangle_server(server); in ics_opal_unmask_irq() 78 rc = opal_set_xive(hw_irq, server, 0xff); in ics_opal_mask_real_irq() 101 int16_t server; in ics_opal_set_affinity() local 115 server = be16_to_cpu(oserver); in ics_opal_set_affinity() 157 __be16 server; in ics_opal_check() local 174 __be16 server; in ics_opal_mask_unknown() local [all …]
|
/linux/fs/nfsd/ |
A D | Kconfig | 3 tristate "NFS server support" 15 protocol. To compile the NFS server support as a module, 24 the Linux NFS server implementation is available via the 39 bool "NFS server support for NFS version 3" 63 access and modify ACLs on your NFS server. 71 bool "NFS server support for NFS version 4" 95 bool "NFSv4.1 server support for pNFS block layouts" 108 bool "NFSv4.1 server support for pNFS SCSI layouts" 129 accessible to both the server and the clients. See 139 bool "NFSv4.2 inter server to server COPY" [all …]
|