Home
last modified time | relevance | path

Searched refs:server (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/linux/fs/afs/
H A Dserver.c26 struct afs_server *server = (struct afs_server *)rxrpc_kernel_get_peer_data(peer); in afs_find_server() local
28 if (!server) in afs_find_server()
30 return afs_use_server(server, false, afs_server_trace_use_cm_call); in afs_find_server()
39 struct afs_server *server; in afs_find_server_by_uuid() local
47 server = rb_entry(p, struct afs_server, uuid_rb); in afs_find_server_by_uuid()
49 diff = memcmp(uuid, &server->uuid, sizeof(*uuid)); in afs_find_server_by_uuid()
55 if (test_bit(AFS_SERVER_FL_UNCREATED, &server->flags)) in afs_find_server_by_uuid()
57 afs_use_server(server, true, afs_server_trace_use_by_uuid); in afs_find_server_by_uuid()
58 return server; in afs_find_server_by_uuid()
72 struct afs_server *server; in afs_install_server() local
[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->probe_wq); in afs_done_one_vl_probe()
[all …]
H A Dfs_probe.c59 struct afs_server *server, bool fast) in afs_schedule_fs_probe() argument
66 atj = server->probed_at; in afs_schedule_fs_probe()
77 static void afs_finished_fs_probe(struct afs_net *net, struct afs_server *server, in afs_finished_fs_probe() argument
84 list_add_tail(&server->probe_link, &net->fs_probe_slow); in afs_finished_fs_probe()
86 server->rtt = UINT_MAX; in afs_finished_fs_probe()
87 clear_bit(AFS_SERVER_FL_RESPONDING, &server->flags); in afs_finished_fs_probe()
88 list_add_tail(&server->probe_link, &net->fs_probe_fast); in afs_finished_fs_probe()
93 afs_schedule_fs_probe(net, server, !responded); in afs_finished_fs_probe()
99 static void afs_done_one_fs_probe(struct afs_net *net, struct afs_server *server, in afs_done_one_fs_probe() argument
105 afs_finished_fs_probe(net, server, estate); in afs_done_one_fs_probe()
[all …]
H A Dserver_list.c18 afs_unuse_server(net, slist->servers[i].server, in afs_put_serverlist()
32 struct afs_server *server; in afs_alloc_server_list() local
82 server = afs_lookup_server(volume->cell, key, &vldb->fs_server[i], in afs_alloc_server_list()
84 if (IS_ERR(server)) { in afs_alloc_server_list()
85 ret = PTR_ERR(server); in afs_alloc_server_list()
94 if (memcmp(&slist->servers[j].server->uuid, in afs_alloc_server_list()
95 &server->uuid, in afs_alloc_server_list()
96 sizeof(server->uuid)) >= 0) in afs_alloc_server_list()
99 if (slist->servers[j].server == server) { in afs_alloc_server_list()
100 afs_unuse_server_notime(volume->cell->net, server, in afs_alloc_server_list()
[all …]
/linux/fs/smb/client/
H A Dtransport.c34 cifs_wake_up_task(struct TCP_Server_Info *server, struct mid_q_entry *mid) in cifs_wake_up_task() argument
41 void __release_mid(struct TCP_Server_Info *server, struct mid_q_entry *midEntry) in __release_mid() argument
44 __le16 command = server->vals->lock_cmd; in __release_mid()
53 server->ops->handle_cancelled_mid) in __release_mid()
54 server->ops->handle_cancelled_mid(midEntry, server); in __release_mid()
69 if (atomic_read(&server->num_cmds[smb_cmd]) == 0) { in __release_mid()
70 server->slowest_cmd[smb_cmd] = roundtrip_time; in __release_mid()
71 server->fastest_cmd[smb_cmd] = roundtrip_time; in __release_mid()
73 if (server->slowest_cmd[smb_cmd] < roundtrip_time) in __release_mid()
74 server->slowest_cmd[smb_cmd] = roundtrip_time; in __release_mid()
[all …]
H A Dconnect.c57 /* Drop the connection to not overload the server */
60 static int ip_connect(struct TCP_Server_Info *server);
61 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)
80 if (!server->hostname) in reconn_set_ipaddr_from_hostname()
83 /* if server hostname isn't populated, there's nothing to do here */ in reconn_set_ipaddr_from_hostname()
84 if (server->hostname[0] == '\0') in reconn_set_ipaddr_from_hostname()
87 spin_lock(&server->srv_lock); in reconn_set_ipaddr_from_hostname()
88 ss = server in reconn_set_ipaddr_from_hostname()
76 reconn_set_ipaddr_from_hostname(struct TCP_Server_Info * server) reconn_set_ipaddr_from_hostname() argument
110 struct TCP_Server_Info *server = tcon->ses->server; smb2_query_server_interfaces() local
130 set_need_reco(server) global() argument
148 cifs_signal_cifsd_for_reconnect(struct TCP_Server_Info * server,bool all_channels) cifs_signal_cifsd_for_reconnect() argument
203 cifs_mark_tcp_ses_conns_for_reconnect(struct TCP_Server_Info * server,bool mark_smb_session) cifs_mark_tcp_ses_conns_for_reconnect() argument
297 cifs_abort_connection(struct TCP_Server_Info * server) cifs_abort_connection() argument
348 cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info * server,int num_targets) cifs_tcp_ses_needs_reconnect() argument
381 __cifs_reconnect(struct TCP_Server_Info * server,bool mark_smb_session,bool once) __cifs_reconnect() argument
445 __reconnect_target_locked(struct TCP_Server_Info * server,const char * target) __reconnect_target_locked() argument
479 reconnect_target_locked(struct TCP_Server_Info * server,struct dfs_cache_tgt_list * tl,struct dfs_cache_tgt_iterator ** target_hint) reconnect_target_locked() argument
512 reconnect_dfs_server(struct TCP_Server_Info * server) reconnect_dfs_server() argument
587 _cifs_reconnect(struct TCP_Server_Info * server,bool mark_smb_session,bool once) _cifs_reconnect() argument
595 _cifs_reconnect(struct TCP_Server_Info * server,bool mark_smb_session,bool once) _cifs_reconnect() argument
602 cifs_reconnect(struct TCP_Server_Info * server,bool mark_smb_session) cifs_reconnect() argument
608 cifs_reconnect_once(struct TCP_Server_Info * server) cifs_reconnect_once() argument
617 struct TCP_Server_Info *server = container_of(work, cifs_echo_request() local
643 allocate_buffers(struct TCP_Server_Info * server) allocate_buffers() argument
676 server_unresponsive(struct TCP_Server_Info * server) server_unresponsive() argument
718 zero_credits(struct TCP_Server_Info * server) zero_credits() argument
733 cifs_readv_from_socket(struct TCP_Server_Info * server,struct msghdr * smb_msg) cifs_readv_from_socket() argument
790 cifs_read_from_socket(struct TCP_Server_Info * server,char * buf,unsigned int to_read) cifs_read_from_socket() argument
802 cifs_discard_from_socket(struct TCP_Server_Info * server,size_t to_read) cifs_discard_from_socket() argument
817 cifs_read_iter_from_socket(struct TCP_Server_Info * server,struct iov_iter * iter,unsigned int to_read) cifs_read_iter_from_socket() argument
827 is_smb_response(struct TCP_Server_Info * server,unsigned char type) is_smb_response() argument
954 dequeue_mid(struct TCP_Server_Info * server,struct mid_q_entry * mid,bool malformed) dequeue_mid() argument
979 smb2_get_credits_from_hdr(char * buffer,struct TCP_Server_Info * server) smb2_get_credits_from_hdr() argument
993 handle_mid(struct mid_q_entry * mid,struct TCP_Server_Info * server,char * buf,int malformed) handle_mid() argument
1014 cifs_enable_signing(struct TCP_Server_Info * server,bool mnt_sign_required) cifs_enable_signing() argument
1060 clean_demultiplex_info(struct TCP_Server_Info * server) clean_demultiplex_info() argument
1154 standard_receive3(struct TCP_Server_Info * server,struct mid_q_entry * mid) standard_receive3() argument
1188 cifs_handle_standard(struct TCP_Server_Info * server,struct mid_q_entry * mid) cifs_handle_standard() argument
1225 smb2_add_credits_from_hdr(char * buffer,struct TCP_Server_Info * server) smb2_add_credits_from_hdr() argument
1258 struct TCP_Server_Info *server = p; cifs_demultiplex_thread() local
1540 match_port(struct TCP_Server_Info * server,struct sockaddr * addr) match_port() argument
1573 match_server_address(struct TCP_Server_Info * server,struct sockaddr * addr) match_server_address() argument
1582 match_security(struct TCP_Server_Info * server,struct smb3_fs_context * ctx) match_security() argument
1605 match_server(struct TCP_Server_Info * server,struct smb3_fs_context * ctx,bool match_super) match_server() argument
1670 struct TCP_Server_Info *server; cifs_find_tcp_session() local
1696 cifs_put_tcp_session(struct TCP_Server_Info * server,int from_reconnect) cifs_put_tcp_session() argument
1934 struct TCP_Server_Info *server = ses->server; match_session() local
2029 struct TCP_Server_Info *server = ses->server; cifs_setup_ipc() local
2071 cifs_find_smb_ses(struct TCP_Server_Info * server,struct smb3_fs_context * ctx) cifs_find_smb_ses() argument
2100 struct TCP_Server_Info *server = ses->server; __cifs_put_smb_ses() local
2185 struct TCP_Server_Info *server = ses->server; cifs_set_cifscreds() local
2336 cifs_get_smb_ses(struct TCP_Server_Info * server,struct smb3_fs_context * ctx) cifs_get_smb_ses() argument
2539 struct TCP_Server_Info *server = tcon->ses->server; match_tcon() local
3102 bind_socket(struct TCP_Server_Info * server) bind_socket() argument
3131 smb_recv_kvec(struct TCP_Server_Info * server,struct msghdr * msg,size_t * recv) smb_recv_kvec() argument
3169 ip_rfc1001_connect(struct TCP_Server_Info * server) ip_rfc1001_connect() argument
3329 generic_ip_connect(struct TCP_Server_Info * server) generic_ip_connect() argument
3444 ip_connect(struct TCP_Server_Info * server) ip_connect() argument
3549 struct TCP_Server_Info *server = NULL; cifs_mount_get_session() local
3596 struct TCP_Server_Info *server; cifs_mount_get_tcon() local
3713 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
3768 struct TCP_Server_Info *server = mnt_ctx->server; cifs_is_path_remote() local
4006 cifs_negotiate_protocol(const unsigned int xid,struct cifs_ses * ses,struct TCP_Server_Info * server) cifs_negotiate_protocol() argument
4062 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 Dsmb2transport.c32 smb3_crypto_shash_allocate(struct TCP_Server_Info *server) in smb3_crypto_shash_allocate() argument
34 struct cifs_secmech *p = &server->secmech; in smb3_crypto_shash_allocate()
40 int smb3_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb3_get_sign_key() argument
52 pserver = SERVER_IS_CHAN(server) ? server->primary_server : server; in smb3_get_sign_key()
68 is_binding = (cifs_chan_needs_reconnect(ses, server) && in smb3_get_sign_key()
88 if (chan->server == server) { in smb3_get_sign_key()
109 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked() argument
115 pserver = SERVER_IS_CHAN(server) ? server->primary_server : server; in smb2_find_smb_ses_unlocked()
134 static int smb2_get_sign_key(struct TCP_Server_Info *server, in smb2_get_sign_key() argument
140 if (SERVER_IS_CHAN(server)) in smb2_get_sign_key()
[all …]
H A Dsmb1encrypt.c27 struct TCP_Server_Info *server, char *signature) in cifs_calc_signature() argument
31 if (!rqst->rq_iov || !signature || !server) in cifs_calc_signature()
40 md5_update(&ctx, server->session_key.response, server->session_key.len); in cifs_calc_signature()
43 rqst, server, signature, in cifs_calc_signature()
48 int cifs_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server, in cifs_sign_rqst() argument
55 if ((cifs_pdu == NULL) || (server == NULL)) in cifs_sign_rqst()
58 spin_lock(&server->srv_lock); in cifs_sign_rqst()
60 server->tcpStatus == CifsNeedNegotiate) { in cifs_sign_rqst()
61 spin_unlock(&server->srv_lock); in cifs_sign_rqst()
64 spin_unlock(&server->srv_lock); in cifs_sign_rqst()
[all …]
H A Dsess.c48 struct TCP_Server_Info *server) in cifs_ses_get_chan_index() argument
53 if (server && server->terminate) in cifs_ses_get_chan_index()
57 if (ses->chans[i].server == server) in cifs_ses_get_chan_index()
62 if (server) in cifs_ses_get_chan_index()
64 server->conn_id); in cifs_ses_get_chan_index()
70 struct TCP_Server_Info *server) in cifs_chan_set_in_reconnect() argument
72 int chan_index = cifs_ses_get_chan_index(ses, server); in cifs_chan_set_in_reconnect()
82 struct TCP_Server_Info *server) in cifs_chan_clear_in_reconnect() argument
84 unsigned int chan_index = cifs_ses_get_chan_index(ses, server); in cifs_chan_clear_in_reconnect()
94 struct TCP_Server_Info *server) in cifs_chan_set_need_reconnect() argument
[all …]
H A Dsmb2pdu.c85 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required()
88 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required()
96 struct TCP_Server_Info *server) in smb2_hdr_assemble()
104 if (server) { in smb2_hdr_assemble()
106 if (server->dialect >= SMB30_PROT_ID) { in smb2_hdr_assemble()
112 if (SERVER_IS_CHAN(server)) in smb2_hdr_assemble()
114 cpu_to_le16(server->primary_server->channel_sequence_num); in smb2_hdr_assemble()
117 cpu_to_le16(server->channel_sequence_num); in smb2_hdr_assemble()
119 spin_lock(&server->req_lock); in smb2_hdr_assemble()
121 if (server in smb2_hdr_assemble()
97 smb2_hdr_assemble(struct smb2_hdr * shdr,__le16 smb2_cmd,const struct cifs_tcon * tcon,struct TCP_Server_Info * server) smb2_hdr_assemble() argument
170 cifs_chan_skip_or_disable(struct cifs_ses * ses,struct TCP_Server_Info * server,bool from_reconnect,bool disable_mchan) cifs_chan_skip_or_disable() argument
227 smb3_update_ses_channels(struct cifs_ses * ses,struct TCP_Server_Info * server,bool from_reconnect,bool disable_mchan) smb3_update_ses_channels() argument
251 smb2_reconnect(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,bool from_reconnect) smb2_reconnect() argument
529 fill_small_buf(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,void * buf,unsigned int * total_len) fill_small_buf() argument
555 __smb2_plain_req_init(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,void ** request_buf,unsigned int * total_len) __smb2_plain_req_init() argument
587 smb2_plain_req_init(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,void ** request_buf,unsigned int * total_len) smb2_plain_req_init() argument
601 smb2_ioctl_req_init(u32 opcode,struct cifs_tcon * tcon,struct TCP_Server_Info * server,void ** request_buf,unsigned int * total_len) smb2_ioctl_req_init() argument
729 assemble_neg_contexts(struct smb2_negotiate_req * req,struct TCP_Server_Info * server,unsigned int * total_len) assemble_neg_contexts() argument
827 decode_compress_ctx(struct TCP_Server_Info * server,struct smb2_compression_capabilities_context * ctxt) decode_compress_ctx() argument
862 decode_encrypt_ctx(struct TCP_Server_Info * server,struct smb2_encryption_neg_context * ctxt) decode_encrypt_ctx() argument
914 decode_signing_ctx(struct TCP_Server_Info * server,struct smb2_signing_capabilities * pctxt) decode_signing_ctx() argument
945 smb311_decode_neg_context(struct smb2_negotiate_rsp * rsp,struct TCP_Server_Info * server,unsigned int len_of_smb) smb311_decode_neg_context() argument
1079 SMB2_negotiate(const unsigned int xid,struct cifs_ses * ses,struct TCP_Server_Info * server) SMB2_negotiate() argument
1335 struct TCP_Server_Info *server = tcon->ses->server; smb3_validate_negotiate() local
1482 smb2_select_sectype(struct TCP_Server_Info * server,enum securityEnum requested) smb2_select_sectype() argument
1506 struct TCP_Server_Info *server; global() member
1528 struct TCP_Server_Info *server = sess_data->server; SMB2_sess_alloc_buffer() local
1656 struct TCP_Server_Info *server = sess_data->server; SMB2_sess_establish_session() local
1684 struct TCP_Server_Info *server = sess_data->server; SMB2_auth_kerberos() local
1775 struct TCP_Server_Info *server = sess_data->server; SMB2_sess_auth_rawntlmssp_negotiate() local
1867 struct TCP_Server_Info *server = sess_data->server; SMB2_sess_auth_rawntlmssp_authenticate() local
1945 struct TCP_Server_Info *server = sess_data->server; SMB2_select_sec() local
1971 SMB2_sess_setup(const unsigned int xid,struct cifs_ses * ses,struct TCP_Server_Info * server,const struct nls_table * nls_cp) SMB2_sess_setup() argument
2022 struct TCP_Server_Info *server; SMB2_logoff() local
2107 struct TCP_Server_Info *server = cifs_pick_channel(ses); SMB2_tcon() local
2240 struct TCP_Server_Info *server = cifs_pick_channel(ses); SMB2_tdis() local
2386 smb2_parse_contexts(struct TCP_Server_Info * server,struct kvec * rsp_iov,__u16 * epoch,char * lease_key,__u8 * oplock,struct smb2_file_all_info * buf,struct create_posix_rsp * posix) smb2_parse_contexts() argument
2466 add_lease_context(struct TCP_Server_Info * server,struct smb2_create_req * req,struct kvec * iov,unsigned int * num_iovec,u8 * lease_key,__u8 * oplock,u8 * parent_lease_key,__le32 flags) add_lease_context() argument
2902 struct TCP_Server_Info *server; smb311_posix_mkdir() local
3069 SMB2_open_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,__u8 * oplock,struct cifs_open_parms * oparms,__le16 * path) SMB2_open_init() argument
3260 struct TCP_Server_Info *server; SMB2_open() local
3363 SMB2_ioctl_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,u32 opcode,char * in_data,u32 indatalen,__u32 max_response_size) SMB2_ioctl_init() argument
3477 struct TCP_Server_Info *server; SMB2_ioctl() local
3636 SMB2_close_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,bool query_attrs) SMB2_close_init() argument
3677 struct TCP_Server_Info *server; __SMB2_close() local
3827 SMB2_query_info_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,u8 info_class,u8 info_type,u32 additional_info,size_t output_len,size_t input_len,void * input) SMB2_query_info_init() argument
3888 struct TCP_Server_Info *server; query_info() local
4022 SMB2_notify_init(const unsigned int xid,struct smb_rqst * rqst,struct cifs_tcon * tcon,struct TCP_Server_Info * server,u64 persistent_fid,u64 volatile_fid,u32 completion_filter,bool watch_tree) SMB2_notify_init() argument
4060 struct TCP_Server_Info *server; SMB2_change_notify() local
4161 smb2_echo_callback(struct TCP_Server_Info * server,struct mid_q_entry * mid) smb2_echo_callback() argument
4176 cifs_renegotiate_iosize(struct TCP_Server_Info * server,struct cifs_tcon * tcon) cifs_renegotiate_iosize() argument
4192 struct TCP_Server_Info *server = container_of(work, smb2_reconnect_server() local
4327 SMB2_echo(struct TCP_Server_Info * server) SMB2_echo() argument
4376 SMB2_flush_init(const unsigned int xid,struct smb_rqst * rqst,struct cifs_tcon * tcon,struct TCP_Server_Info * server,u64 persistent_fid,u64 volatile_fid) SMB2_flush_init() argument
4406 struct TCP_Server_Info *server; SMB2_flush() local
4468 struct TCP_Server_Info *server = io_parms->server; smb3_use_rdma_offload() local
4507 struct TCP_Server_Info *server = io_parms->server; smb2_new_read_req() local
4593 smb2_readv_callback(struct TCP_Server_Info * server,struct mid_q_entry * mid) smb2_readv_callback() argument
4753 struct TCP_Server_Info *server; smb2_async_readv() local
4931 smb2_writev_callback(struct TCP_Server_Info * server,struct mid_q_entry * mid) smb2_writev_callback() argument
5070 struct TCP_Server_Info *server = wdata->server; smb2_async_writev() local
5263 struct TCP_Server_Info *server; SMB2_write() local
5504 SMB2_query_directory_init(const unsigned int xid,struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,int index,int info_level) SMB2_query_directory_init() argument
5669 struct TCP_Server_Info *server; SMB2_query_directory() local
5746 SMB2_set_info_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,u32 pid,u8 info_class,u8 info_type,u32 additional_info,void ** data,unsigned int * size) SMB2_set_info_init() argument
5808 struct TCP_Server_Info *server; send_set_info() local
5921 struct TCP_Server_Info *server; SMB2_oplock_break() local
6012 build_qfs_info_req(struct kvec * iov,struct cifs_tcon * tcon,struct TCP_Server_Info * server,int level,int outbuf_len,u64 persistent_fid,u64 volatile_fid) build_qfs_info_req() argument
6061 struct TCP_Server_Info *server; SMB311_posix_qfs_info() local
6130 struct TCP_Server_Info *server; SMB2_QFS_attr() local
6236 struct TCP_Server_Info *server; smb2_lockv() local
6330 struct TCP_Server_Info *server = cifs_pick_channel(tcon->ses); SMB2_lease_break() local
[all...]
H A Dsmb2ops.c36 change_conf(struct TCP_Server_Info *server) in change_conf() argument
38 server->credits += server->echo_credits + server->oplock_credits; in change_conf()
39 if (server->credits > server->max_credits) in change_conf()
40 server->credits = server->max_credits; in change_conf()
41 server->oplock_credits = server in change_conf()
69 smb2_add_credits(struct TCP_Server_Info * server,struct cifs_credits * credits,const int optype) smb2_add_credits() argument
185 smb2_set_credits(struct TCP_Server_Info * server,const int val) smb2_set_credits() argument
216 smb2_get_credits_field(struct TCP_Server_Info * server,const int optype) smb2_get_credits_field() argument
235 smb2_wait_mtu_credits(struct TCP_Server_Info * server,size_t size,size_t * num,struct cifs_credits * credits) smb2_wait_mtu_credits() argument
300 smb2_adjust_credits(struct TCP_Server_Info * server,struct cifs_io_subrequest * subreq,unsigned int trace) smb2_adjust_credits() argument
373 smb2_get_next_mid(struct TCP_Server_Info * server) smb2_get_next_mid() argument
384 smb2_revert_current_mid(struct TCP_Server_Info * server,const unsigned int val) smb2_revert_current_mid() argument
393 __smb2_find_mid(struct TCP_Server_Info * server,char * buf,bool dequeue) __smb2_find_mid() argument
423 smb2_find_mid(struct TCP_Server_Info * server,char * buf) smb2_find_mid() argument
429 smb2_find_dequeue_mid(struct TCP_Server_Info * server,char * buf) smb2_find_dequeue_mid() argument
435 smb2_dump_detail(void * buf,size_t buf_len,struct TCP_Server_Info * server) smb2_dump_detail() argument
451 smb2_need_neg(struct TCP_Server_Info * server) smb2_need_neg() argument
459 smb2_negotiate(const unsigned int xid,struct cifs_ses * ses,struct TCP_Server_Info * server) smb2_negotiate() argument
484 struct TCP_Server_Info *server = tcon->ses->server; smb2_negotiate_wsize() local
499 struct TCP_Server_Info *server = tcon->ses->server; smb3_negotiate_wsize() local
534 struct TCP_Server_Info *server = tcon->ses->server; smb2_negotiate_rsize() local
550 struct TCP_Server_Info *server = tcon->ses->server; smb3_negotiate_rsize() local
1177 struct TCP_Server_Info *server; smb2_set_ea() local
1358 smb2_can_echo(struct TCP_Server_Info * server) smb2_can_echo() argument
1471 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; smb2_set_fid() local
1576 struct TCP_Server_Info *server; smb2_ioctl_query_info() local
2452 struct TCP_Server_Info *server; smb2_query_dir_first() local
2598 smb2_is_status_pending(char * buf,struct TCP_Server_Info * server) smb2_is_status_pending() argument
2654 smb2_is_network_name_deleted(char * buf,struct TCP_Server_Info * server) smb2_is_network_name_deleted() argument
2704 smb2_set_replay(struct TCP_Server_Info * server,struct smb_rqst * rqst) smb2_set_replay() argument
2739 struct TCP_Server_Info *server = ses->server; smb2_set_next_command() local
2820 struct TCP_Server_Info *server; smb2_query_info_compound() local
4054 smb2_downgrade_oplock(struct TCP_Server_Info * server,struct cifsInodeInfo * cinode,__u32 oplock,__u16 epoch,bool * purge_cache) smb2_downgrade_oplock() argument
4067 smb3_downgrade_oplock(struct TCP_Server_Info * server,struct cifsInodeInfo * cinode,__u32 oplock,__u16 epoch,bool * purge_cache) smb3_downgrade_oplock() argument
4408 smb2_get_enc_key(struct TCP_Server_Info * server,__u64 ses_id,int enc,u8 * key) smb2_get_enc_key() argument
4443 crypt_message(struct TCP_Server_Info * server,int num_rqst,struct smb_rqst * rqst,int enc,struct crypto_aead * tfm) crypt_message() argument
4559 smb3_init_transform_rq(struct TCP_Server_Info * server,int num_rqst,struct smb_rqst * new_rq,struct smb_rqst * old_rq) smb3_init_transform_rq() argument
4618 decrypt_raw_data(struct TCP_Server_Info * server,char * buf,unsigned int buf_data_size,struct iov_iter * iter,bool is_offloaded) decrypt_raw_data() argument
4701 handle_read_data(struct TCP_Server_Info * server,struct mid_q_entry * mid,char * buf,unsigned int buf_len,struct folio_queue * buffer,unsigned int buffer_len,bool is_offloaded) handle_read_data() argument
4849 struct TCP_Server_Info *server; global() member
4920 receive_encrypted_read(struct TCP_Server_Info * server,struct mid_q_entry ** mid,int * num_mids) receive_encrypted_read() argument
5024 receive_encrypted_standard(struct TCP_Server_Info * server,struct mid_q_entry ** mids,char ** bufs,int * num_mids) receive_encrypted_standard() argument
5123 smb3_receive_transform(struct TCP_Server_Info * server,struct mid_q_entry ** mids,char ** bufs,int * num_mids) smb3_receive_transform() argument
5154 smb3_handle_read_data(struct TCP_Server_Info * server,struct mid_q_entry * mid) smb3_handle_read_data() argument
5162 smb2_next_header(struct TCP_Server_Info * server,char * buf,unsigned int * noff) smb2_next_header() argument
5185 struct TCP_Server_Info *server = tcon->ses->server; __cifs_sfu_make_node() local
[all...]
H A Dcifsproto.h34 int smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg,
83 void delete_mid(struct TCP_Server_Info *server, struct mid_q_entry *mid);
84 void __release_mid(struct TCP_Server_Info *server,
86 void cifs_wake_up_task(struct TCP_Server_Info *server,
88 int cifs_handle_standard(struct TCP_Server_Info *server,
95 int cifs_discard_remaining_data(struct TCP_Server_Info *server);
96 int cifs_call_async(struct TCP_Server_Info *server, struct smb_rqst *rqst,
102 struct TCP_Server_Info *server, struct smb_rqst *rqst,
105 struct TCP_Server_Info *server, const int flags,
109 struct TCP_Server_Info *server);
118 send_cancel(struct cifs_ses * ses,struct TCP_Server_Info * server,struct smb_rqst * rqst,struct mid_q_entry * mid,unsigned int xid) send_cancel() argument
482 release_mid(struct TCP_Server_Info * server,struct mid_q_entry * mid) release_mid() argument
[all...]
H A Dcifsglob.h57 * max sleep time before retry to server
90 /* smb multichannel query server interfaces interval in seconds */
99 * defaults to 128 credits, the Windows server allows clients up to
100 * 512 credits (or 8K for later versions), and the NetApp server
104 * to reduce possibility of seeing more server credit overflow bugs.
139 /* associated with each tree connection to the server */
236 __u32 server_flags; /* sent by server in type 2 ntlmssp exchange */
237 unsigned char ciphertext[CIFS_CPHTXT_SIZE]; /* sent to server */
286 * A smb_rqst represents a complete request to be issued to a server. It's
314 int (*send_cancel)(struct cifs_ses *ses, struct TCP_Server_Info *server,
641 HEADER_SIZE(server) global() argument
642 MAX_HEADER_SIZE(server) global() argument
643 MID_HEADER_SIZE(server) global() argument
820 SERVER_IS_CHAN(server) global() argument
839 is_smb1(const struct TCP_Server_Info * server) is_smb1() argument
844 cifs_server_lock(struct TCP_Server_Info * server) cifs_server_lock() argument
852 cifs_server_unlock(struct TCP_Server_Info * server) cifs_server_unlock() argument
869 in_flight(struct TCP_Server_Info * server) in_flight() argument
880 has_credits(struct TCP_Server_Info * server,int * credits,int num_credits) has_credits() argument
891 add_credits(struct TCP_Server_Info * server,struct cifs_credits * credits,const int optype) add_credits() argument
898 add_credits_and_wake_if(struct TCP_Server_Info * server,struct cifs_credits * credits,const int optype) add_credits_and_wake_if() argument
909 set_credits(struct TCP_Server_Info * server,const int val) set_credits() argument
915 adjust_credits(struct TCP_Server_Info * server,struct cifs_io_subrequest * subreq,unsigned int trace) adjust_credits() argument
923 get_next_mid64(struct TCP_Server_Info * server) get_next_mid64() argument
929 get_next_mid(struct TCP_Server_Info * server) get_next_mid() argument
940 revert_current_mid(struct TCP_Server_Info * server,const unsigned int val) revert_current_mid() argument
947 revert_current_mid_from_hdr(struct TCP_Server_Info * server,const struct smb2_hdr * shdr) revert_current_mid_from_hdr() argument
1047 struct TCP_Server_Info *server; global() member
1066 struct TCP_Server_Info *server; /* pointer to server info */ global() member
1479 struct TCP_Server_Info *server; global() member
1503 struct TCP_Server_Info *server; global() member
1753 cifs_in_send_inc(struct TCP_Server_Info * server) cifs_in_send_inc() argument
1758 cifs_in_send_dec(struct TCP_Server_Info * server) cifs_in_send_dec() argument
1763 cifs_num_waiters_inc(struct TCP_Server_Info * server) cifs_num_waiters_inc() argument
1768 cifs_num_waiters_dec(struct TCP_Server_Info * server) cifs_num_waiters_dec() argument
1817 struct TCP_Server_Info *server; global() member
2183 is_smb1_server(struct TCP_Server_Info * server) is_smb1_server() argument
2304 mid_execute_callback(struct TCP_Server_Info * server,struct mid_q_entry * mid) mid_execute_callback() argument
2332 cifs_queue_server_reconn(struct TCP_Server_Info * server) cifs_queue_server_reconn() argument
2340 cifs_requeue_server_reconn(struct TCP_Server_Info * server) cifs_requeue_server_reconn() argument
[all...]
H A Dsmb1transport.c37 alloc_mid(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in alloc_mid() argument
41 if (server == NULL) { in alloc_mid()
95 *ppmidQ = alloc_mid(in_buf, ses->server); in allocate_mid()
98 spin_lock(&ses->server->mid_queue_lock); in allocate_mid()
99 list_add_tail(&(*ppmidQ)->qhead, &ses->server->pending_mid_q); in allocate_mid()
100 spin_unlock(&ses->server->mid_queue_lock); in allocate_mid()
105 cifs_setup_async_request(struct TCP_Server_Info *server, struct smb_rqst *rqst) in cifs_setup_async_request() argument
112 if (server->sign) in cifs_setup_async_request()
115 mid = alloc_mid(hdr, server); in cifs_setup_async_request()
119 rc = cifs_sign_rqst(rqst, server, &mid->sequence_number); in cifs_setup_async_request()
[all …]
H A Dsmbdirect.h11 #define cifs_rdma_enabled(server) ((server)->rdma) argument
32 struct TCP_Server_Info *server, struct sockaddr *dstaddr);
37 int smbd_reconnect(struct TCP_Server_Info *server);
39 void smbd_destroy(struct TCP_Server_Info *server);
43 int smbd_send(struct TCP_Server_Info *server,
54 void smbd_debug_proc_show(struct TCP_Server_Info *server, struct seq_file *m);
57 #define cifs_rdma_enabled(server) 0
60 struct TCP_Server_Info *server, struct sockaddr *dstaddr) {return NULL;}
61 static inline int smbd_reconnect(struct TCP_Server_Info *server) {retur
66 cifs_rdma_enabled(server) global() argument
69 smbd_get_connection(struct TCP_Server_Info * server,struct sockaddr * dstaddr) smbd_get_connection() argument
70 smbd_reconnect(struct TCP_Server_Info * server) smbd_reconnect() argument
71 smbd_destroy(struct TCP_Server_Info * server) smbd_destroy() argument
73 smbd_send(struct TCP_Server_Info * server,int num_rqst,struct smb_rqst * rqst) smbd_send() argument
[all...]
H A Dfile.c43 * Prepare a subrequest to upload to the server. We need to allocate credits
52 struct TCP_Server_Info *server; in cifs_prepare_write()
63 server = cifs_pick_channel(tlink_tcon(open_file->tlink)->ses); in cifs_prepare_write()
64 wdata->server = server; in cifs_prepare_write()
67 cifs_negotiate_wsize(server, cifs_sb->ctx, in cifs_prepare_write()
81 rc = server->ops->wait_mtu_credits(server, wsize, &stream->sreq_max_len, in cifs_prepare_write()
94 server->credits, server in cifs_prepare_write()
53 struct TCP_Server_Info *server; cifs_prepare_write() local
159 struct TCP_Server_Info *server; cifs_prepare_read() local
215 struct TCP_Server_Info *server = rdata->server; cifs_issue_read() local
549 struct TCP_Server_Info *server = tcon->ses->server; cifs_nt_open() local
667 struct TCP_Server_Info *server = tcon->ses->server; cifs_new_fileinfo() local
797 struct TCP_Server_Info *server = tcon->ses->server; serverclose_work() local
857 struct TCP_Server_Info *server = tcon->ses->server; _cifsFileInfo_put() local
910 struct TCP_Server_Info *server = tcon->ses->server; _cifsFileInfo_put() local
975 struct TCP_Server_Info *server; cifs_do_truncate() local
1009 struct TCP_Server_Info *server; cifs_open() local
1228 struct TCP_Server_Info *server; cifs_reopen_file() local
1516 struct TCP_Server_Info *server; cifs_closedir() local
1601 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; cifs_find_fid_lock_conflict() local
1663 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; cifs_lock_test() local
2020 cifs_read_flock(struct file_lock * flock,__u32 * type,int * lock,int * unlock,bool * wait_flag,struct TCP_Server_Info * server) cifs_read_flock() argument
2074 struct TCP_Server_Info *server = tcon->ses->server; cifs_getlk() local
2301 struct TCP_Server_Info *server = tcon->ses->server; cifs_setlk() local
2790 struct TCP_Server_Info *server; cifs_fsync() local
2858 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; cifs_writev() local
3162 struct TCP_Server_Info *server; cifs_oplock_break() local
[all...]
H A Dsmb1ops.c144 send_nt_cancel(struct cifs_ses *ses, struct TCP_Server_Info *server, in send_nt_cancel() argument
161 cifs_server_lock(server); in send_nt_cancel()
162 rc = cifs_sign_rqst(&crqst, server, &mid->sequence_number); in send_nt_cancel()
164 cifs_server_unlock(server); in send_nt_cancel()
173 --server->sequence_number; in send_nt_cancel()
174 rc = __smb_send_rqst(server, 1, &crqst); in send_nt_cancel()
176 server->sequence_number--; in send_nt_cancel()
178 cifs_server_unlock(server); in send_nt_cancel()
191 send_lock_cancel(struct cifs_ses *ses, struct TCP_Server_Info *server, in send_lock_cancel() argument
207 pSMB->hdr.Mid = get_next_mid(ses->server); in send_lock_cancel()
[all …]
/linux/fs/nfs/
H A Dclient.c222 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() argument
224 rpc_init_wait_queue(&server->roc_rpcwaitq, "pNFS ROC"); in pnfs_init_server()
236 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() argument
580 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server() argument
582 if (server->nlm_host) in nfs_destroy_server()
583 nlmclnt_done(server->nlm_host); in nfs_destroy_server()
589 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd() argument
592 struct nfs_client *clp = server->nfs_client; in nfs_start_lockd()
598 .noresvport = server->flags & NFS_MOUNT_NORESVPORT ? in nfs_start_lockd()
602 .cred = server->cred, in nfs_start_lockd()
[all …]
H A Dsysfs.c242 struct nfs_server *server; in shutdown_nfs_client() local
244 list_for_each_entry_rcu(server, &clp->cl_superblocks, client_link) { in shutdown_nfs_client()
245 if (!(server->flags & NFS_MOUNT_SHUTDOWN)) { in shutdown_nfs_client()
259 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); in shutdown_show() local
260 bool shutdown = server->flags & NFS_MOUNT_SHUTDOWN; in shutdown_show()
268 struct nfs_server *server; in shutdown_store() local
271 server = container_of(kobj, struct nfs_server, kobj); in shutdown_store()
281 if (server->flags & NFS_MOUNT_SHUTDOWN) in shutdown_store()
284 server->flags |= NFS_MOUNT_SHUTDOWN; in shutdown_store()
285 shutdown_client(server in shutdown_store()
304 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); implid_domain_show() local
319 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); implid_name_show() local
333 nfs_sysfs_link_rpc_client(struct nfs_server * server,struct rpc_clnt * clnt,const char * uniq) nfs_sysfs_link_rpc_client() argument
370 nfs_sysfs_add_nfsv41_server(struct nfs_server * server) nfs_sysfs_add_nfsv41_server() argument
390 nfs_sysfs_add_nfsv41_server(struct nfs_server * server) nfs_sysfs_add_nfsv41_server() argument
401 struct nfs_server *server = container_of(kobj, struct nfs_server, kobj); localio_show() local
408 nfs_sysfs_add_nfs_localio_server(struct nfs_server * server) nfs_sysfs_add_nfs_localio_server() argument
417 nfs_sysfs_add_nfs_localio_server(struct nfs_server * server) nfs_sysfs_add_nfs_localio_server() argument
422 nfs_sysfs_add_server(struct nfs_server * server) nfs_sysfs_add_server() argument
446 struct nfs_server *server = s->s_fs_info; nfs_sysfs_move_server_to_sb() local
455 nfs_sysfs_move_sb_to_server(struct nfs_server * server) nfs_sysfs_move_sb_to_server() argument
471 nfs_sysfs_remove_server(struct nfs_server * server) nfs_sysfs_remove_server() argument
[all...]
H A Ddelegation.c38 static struct hlist_head *nfs_delegation_hash(struct nfs_server *server, in nfs_delegation_hash() argument
41 return server->delegation_hash_table + in nfs_delegation_hash()
42 (nfs_fhandle_hash(fhandle) & server->delegation_hash_mask); in nfs_delegation_hash()
52 static void nfs_mark_delegation_revoked(struct nfs_server *server, in nfs_mark_delegation_revoked() argument
61 atomic_long_dec(&server->nr_active_delegations); in nfs_mark_delegation_revoked()
65 spin_lock(&server->delegations_lock); in nfs_mark_delegation_revoked()
70 spin_unlock(&server->delegations_lock); in nfs_mark_delegation_revoked()
92 static void nfs_mark_return_delegation(struct nfs_server *server, in nfs_mark_return_delegation() argument
95 spin_lock(&server->delegations_lock); in nfs_mark_return_delegation()
98 list_move_tail(&delegation->entry, &server->delegations_return); in nfs_mark_return_delegation()
[all …]
H A Dnfs4client.c632 static void nfs4_destroy_server(struct nfs_server *server) in nfs4_destroy_server() argument
636 nfs_server_return_all_delegations(server); in nfs4_destroy_server()
637 unset_pnfs_layoutdriver(server); in nfs4_destroy_server()
638 nfs4_purge_state_owners(server, &freeme); in nfs4_destroy_server()
640 kfree(server->delegation_hash_table); in nfs4_destroy_server()
722 static int nfs4_set_client(struct nfs_server *server, in nfs4_set_client() argument
728 cl_init->cred = server->cred; in nfs4_set_client()
744 if (server->flags & NFS_MOUNT_NORESVPORT) in nfs4_set_client()
746 if (server->options & NFS_OPTION_MIGRATION) in nfs4_set_client()
748 if (test_bit(NFS_MIG_TSM_POSSIBLE, &server->mig_status)) in nfs4_set_client()
[all …]
H A Dnfs3client.c28 static void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() argument
30 if (server->flags & NFS_MOUNT_NOACL) in nfs_init_server_aclclient()
33 server->client_acl = rpc_bind_new_program(server->client, &nfsacl_program, 3); in nfs_init_server_aclclient()
34 if (IS_ERR(server->client_acl)) in nfs_init_server_aclclient()
37 nfs_sysfs_link_rpc_client(server, server->client_acl, NULL); in nfs_init_server_aclclient()
40 server->caps |= NFS_CAP_ACLS; in nfs_init_server_aclclient()
44 server->caps &= ~NFS_CAP_ACLS; in nfs_init_server_aclclient()
47 static inline void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() argument
49 server->flags &= ~NFS_MOUNT_NOACL; in nfs_init_server_aclclient()
50 server->caps &= ~NFS_CAP_ACLS; in nfs_init_server_aclclient()
[all …]
H A Dnfs40proc.c153 static int nfs40_test_and_free_expired_stateid(struct nfs_server *server, in nfs40_test_and_free_expired_stateid() argument
167 static int _nfs40_proc_get_locations(struct nfs_server *server, in _nfs40_proc_get_locations() argument
172 struct rpc_clnt *clnt = server->client; in _nfs40_proc_get_locations()
173 struct nfs_client *clp = server->nfs_client; in _nfs40_proc_get_locations()
200 locations->server = server; in _nfs40_proc_get_locations()
204 status = nfs4_call_sync_sequence(clnt, server, &msg, in _nfs40_proc_get_locations()
209 renew_lease(server, now); in _nfs40_proc_get_locations()
222 struct nfs_server *server = NFS_SERVER(inode); in _nfs40_proc_fsid_present() local
224 struct rpc_clnt *clnt = server->client; in _nfs40_proc_fsid_present()
247 status = nfs4_call_sync_sequence(clnt, server, &msg, in _nfs40_proc_fsid_present()
[all …]
H A Dnfs4proc.c97 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle,
152 static inline u32 *nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() argument
155 return server->attr_bitmask; in nfs4_bitmask()
157 return server->attr_bitmask_nl; in nfs4_bitmask()
168 nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() argument
169 { return server->attr_bitmask; } in nfs4_bitmask()
364 * when talking to the server, we always send cookie 0 in nfs4_setup_readdir()
410 static void nfs4_test_and_free_stateid(struct nfs_server *server, in nfs4_test_and_free_stateid() argument
414 const struct nfs4_minor_version_ops *ops = server->nfs_client->cl_mvops; in nfs4_test_and_free_stateid()
416 ops->test_and_free_expired(server, statei in nfs4_test_and_free_stateid()
419 __nfs4_free_revoked_stateid(struct nfs_server * server,nfs4_stateid * stateid,const struct cred * cred) __nfs4_free_revoked_stateid() argument
427 nfs4_free_revoked_stateid(struct nfs_server * server,const nfs4_stateid * stateid,const struct cred * cred) nfs4_free_revoked_stateid() argument
503 nfs4_do_handle_exception(struct nfs_server * server,int errorcode,struct nfs4_exception * exception) nfs4_do_handle_exception() argument
627 nfs4_exception_should_retrans(const struct nfs_server * server,struct nfs4_exception * exception) nfs4_exception_should_retrans() argument
640 nfs4_handle_exception(struct nfs_server * server,int errorcode,struct nfs4_exception * exception) nfs4_handle_exception() argument
672 nfs4_async_handle_exception(struct rpc_task * task,struct nfs_server * server,int errorcode,struct nfs4_exception * exception) nfs4_async_handle_exception() argument
722 nfs4_async_handle_error(struct rpc_task * task,struct nfs_server * server,struct nfs4_state * state,long * timeout) nfs4_async_handle_error() argument
761 renew_lease(const struct nfs_server * server,unsigned long timestamp) renew_lease() argument
1133 nfs4_do_call_sync(struct rpc_clnt * clnt,struct nfs_server * server,struct rpc_message * msg,struct nfs4_sequence_args * args,struct nfs4_sequence_res * res,unsigned short task_flags) nfs4_do_call_sync() argument
1157 nfs4_call_sync_sequence(struct rpc_clnt * clnt,struct nfs_server * server,struct rpc_message * msg,struct nfs4_sequence_args * args,struct nfs4_sequence_res * res) nfs4_call_sync_sequence() argument
1171 nfs4_call_sync(struct rpc_clnt * clnt,struct nfs_server * server,struct rpc_message * msg,struct nfs4_sequence_args * args,struct nfs4_sequence_res * res,int cache_reply) nfs4_call_sync() argument
1267 nfs4_clear_cap_atomic_open_v1(struct nfs_server * server,int err,struct nfs4_exception * exception) nfs4_clear_cap_atomic_open_v1() argument
1310 nfs4_map_atomic_open_share(struct nfs_server * server,fmode_t fmode,int openflags) nfs4_map_atomic_open_share() argument
1332 nfs4_map_atomic_open_claim(struct nfs_server * server,enum open_claim_type4 claim) nfs4_map_atomic_open_claim() argument
1368 struct nfs_server *server = NFS_SERVER(dir); nfs4_opendata_alloc() local
1830 struct nfs_server *server = NFS_SERVER(state->inode); update_open_stateid() local
2170 struct nfs_server *server = NFS_SB(opendata->dentry->d_sb); nfs4_open_recover_helper() local
2263 struct nfs_server *server = NFS_SERVER(state->inode); nfs4_do_open_reclaim() local
2293 nfs4_handle_delegation_recall_error(struct nfs_server * server,struct nfs4_state * state,const nfs4_stateid * stateid,struct file_lock * fl,int err) nfs4_handle_delegation_recall_error() argument
2351 struct nfs_server *server = NFS_SERVER(state->inode); nfs4_open_delegation_recall() local
2433 struct nfs_server *server = NFS_SERVER(d_inode(data->dir)); _nfs4_proc_open_confirm() local
2598 struct nfs_server *server = NFS_SERVER(dir); nfs4_run_open_task() local
2714 struct nfs_server *server = NFS_SERVER(dir); _nfs4_proc_open() local
2788 struct nfs_server *server = NFS_SERVER(state->inode); nfs4_do_open_expired() local
2830 nfs41_test_and_free_expired_stateid(struct nfs_server * server,nfs4_stateid * stateid,const struct cred * cred) nfs41_test_and_free_expired_stateid() argument
2863 struct nfs_server *server = NFS_SERVER(state->inode); nfs41_check_delegation_stateid() local
2928 struct nfs_server *server = NFS_SERVER(state->inode); nfs41_check_expired_locks() local
2978 struct nfs_server *server = NFS_SERVER(state->inode); nfs41_check_open_stateid() local
3060 struct nfs_server *server = sp->so_server; _nfs4_open_and_get_state() local
3144 struct nfs_server *server = NFS_SERVER(dir); _nfs4_do_open() local
3241 struct nfs_server *server = NFS_SERVER(dir); nfs4_do_open() local
3314 struct nfs_server *server = NFS_SERVER(inode); _nfs4_do_setattr() local
3371 struct nfs_server *server = NFS_SERVER(inode); nfs4_do_setattr() local
3572 struct nfs_server *server = NFS_SERVER(calldata->inode); nfs4_close_done() local
3649 struct nfs_server *server = NFS_SERVER(inode); nfs4_close_prepare() local
3752 struct nfs_server *server = NFS_SERVER(state->inode); nfs4_do_close() local
3874 _nfs4_server_capabilities(struct nfs_server * server,struct nfs_fh * fhandle) _nfs4_server_capabilities() argument
4007 nfs4_server_capabilities(struct nfs_server * server,struct nfs_fh * fhandle) nfs4_server_capabilities() argument
4024 test_fs_location_for_trunking(struct nfs4_fs_location * location,struct nfs_client * clp,struct nfs_server * server) test_fs_location_for_trunking() argument
4089 _nfs4_discover_trunking(struct nfs_server * server,struct nfs_fh * fhandle) _nfs4_discover_trunking() argument
4140 nfs4_discover_trunking(struct nfs_server * server,struct nfs_fh * fhandle) nfs4_discover_trunking() argument
4160 _nfs4_lookup_root(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fattr * fattr) _nfs4_lookup_root() argument
4185 nfs4_lookup_root(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fattr * fattr) nfs4_lookup_root() argument
4207 nfs4_lookup_root_sec(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fattr * fattr,rpc_authflavor_t flavor) nfs4_lookup_root_sec() argument
4231 nfs4_find_root_sec(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fattr * fattr) nfs4_find_root_sec() argument
4287 nfs4_proc_get_rootfh(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fattr * fattr,bool auth_probe) nfs4_proc_get_rootfh() argument
4302 nfs4_proc_get_root(struct nfs_server * server,struct nfs_fh * mntfh,struct nfs_fsinfo * info) nfs4_proc_get_root() argument
4411 _nfs4_proc_getattr(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fattr * fattr,struct inode * inode) _nfs4_proc_getattr() argument
4479 nfs4_proc_getattr(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fattr * fattr,struct inode * inode) nfs4_proc_getattr() argument
4566 struct nfs_server *server = NFS_SERVER(dir); _nfs4_proc_lookup() local
4689 struct nfs_server *server = NFS_SERVER(inode); _nfs4_proc_lookupp() local
4743 struct nfs_server *server = NFS_SERVER(inode); _nfs4_proc_access() local
4856 struct nfs_server *server = NFS_SERVER(dir); nfs4_proc_create() local
4886 struct nfs_server *server = NFS_SERVER(dir); _nfs4_proc_remove() local
4960 struct nfs_server *server = NFS_SB(dentry->d_sb); nfs4_proc_unlink_setup() local
5006 struct nfs_server *server = NFS_SB(old_dentry->d_sb); nfs4_proc_rename_setup() local
5065 struct nfs_server *server = NFS_SERVER(inode); _nfs4_proc_link() local
5135 struct nfs_server *server = NFS_SERVER(dir); nfs4_alloc_createdata() local
5281 struct nfs_server *server = NFS_SERVER(dir); nfs4_proc_mkdir() local
5310 struct nfs_server *server = NFS_SERVER(dir); _nfs4_proc_readdir() local
5403 struct nfs_server *server = NFS_SERVER(dir); nfs4_proc_mknod() local
5426 _nfs4_proc_statfs(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fsstat * fsstat) _nfs4_proc_statfs() argument
5446 nfs4_proc_statfs(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fsstat * fsstat) nfs4_proc_statfs() argument
5460 _nfs4_do_fsinfo(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fsinfo * fsinfo) _nfs4_do_fsinfo() argument
5479 nfs4_do_fsinfo(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fsinfo * fsinfo) nfs4_do_fsinfo() argument
5498 nfs4_proc_fsinfo(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fsinfo * fsinfo) nfs4_proc_fsinfo() argument
5513 _nfs4_proc_pathconf(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_pathconf * pathconf) _nfs4_proc_pathconf() argument
5539 nfs4_proc_pathconf(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_pathconf * pathconf) nfs4_proc_pathconf() argument
5594 struct nfs_server *server = NFS_SERVER(hdr->inode); nfs4_read_done_cb() local
5635 struct nfs_server *server = NFS_SERVER(hdr->inode); nfs4_read_plus_not_supported() local
5778 struct nfs_server *server = NFS_SERVER(inode); nfs4_bitmask_set() local
5814 struct nfs_server *server = NFS_SERVER(hdr->inode); nfs4_proc_write_setup() local
5868 struct nfs_server *server = NFS_SERVER(data->inode); nfs4_proc_commit_setup() local
5884 struct nfs_server *server = NFS_SERVER(dst_inode); _nfs4_proc_commit() local
5914 nfs4_server_supports_acls(const struct nfs_server * server,enum nfs4_acl_type type) nfs4_server_supports_acls() argument
6067 struct nfs_server *server = NFS_SERVER(inode); __nfs4_get_acl_uncached() local
6147 struct nfs_server *server = NFS_SERVER(inode); nfs4_proc_get_acl() local
6170 struct nfs_server *server = NFS_SERVER(inode); __nfs4_proc_set_acl() local
6250 struct nfs_server *server = NFS_SERVER(inode); _nfs4_get_security_label() local
6308 struct nfs_server *server = NFS_SERVER(inode); _nfs4_do_set_security_label() local
6808 struct nfs_server *server = NFS_SERVER(inode); _nfs4_proc_delegreturn() local
6895 struct nfs_server *server = NFS_SERVER(inode); nfs4_proc_delegreturn() local
6916 struct nfs_server *server = NFS_SERVER(inode); _nfs4_proc_getlk() local
7014 struct nfs_server *server; global() member
7251 struct nfs_server *server; global() member
7260 struct nfs_server *server = NFS_SERVER(inode); nfs4_alloc_lockdata() local
7412 nfs4_handle_setlk_error(struct nfs_server * server,struct nfs4_lock_state * lsp,int new_lock_owner,int error) nfs4_handle_setlk_error() argument
7486 struct nfs_server *server = NFS_SERVER(state->inode); nfs4_lock_reclaim() local
7506 struct nfs_server *server = NFS_SERVER(state->inode); nfs4_lock_expired() local
7657 struct nfs_server *server = NFS_SERVER(state->inode); nfs4_retry_setlk() local
7784 struct nfs_server *server = NFS_SERVER(state->inode); nfs4_lock_delegation_recall() local
8049 struct nfs_server *server = NFS_SERVER(dir); _nfs4_proc_fs_locations() local
8116 _nfs41_proc_get_locations(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs4_fs_locations * locations,struct page * page,const struct cred * cred) _nfs41_proc_get_locations() argument
8186 nfs4_proc_get_locations(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs4_fs_locations * locations,struct page * page,const struct cred * cred) nfs4_proc_get_locations() argument
8224 struct nfs_server *server = NFS_SERVER(inode); _nfs41_proc_fsid_present() local
8269 struct nfs_server *server = NFS_SERVER(inode); nfs4_proc_fsid_present() local
9566 struct nfs_server *server = NFS_SERVER(lgp->args.inode); nfs4_layoutget_prepare() local
9584 struct nfs_server *server = NFS_SERVER(inode); nfs4_layoutget_handle_exception() local
9672 max_response_pages(struct nfs_server * server) max_response_pages() argument
9697 struct nfs_server *server = NFS_SERVER(inode); nfs4_proc_layoutget() local
9767 struct nfs_server *server; nfs4_layoutreturn_done() local
9897 _nfs4_proc_getdeviceinfo(struct nfs_server * server,struct pnfs_device * pdev,const struct cred * cred) _nfs4_proc_getdeviceinfo() argument
9930 nfs4_proc_getdeviceinfo(struct nfs_server * server,struct pnfs_device * pdev,const struct cred * cred) nfs4_proc_getdeviceinfo() argument
9949 struct nfs_server *server = NFS_SERVER(data->args.inode); nfs4_layoutcommit_prepare() local
9961 struct nfs_server *server = NFS_SERVER(data->args.inode); nfs4_layoutcommit_done() local
10051 _nfs41_proc_secinfo_no_name(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs4_secinfo_flavors * flavors,bool use_integrity) _nfs41_proc_secinfo_no_name() argument
10099 nfs41_proc_secinfo_no_name(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs4_secinfo_flavors * flavors) nfs41_proc_secinfo_no_name() argument
10139 nfs41_find_root_sec(struct nfs_server * server,struct nfs_fh * fhandle,struct nfs_fattr * fattr) nfs41_find_root_sec() argument
10206 _nfs41_test_stateid(struct nfs_server * server,const nfs4_stateid * stateid,const struct cred * cred) _nfs41_test_stateid() argument
10238 nfs4_handle_delay_or_session_error(struct nfs_server * server,int err,struct nfs4_exception * exception) nfs4_handle_delay_or_session_error() argument
10267 nfs41_test_stateid(struct nfs_server * server,const nfs4_stateid * stateid,const struct cred * cred) nfs41_test_stateid() argument
10283 struct nfs_server *server; global() member
10335 nfs41_free_stateid(struct nfs_server * server,nfs4_stateid * stateid,const struct cred * cred,bool privileged) nfs41_free_stateid() argument
10382 nfs41_free_lock_state(struct nfs_server * server,struct nfs4_lock_state * lsp) nfs41_free_lock_state() argument
10614 struct nfs_server *server; nfs4_clone_server() local
[all...]
/linux/arch/powerpc/sysdev/xics/
H A 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()
59 __func__, d->irq, hw_irq, server, rc); in ics_opal_unmask_irq()
70 int server = ics_opal_mangle_server(xics_default_server); in ics_opal_mask_real_irq() local
[all …]

12345678910>>...15