/openbmc/linux/fs/afs/ |
H A D | server.c | 28 struct afs_server *server = NULL; in afs_find_server() local 35 if (server) in afs_find_server() 36 afs_unuse_server_notime(net, server, afs_server_trace_put_find_rsq); in afs_find_server() 37 server = NULL; in afs_find_server() 43 hlist_for_each_entry_rcu(server, &net->fs_addresses6, addr6_link) { in afs_find_server() 44 alist = rcu_dereference(server->addresses); in afs_find_server() 59 hlist_for_each_entry_rcu(server, &net->fs_addresses4, addr4_link) { in afs_find_server() 60 alist = rcu_dereference(server->addresses); in afs_find_server() 74 server = NULL; in afs_find_server() 77 server = afs_maybe_use_server(server, afs_server_trace_get_by_addr); in afs_find_server() [all …]
|
H A D | fs_probe.c | 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() 61 static void afs_done_one_fs_probe(struct afs_net *net, struct afs_server *server) in afs_done_one_fs_probe() argument [all …]
|
H A 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 …]
|
H A D | server_list.c | 18 afs_unuse_server(net, slist->servers[i].server, in afs_put_serverlist() 32 struct afs_server *server; in afs_alloc_server_list() local 52 server = afs_lookup_server(volume->cell, key, &vldb->fs_server[i], in afs_alloc_server_list() 54 if (IS_ERR(server)) { in afs_alloc_server_list() 55 ret = PTR_ERR(server); in afs_alloc_server_list() 64 if (memcmp(&slist->servers[j].server->uuid, in afs_alloc_server_list() 65 &server->uuid, in afs_alloc_server_list() 66 sizeof(server->uuid)) >= 0) in afs_alloc_server_list() 69 if (slist->servers[j].server == server) { in afs_alloc_server_list() 70 afs_unuse_server(volume->cell->net, server, in afs_alloc_server_list() [all …]
|
/openbmc/linux/fs/smb/client/ |
H A D | transport.c | 44 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 …]
|
H A D | connect.c | 59 /* Drop the connection to not overload the server */ 62 static int ip_connect(struct TCP_Server_Info *server); 63 static int generic_ip_connect(struct TCP_Server_Info *server); 71 * This should be called with server->srv_mutex held. 73 static int reconn_set_ipaddr_from_hostname(struct TCP_Server_Info *server) in reconn_set_ipaddr_from_hostname() argument 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 len = strlen(server->hostname) + 3; in reconn_set_ipaddr_from_hostname() 94 scnprintf(unc, len, "\\\\%s", server in reconn_set_ipaddr_from_hostname() 123 struct TCP_Server_Info *server = tcon->ses->server; smb2_query_server_interfaces() local 157 cifs_signal_cifsd_for_reconnect(struct TCP_Server_Info * server,bool all_channels) cifs_signal_cifsd_for_reconnect() argument 206 cifs_mark_tcp_ses_conns_for_reconnect(struct TCP_Server_Info * server,bool mark_smb_session) cifs_mark_tcp_ses_conns_for_reconnect() argument 300 cifs_abort_connection(struct TCP_Server_Info * server) cifs_abort_connection() argument 355 cifs_tcp_ses_needs_reconnect(struct TCP_Server_Info * server,int num_targets) cifs_tcp_ses_needs_reconnect() argument 388 __cifs_reconnect(struct TCP_Server_Info * server,bool mark_smb_session) __cifs_reconnect() argument 441 __reconnect_target_unlocked(struct TCP_Server_Info * server,const char * target) __reconnect_target_unlocked() argument 474 reconnect_target_unlocked(struct TCP_Server_Info * server,struct dfs_cache_tgt_list * tl,struct dfs_cache_tgt_iterator ** target_hint) reconnect_target_unlocked() argument 498 reconnect_dfs_server(struct TCP_Server_Info * server) reconnect_dfs_server() argument 576 cifs_reconnect(struct TCP_Server_Info * server,bool mark_smb_session) cifs_reconnect() argument 588 cifs_reconnect(struct TCP_Server_Info * server,bool mark_smb_session) cifs_reconnect() argument 598 struct TCP_Server_Info *server = container_of(work, cifs_echo_request() local 624 allocate_buffers(struct TCP_Server_Info * server) allocate_buffers() argument 657 server_unresponsive(struct TCP_Server_Info * server) server_unresponsive() argument 699 zero_credits(struct TCP_Server_Info * server) zero_credits() argument 714 cifs_readv_from_socket(struct TCP_Server_Info * server,struct msghdr * smb_msg) cifs_readv_from_socket() argument 771 cifs_read_from_socket(struct TCP_Server_Info * server,char * buf,unsigned int to_read) cifs_read_from_socket() argument 783 cifs_discard_from_socket(struct TCP_Server_Info * server,size_t to_read) cifs_discard_from_socket() argument 798 cifs_read_page_from_socket(struct TCP_Server_Info * server,struct page * page,unsigned int page_offset,unsigned int to_read) cifs_read_page_from_socket() argument 810 cifs_read_iter_from_socket(struct TCP_Server_Info * server,struct iov_iter * iter,unsigned int to_read) cifs_read_iter_from_socket() argument 824 is_smb_response(struct TCP_Server_Info * server,unsigned char type) is_smb_response() argument 892 smb2_get_credits_from_hdr(char * buffer,struct TCP_Server_Info * server) smb2_get_credits_from_hdr() argument 906 handle_mid(struct mid_q_entry * mid,struct TCP_Server_Info * server,char * buf,int malformed) handle_mid() argument 927 cifs_enable_signing(struct TCP_Server_Info * server,bool mnt_sign_required) cifs_enable_signing() argument 973 clean_demultiplex_info(struct TCP_Server_Info * server) clean_demultiplex_info() argument 1073 standard_receive3(struct TCP_Server_Info * server,struct mid_q_entry * mid) standard_receive3() argument 1108 cifs_handle_standard(struct TCP_Server_Info * server,struct mid_q_entry * mid) cifs_handle_standard() argument 1144 smb2_add_credits_from_hdr(char * buffer,struct TCP_Server_Info * server) smb2_add_credits_from_hdr() argument 1177 struct TCP_Server_Info *server = p; cifs_demultiplex_thread() local 1461 match_port(struct TCP_Server_Info * server,struct sockaddr * addr) match_port() argument 1494 match_server_address(struct TCP_Server_Info * server,struct sockaddr * addr) match_server_address() argument 1503 match_security(struct TCP_Server_Info * server,struct smb3_fs_context * ctx) match_security() argument 1526 match_server(struct TCP_Server_Info * server,struct smb3_fs_context * ctx,bool match_super) match_server() argument 1620 struct TCP_Server_Info *server; cifs_find_tcp_session() local 1646 cifs_put_tcp_session(struct TCP_Server_Info * server,int from_reconnect) cifs_put_tcp_session() argument 1973 struct TCP_Server_Info *server = ses->server; cifs_setup_ipc() local 2022 cifs_find_smb_ses(struct TCP_Server_Info * server,struct smb3_fs_context * ctx) cifs_find_smb_ses() argument 2051 struct TCP_Server_Info *server = ses->server; __cifs_put_smb_ses() local 2139 struct TCP_Server_Info *server = ses->server; cifs_set_cifscreds() local 2289 cifs_get_smb_ses(struct TCP_Server_Info * server,struct smb3_fs_context * ctx) cifs_get_smb_ses() argument 2458 struct TCP_Server_Info *server = tcon->ses->server; match_tcon() local 3016 bind_socket(struct TCP_Server_Info * server) bind_socket() argument 3045 ip_rfc1001_connect(struct TCP_Server_Info * server) ip_rfc1001_connect() argument 3100 generic_ip_connect(struct TCP_Server_Info * server) generic_ip_connect() argument 3215 ip_connect(struct TCP_Server_Info * server) ip_connect() argument 3424 struct TCP_Server_Info *server = NULL; cifs_mount_get_session() local 3471 struct TCP_Server_Info *server; cifs_mount_get_tcon() local 3595 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 3650 struct TCP_Server_Info *server = mnt_ctx->server; cifs_is_path_remote() local 3953 cifs_negotiate_protocol(const unsigned int xid,struct cifs_ses * ses,struct TCP_Server_Info * server) cifs_negotiate_protocol() argument 3998 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 D | smb2transport.c | 30 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 smb3_get_sign_key(__u64 ses_id, struct TCP_Server_Info *server, u8 *key) in smb3_get_sign_key() argument 89 pserver = SERVER_IS_CHAN(server) ? server->primary_server : server; in smb3_get_sign_key() 105 is_binding = (cifs_chan_needs_reconnect(ses, server) && in smb3_get_sign_key() 125 if (chan->server == server) { in smb3_get_sign_key() 146 smb2_find_smb_ses_unlocked(struct TCP_Server_Info *server, __u64 ses_id) in smb2_find_smb_ses_unlocked() argument 152 pserver = SERVER_IS_CHAN(server) ? server->primary_server : server; in smb2_find_smb_ses_unlocked() [all …]
|
H A D | cifs_debug.c | 38 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server) in cifs_dump_detail() argument 46 if (!server->ops->check_message(buf, server->total_read, server)) { in cifs_dump_detail() 48 server->ops->calc_smb_size(smb)); in cifs_dump_detail() 53 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids() argument 58 if (server == NULL) in cifs_dump_mids() 62 spin_lock(&server->mid_lock); in cifs_dump_mids() 63 list_for_each_entry(mid_entry, &server->pending_mid_q, qhead) { in cifs_dump_mids() 80 cifs_dump_detail(mid_entry->resp_buf, server); in cifs_dump_mids() 85 spin_unlock(&server->mid_lock); in cifs_dump_mids() 119 if (tcon->ses->server->ops->dump_share_caps) in cifs_debug_tcon() [all …]
|
H A D | cifsencrypt.c | 172 struct TCP_Server_Info *server, char *signature, in __cifs_calc_signature() argument 181 if (!is_smb1(server)) { in __cifs_calc_signature() 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() 255 int cifs_sign_rqst(struct smb_rqst *rqst, struct TCP_Server_Info *server, in cifs_sign_rqst() argument [all …]
|
H A D | smb2pdu.c | 81 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 84 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 92 struct TCP_Server_Info *server) in smb2_hdr_assemble() argument 100 if (server) { in smb2_hdr_assemble() 102 if (server->dialect >= SMB30_PROT_ID) { in smb2_hdr_assemble() 108 if (SERVER_IS_CHAN(server)) in smb2_hdr_assemble() 110 cpu_to_le16(server->primary_server->channel_sequence_num); in smb2_hdr_assemble() 113 cpu_to_le16(server->channel_sequence_num); in smb2_hdr_assemble() 115 spin_lock(&server->req_lock); in smb2_hdr_assemble() 117 if (server in smb2_hdr_assemble() 165 cifs_chan_skip_or_disable(struct cifs_ses * ses,struct TCP_Server_Info * server,bool from_reconnect) cifs_chan_skip_or_disable() argument 214 smb2_reconnect(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,bool from_reconnect) smb2_reconnect() argument 502 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 528 __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 560 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 574 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 695 assemble_neg_contexts(struct smb2_negotiate_req * req,struct TCP_Server_Info * server,unsigned int * total_len) assemble_neg_contexts() argument 793 decode_compress_ctx(struct TCP_Server_Info * server,struct smb2_compression_capabilities_context * ctxt) decode_compress_ctx() argument 828 decode_encrypt_ctx(struct TCP_Server_Info * server,struct smb2_encryption_neg_context * ctxt) decode_encrypt_ctx() argument 880 decode_signing_ctx(struct TCP_Server_Info * server,struct smb2_signing_capabilities * pctxt) decode_signing_ctx() argument 911 smb311_decode_neg_context(struct smb2_negotiate_rsp * rsp,struct TCP_Server_Info * server,unsigned int len_of_smb) smb311_decode_neg_context() argument 1046 SMB2_negotiate(const unsigned int xid,struct cifs_ses * ses,struct TCP_Server_Info * server) SMB2_negotiate() argument 1286 struct TCP_Server_Info *server = tcon->ses->server; smb3_validate_negotiate() local 1419 smb2_select_sectype(struct TCP_Server_Info * server,enum securityEnum requested) smb2_select_sectype() argument 1443 struct TCP_Server_Info *server; global() member 1465 struct TCP_Server_Info *server = sess_data->server; SMB2_sess_alloc_buffer() local 1587 struct TCP_Server_Info *server = sess_data->server; SMB2_sess_establish_session() local 1615 struct TCP_Server_Info *server = sess_data->server; SMB2_auth_kerberos() local 1710 struct TCP_Server_Info *server = sess_data->server; SMB2_sess_auth_rawntlmssp_negotiate() local 1802 struct TCP_Server_Info *server = sess_data->server; SMB2_sess_auth_rawntlmssp_authenticate() local 1880 struct TCP_Server_Info *server = sess_data->server; SMB2_select_sec() local 1906 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 1957 struct TCP_Server_Info *server; SMB2_logoff() local 2043 struct TCP_Server_Info *server = cifs_pick_channel(ses); SMB2_tcon() local 2176 struct TCP_Server_Info *server = cifs_pick_channel(ses); SMB2_tdis() local 2323 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 2403 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) add_lease_context() argument 2835 struct TCP_Server_Info *server; smb311_posix_mkdir() local 2996 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 3188 struct TCP_Server_Info *server; SMB2_open() local 3287 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 3410 struct TCP_Server_Info *server; SMB2_ioctl() local 3563 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 3604 struct TCP_Server_Info *server; __SMB2_close() local 3750 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 3811 struct TCP_Server_Info *server; query_info() local 3960 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 3998 struct TCP_Server_Info *server; SMB2_change_notify() local 4094 struct TCP_Server_Info *server = mid->callback_data; smb2_echo_callback() local 4110 struct TCP_Server_Info *server = container_of(work, smb2_reconnect_server() local 4244 SMB2_echo(struct TCP_Server_Info * server) SMB2_echo() argument 4293 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 4323 struct TCP_Server_Info *server; SMB2_flush() local 4381 struct TCP_Server_Info *server = io_parms->server; smb3_use_rdma_offload() local 4420 struct TCP_Server_Info *server = io_parms->server; smb2_new_read_req() local 4508 struct TCP_Server_Info *server = rdata->server; smb2_readv_callback() local 4601 struct TCP_Server_Info *server; smb2_async_readv() local 4760 struct TCP_Server_Info *server = wdata->server; smb2_writev_callback() local 4846 struct TCP_Server_Info *server = wdata->server; smb2_async_writev() local 5013 struct TCP_Server_Info *server; SMB2_write() local 5246 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 5411 struct TCP_Server_Info *server; SMB2_query_directory() local 5484 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 5546 struct TCP_Server_Info *server; send_set_info() local 5655 struct TCP_Server_Info *server; SMB2_oplock_break() local 5742 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 5791 struct TCP_Server_Info *server; SMB311_posix_qfs_info() local 5856 struct TCP_Server_Info *server; SMB2_QFS_info() local 5921 struct TCP_Server_Info *server; SMB2_QFS_attr() local 6023 struct TCP_Server_Info *server; smb2_lockv() local 6113 struct TCP_Server_Info *server = cifs_pick_channel(tcon->ses); SMB2_lease_break() local [all...] |
/openbmc/qemu/util/ |
H A D | vhost-user-server.c | 90 void vhost_user_server_inc_in_flight(VuServer *server) in vhost_user_server_inc_in_flight() argument 92 assert(!server->wait_idle); in vhost_user_server_inc_in_flight() 93 qatomic_inc(&server->in_flight); in vhost_user_server_inc_in_flight() 96 void vhost_user_server_dec_in_flight(VuServer *server) in vhost_user_server_dec_in_flight() argument 98 if (qatomic_fetch_dec(&server->in_flight) == 1) { in vhost_user_server_dec_in_flight() 99 if (server->wait_idle) { in vhost_user_server_dec_in_flight() 100 aio_co_wake(server->co_trip); in vhost_user_server_dec_in_flight() 105 bool vhost_user_server_has_in_flight(VuServer *server) in vhost_user_server_has_in_flight() argument 107 return qatomic_load_acquire(&server->in_flight) > 0; in vhost_user_server_has_in_flight() 120 VuServer *server = container_of(vu_dev, VuServer, vu_dev); in vu_message_read() local [all …]
|
/openbmc/qemu/contrib/ivshmem-server/ |
H A D | ivshmem-server.c | 18 #define IVSHMEM_SERVER_DEBUG(server, fmt, ...) do { \ argument 19 if ((server)->verbose) { \ 74 ivshmem_server_free_peer(IvshmemServer *server, IvshmemServerPeer *peer) in ivshmem_server_free_peer() argument 79 IVSHMEM_SERVER_DEBUG(server, "free peer %" PRId64 "\n", peer->id); in ivshmem_server_free_peer() 81 QTAILQ_REMOVE(&server->peer_list, peer, next); in ivshmem_server_free_peer() 84 QTAILQ_FOREACH(other_peer, &server->peer_list, next) { in ivshmem_server_free_peer() 97 ivshmem_server_send_initial_info(IvshmemServer *server, IvshmemServerPeer *peer) in ivshmem_server_send_initial_info() argument 105 IVSHMEM_SERVER_DEBUG(server, "cannot send version: %s\n", in ivshmem_server_send_initial_info() 113 IVSHMEM_SERVER_DEBUG(server, "cannot send peer id: %s\n", in ivshmem_server_send_initial_info() 119 ret = ivshmem_server_send_one_msg(peer->sock_fd, -1, server->shm_fd); in ivshmem_server_send_initial_info() [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | client.c | 215 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() argument 217 rpc_init_wait_queue(&server->roc_rpcwaitq, "pNFS ROC"); in pnfs_init_server() 229 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() argument 558 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server() argument 560 if (server->nlm_host) in nfs_destroy_server() 561 nlmclnt_done(server->nlm_host); in nfs_destroy_server() 567 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd() argument 570 struct nfs_client *clp = server->nfs_client; in nfs_start_lockd() 576 .noresvport = server->flags & NFS_MOUNT_NORESVPORT ? in nfs_start_lockd() 580 .cred = server->cred, in nfs_start_lockd() [all …]
|
H A D | nfs4client.c | 795 static void nfs4_destroy_server(struct nfs_server *server) in nfs4_destroy_server() argument 799 nfs_server_return_all_delegations(server); in nfs4_destroy_server() 800 unset_pnfs_layoutdriver(server); in nfs4_destroy_server() 801 nfs4_purge_state_owners(server, &freeme); in nfs4_destroy_server() 895 static int nfs4_set_client(struct nfs_server *server, in nfs4_set_client() argument 916 .cred = server->cred, in nfs4_set_client() 931 if (server->flags & NFS_MOUNT_NORESVPORT) in nfs4_set_client() 933 if (server->options & NFS_OPTION_MIGRATION) in nfs4_set_client() 935 if (test_bit(NFS_MIG_TSM_POSSIBLE, &server->mig_status)) in nfs4_set_client() 937 server->port = rpc_get_port((struct sockaddr *)addr); in nfs4_set_client() [all …]
|
H A D | nfs3client.c | 27 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 …]
|
/openbmc/obmc-console/ |
H A D | console-server.c | 72 console_server_find_released_pollfd(struct console_server *server) in console_server_find_released_pollfd() argument 74 for (size_t i = 0; i < server->capacity_pollfds; i++) { in console_server_find_released_pollfd() 75 struct pollfd *p = &server->pollfds[i]; in console_server_find_released_pollfd() 85 ssize_t console_server_request_pollfd(struct console_server *server, int fd, in console_server_request_pollfd() argument 91 index = console_server_find_released_pollfd(server); in console_server_request_pollfd() 94 const size_t newcap = server->capacity_pollfds + 1; in console_server_request_pollfd() 96 struct pollfd *newarr = reallocarray(server->pollfds, newcap, in console_server_request_pollfd() 101 server->pollfds = newarr; in console_server_request_pollfd() 103 index = (ssize_t)server->capacity_pollfds; in console_server_request_pollfd() 105 server->capacity_pollfds = newcap; in console_server_request_pollfd() [all …]
|
H A D | console-mux.c | 99 console_mux_release_gpio_lines(struct console_server *server) in console_mux_release_gpio_lines() argument 101 for (unsigned long i = 0; i < server->mux->n_mux_gpios; i++) { in console_mux_release_gpio_lines() 102 struct console_gpio *gpio = &server->mux->mux_gpios[i]; in console_mux_release_gpio_lines() 112 console_mux_request_gpio_lines(struct console_server *server, in console_mux_request_gpio_lines() argument 119 for (server->mux->n_mux_gpios = 0; *current; in console_mux_request_gpio_lines() 120 server->mux->n_mux_gpios++) { in console_mux_request_gpio_lines() 121 size_t i = server->mux->n_mux_gpios; in console_mux_request_gpio_lines() 123 &server->mux->mux_gpios[i], ¤t); in console_mux_request_gpio_lines() 125 console_mux_release_gpio_lines(server); in console_mux_request_gpio_lines() 134 console_mux_release_gpio_lines(server); in console_mux_request_gpio_lines() [all …]
|
H A D | console-dbus.c | 41 tty_init_termios(console->server); in tty_change_baudrate() 53 rc = type->baudrate(handler, console->server->tty.uart.baud); in tty_change_baudrate() 86 assert(console->server->tty.type == TTY_DEVICE_UART); in set_baud_handler() 87 console->server->tty.uart.baud = speed; in set_baud_handler() 103 struct console_server *server = console->server; in get_baud_handler() local 107 assert(server->tty.type == TTY_DEVICE_UART); in get_baud_handler() 108 baudrate = parse_baud_to_int(server->tty.uart.baud); in get_baud_handler() 110 warnx("Invalid baud rate: '%d'", server->tty.uart.baud); in get_baud_handler() 167 int dbus_server_init(struct console_server *server) in dbus_server_init() argument 171 r = sd_bus_default(&server->bus); in dbus_server_init() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/ |
H A D | 0013-raddb-certs-Makefile-fix-the-occasional-verification.patch | 11 openssl pkcs12 -in server.p12 -out server.pem -passin pass:'whatever' -passout pass:'whatever' 12 chmod g+r server.pem 17 error server.pem: verification failed 18 make: *** [Makefile:107: server.vrfy] Error 2 20 It seems the ca.pem mismatchs server.pem which results in failing to 21 execute "openssl verify -CAfile ca.pem server.pem", so add to check 35 @@ -59,7 +59,7 @@ passwords.mk: server.cnf ca.cnf client.cnf inner-server.cnf 69 server.csr server.key: server.cnf 70 - $(OPENSSL) req -new -out server.csr -keyout server.key -config ./server.cnf 71 + @[ -f server.csr ] || $(OPENSSL) req -new -out server.csr -keyout server.key -config ./server.cnf [all …]
|
/openbmc/obmc-ikvm/ |
H A D | ikvm_server.cpp | 25 server = rfbGetScreen(&argc, commandLine.argv, video.getWidth(), in Server() 29 if (!server) in Server() 40 server->screenData = this; in Server() 41 server->desktopName = "OpenBMC IKVM"; in Server() 42 server->frameBuffer = framebuffer.data(); in Server() 43 server->newClientHook = newClient; in Server() 44 server->cursor = rfbMakeXCursor(cursorWidth, cursorHeight, (char*)cursor, in Server() 46 server->cursor->xhot = 1; in Server() 47 server->cursor->yhot = 1; in Server() 49 rfbStringToAddr(&ip[0], &server->listenInterface); in Server() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/ |
H A D | rp-pppoe_3.15.bb | 1 SUMMARY = "A user-mode PPPoE client and server suite for Linux" 14 file://pppoe-server.default \ 15 file://pppoe-server.init \ 16 file://pppoe-server.service \ 32 install -m 0644 ${UNPACKDIR}/pppoe-server.service ${D}${systemd_unitdir}/system 33 sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/pppoe-server.service 34 sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/pppoe-server.service 44 install -m 0644 ${UNPACKDIR}/pppoe-server.default ${D}${sysconfdir}/default/pppoe-server 45 install -m 0755 ${UNPACKDIR}/pppoe-server.init ${D}${sysconfdir}/init.d/pppoe-server 51 SYSTEMD_PACKAGES = "${PN}-server" [all …]
|
/openbmc/linux/arch/powerpc/sysdev/xics/ |
H A D | ics-opal.c | 29 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 …]
|
/openbmc/phosphor-state-manager/ |
H A D | hypervisor_state_manager.cpp | 25 namespace server = sdbusplus::server::xyz::openbmc_project::state; 28 server::Host::Transition Hypervisor::requestedHostTransition(Transition value) in requestedHostTransition() 34 if (value != server::Host::Transition::On) in requestedHostTransition() 38 return server::Host::Transition::Off; in requestedHostTransition() 44 return server::Host::requestedHostTransition(value); in requestedHostTransition() 47 server::Host::HostState Hypervisor::currentHostState(HostState value) in currentHostState() 50 if (value != server::Host::currentHostState()) in currentHostState() 54 return server::Host::currentHostState(value); in currentHostState() 57 server::Host::HostState Hypervisor::currentHostState() const in currentHostState() 59 return server::Host::currentHostState(); in currentHostState() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/server/ |
H A D | xmlrpcserver.py | 13 from xmlrpc.server import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler 14 import bb.server.xmlrpcclient 27 def __init__(self, request, client_address, server): argument 28 self.server = server 29 SimpleXMLRPCRequestHandler.__init__(self, request, client_address, server) 36 if 0 and remote_token != self.server.connection_token and remote_token != "observer": 40 self.server.readonly = True 42 self.server.readonly = False 94 def __init__(self, server): argument 95 self.server = server [all …]
|
/openbmc/smbios-mdr/include/ |
H A D | dimm.hpp | 37 sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::DeviceType; 40 sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::Ecc; 43 sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm::MemoryTech; 48 sdbusplus::server::object_t< 49 sdbusplus::server::xyz::openbmc_project::inventory::item::Dimm>, 50 sdbusplus::server::object_t<sdbusplus::server::xyz::openbmc_project:: 52 sdbusplus::server::object_t< 53 sdbusplus::server::xyz::openbmc_project::inventory::decorator::Asset>, 54 sdbusplus::server::object_t<sdbusplus::server::xyz::openbmc_project:: 56 sdbusplus::server::object_t< [all …]
|