Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 25 of 220) sorted by relevance

123456789

/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tape.c312 reply.flags = 0; in ndmpd_tape_get_state_v2()
315 reply.soft_errors = 0; in ndmpd_tape_get_state_v2()
323 reply.soft_errors = 0; in ndmpd_tape_get_state_v2()
329 reply.flags, reply.file_num, reply.block_size, reply.blockno); in ndmpd_tape_get_state_v2()
550 (void) memset((void *) &reply, 0, sizeof (reply)); in ndmpd_tape_execute_cdb_v2()
645 reply.flags = 0; in ndmpd_tape_get_state_v3()
670 reply.flags, reply.file_num, reply.block_size, reply.blockno); in ndmpd_tape_get_state_v3()
764 reply.count = 0; in ndmpd_tape_write_v3()
812 reply.count = n; in ndmpd_tape_write_v3()
1027 reply.flags, reply.file_num, reply.block_size, reply.blockno); in ndmpd_tape_get_state_v4()
[all …]
H A Dndmpd_config.c114 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_config_get_host_info_v2()
297 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_config_get_host_info_v3()
348 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_config_get_connection_type_v3()
385 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_config_get_auth_attr_v3()
441 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_config_get_butype_info_v3()
542 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_config_get_fs_info_v3()
695 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_config_get_tape_info_v3()
799 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_config_get_scsi_info_v3()
882 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_config_get_server_info_v3()
900 reply.vendor_name, reply.product_name, reply.revision_number); in ndmpd_config_get_server_info_v3()
[all …]
H A Dndmpd_data.c227 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_data_get_env_v2()
350 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_data_get_state_v3()
401 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_data_start_backup_v3()
491 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_data_start_recover_v3()
673 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_data_listen_v3()
752 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_data_connect_v3()
833 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_data_get_env_v4()
872 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_data_get_state_v4()
925 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_data_connect_v4()
1002 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_data_listen_v4()
[all …]
H A Dndmpd_scsi.c102 ndmp_scsi_close_reply reply; in ndmpd_scsi_close_v2() local
125 reply.error = NDMP_NO_ERR; in ndmpd_scsi_close_v2()
158 reply.error = NDMP_NO_ERR; in ndmpd_scsi_get_state_v2()
160 reply.target_id = -1; in ndmpd_scsi_get_state_v2()
161 reply.target_lun = -1; in ndmpd_scsi_get_state_v2()
163 reply.error = NDMP_NO_ERR; in ndmpd_scsi_get_state_v2()
232 reply.error = NDMP_NO_ERR; in ndmpd_scsi_reset_device_v2()
297 (void) memset((void *) &reply, 0, sizeof (reply)); in ndmpd_scsi_execute_cdb_v2()
392 ndmp_scsi_open_reply reply; in scsi_open_send_reply() local
394 reply.error = err; in scsi_open_send_reply()
[all …]
H A Dndmpd_mover.c148 reply.data_written = in ndmpd_mover_get_state_v2()
150 reply.seek_position = in ndmpd_mover_get_state_v2()
154 reply.window_offset = in ndmpd_mover_get_state_v2()
556 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_mover_get_state_v3()
609 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_mover_listen_v3()
701 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_mover_continue_v3()
922 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_mover_read_v3()
1043 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_mover_connect_v3()
1137 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_mover_get_state_v4()
1193 (void) memset((void*)&reply, 0, sizeof (reply)); in ndmpd_mover_listen_v4()
[all …]
H A Dndmpd_connect.c145 ndmp_connect_open_reply reply; in ndmpd_connect_open_v2() local
148 reply.error = NDMP_NO_ERR; in ndmpd_connect_open_v2()
157 reply.error = NDMP_ILLEGAL_ARGS_ERR; in ndmpd_connect_open_v2()
168 if (reply.error == NDMP_NO_ERR) { in ndmpd_connect_open_v2()
193 ndmp_connect_client_auth_reply reply; in ndmpd_connect_client_auth_v2() local
208 reply.error = NDMP_NO_ERR; in ndmpd_connect_client_auth_v2()
219 reply.error = NDMP_ILLEGAL_ARGS_ERR; in ndmpd_connect_client_auth_v2()
330 if (reply.error == NDMP_NO_ERR) in ndmpd_connect_client_auth_v2()
366 reply.error = NDMP_NO_ERR; in ndmpd_connect_server_auth_v2()
451 reply.error = NDMP_NO_ERR; in ndmpd_connect_client_auth_v3()
[all …]
/illumos-gate/usr/src/cmd/hal/hald-runner/
H A Dmain.c92 DBusMessage *reply; in handle_run() local
131 dbus_message_unref(reply); in handle_run()
137 DBusMessage *reply; in handle_start() local
172 dbus_message_unref(reply); in handle_start()
179 dbus_message_unref(reply); in handle_start()
186 DBusMessage *reply = NULL; in handle_kill() local
195 g_assert(reply); in handle_kill()
197 dbus_message_unref(reply); in handle_kill()
205 dbus_message_unref(reply); in handle_kill()
211 DBusMessage *reply; in filter() local
[all …]
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_device.c101 if (reply == NULL) { in ldma_dev_validate_path()
109 reply->msg_info = 0x0; in ldma_dev_validate_path()
188 free(reply); in ldma_dev_validate_path()
189 reply = NULL; in ldma_dev_validate_path()
200 *replyp = reply; in ldma_dev_validate_path()
242 if (reply == NULL) { in ldma_dev_validate_nic()
247 reply->msg_info = 0x0; in ldma_dev_validate_nic()
273 free(reply); in ldma_dev_validate_nic()
274 reply = NULL; in ldma_dev_validate_nic()
281 nic, reply->msg_info); in ldma_dev_validate_nic()
[all …]
H A Dldma_system.c79 ldma_message_header_t *reply; in ldma_sys_get_sysinfo() local
107 reply = ldma_alloc_result_msg(request, rlen); in ldma_sys_get_sysinfo()
109 if (reply == NULL) { in ldma_sys_get_sysinfo()
114 reply->msg_info = rlen; in ldma_sys_get_sysinfo()
116 data = LDMA_HDR2DATA(reply); in ldma_sys_get_sysinfo()
136 *replyp = reply; in ldma_sys_get_sysinfo()
256 ldma_message_header_t *reply; in ldma_sys_get_chassisno() local
280 if (reply == NULL) { in ldma_sys_get_chassisno()
285 reply->msg_info = rlen; in ldma_sys_get_chassisno()
287 data = LDMA_HDR2DATA(reply); in ldma_sys_get_chassisno()
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A DDAAdvert.c52 len = slp_get_length(reply); in slp_unpackDAAdvert()
53 off = SLP_HDRLEN + slp_get_langlen(reply); in slp_unpackDAAdvert()
64 iov[0].iov_base = reply + off; in slp_unpackDAAdvert()
66 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) { in slp_unpackDAAdvert()
69 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) { in slp_unpackDAAdvert()
75 iov[1].iov_base = reply + off; in slp_unpackDAAdvert()
77 if ((err = slp_get_string(reply, len, &off, surl)) != SLP_OK) { in slp_unpackDAAdvert()
83 iov[3].iov_base = reply + off; in slp_unpackDAAdvert()
91 iov[2].iov_base = reply + off; in slp_unpackDAAdvert()
99 iov[4].iov_base = reply + off; in slp_unpackDAAdvert()
[all …]
H A DSAAdvert.c40 SLPError slp_unpackSAAdvert(char *reply, char **surl, in slp_unpackSAAdvert() argument
52 len = slp_get_length(reply); in slp_unpackSAAdvert()
53 off = SLP_HDRLEN + slp_get_langlen(reply); in slp_unpackSAAdvert()
56 iov[0].iov_base = reply + off; in slp_unpackSAAdvert()
58 if ((err = slp_get_string(reply, len, &off, surl)) != SLP_OK) { in slp_unpackSAAdvert()
64 iov[2].iov_base = reply + off; in slp_unpackSAAdvert()
66 if ((err = slp_get_string(reply, len, &off, scopes)) != SLP_OK) { in slp_unpackSAAdvert()
72 iov[1].iov_base = reply + off; in slp_unpackSAAdvert()
74 if ((err = slp_get_string(reply, len, &off, attrs)) != SLP_OK) { in slp_unpackSAAdvert()
80 if ((err = slp_get_byte(reply, len, &off, &auth_cnt)) != SLP_OK) { in slp_unpackSAAdvert()
[all …]
H A Dslp_da_cache.c84 const char *reply; member
102 char *reply = NULL; in slp_find_das_cached() local
122 if (!(reply = malloc((*ans)->reply_len))) { in slp_find_das_cached()
127 (void) memcpy(reply, (*ans)->reply, (*ans)->reply_len); in slp_find_das_cached()
139 return (reply); in slp_find_das_cached()
147 void slp_put_das_cached(const char *query, const char *reply, in slp_put_das_cached() argument
170 if (!(ce->reply = malloc(len))) { in slp_put_das_cached()
176 (void) memcpy((void *) (ce->reply), reply, len); in slp_put_das_cached()
188 free((void *) ((*ce2)->reply)); in slp_put_das_cached()
210 free((void *) (ce->reply)); in free_cache_entry()
H A Dslp_net.c228 if (!reply && !(reply = malloc(mtu))) { in slp_uc_udp_send()
264 free(reply); reply = NULL; in slp_uc_udp_send()
291 free(reply); reply = NULL; in slp_uc_udp_send()
306 if (reply) free(reply); in slp_uc_udp_send()
310 if (reply) { in slp_uc_udp_send()
488 reply = NULL; in tcp_thread()
549 if (reply) { in tcp_thread()
550 free(reply); in tcp_thread()
1042 if (!reply && !(reply = malloc(mtu))) { in mc_recvmsg()
1052 free(reply); reply = NULL; in mc_recvmsg()
[all …]
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald_dbus.c82 DBusMessage *reply; in raise_error() local
91 if (reply == NULL) in raise_error()
205 DBusMessage *reply; in raise_device_already_locked() local
217 if (reply == NULL || !dbus_connection_send (connection, reply, NULL)) in raise_device_already_locked()
234 DBusMessage *reply; in raise_branch_already_claimed() local
246 if (reply == NULL || !dbus_connection_send (connection, reply, NULL)) in raise_branch_already_claimed()
327 DBusMessage *reply; in manager_get_all_devices() local
332 if (reply == NULL) in manager_get_all_devices()
452 if (reply == NULL) in manager_find_device_string_match()
536 if (reply == NULL) in manager_find_device_by_capability()
[all …]
/illumos-gate/usr/src/lib/hal/libhal/common/
H A Dlibhal.c425 DBusMessage *reply; in libhal_device_get_all_properties() local
461 if (reply == NULL) { in libhal_device_get_all_properties()
1083 DBusMessage *reply; in libhal_get_all_devices() local
1147 DBusMessage *reply; in libhal_device_get_property_type() local
1207 DBusMessage *reply; in libhal_device_get_property_strlist() local
1278 DBusMessage *reply; in libhal_device_get_property_string() local
1353 DBusMessage *reply; in libhal_device_get_property_int() local
1424 DBusMessage *reply; in libhal_device_get_property_uint64() local
2173 if (reply == NULL) in libhal_device_lock()
2224 if (reply == NULL) in libhal_device_unlock()
[all …]
/illumos-gate/usr/src/cmd/sckmd/sparc/sun4u/
H A Dsckmd.c222 sckm_ioctl_status_t reply; in process_sckm_req() local
237 reply.transid = msg->transid; in process_sckm_req()
244 return (send_sckm_status(fd, &reply)); in process_sckm_req()
251 return (send_sckm_status(fd, &reply)); in process_sckm_req()
267 return (send_sckm_status(fd, &reply)); in process_sckm_req()
302 return (send_sckm_status(fd, &reply)); in process_sckm_req()
310 return (send_sckm_status(fd, &reply)); in process_sckm_req()
318 return (send_sckm_status(fd, &reply)); in process_sckm_req()
323 reply.status = err; in process_sckm_req()
325 reply.sadb_msg_errno = errno; in process_sckm_req()
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dmaindoor.c54 repository_door_response_t reply; in main_switcher() local
67 reply.rdr_status = INVALID_RESULT; in main_switcher()
84 reply.rdr_status = REPOSITORY_DOOR_FAIL_BAD_REQUEST; in main_switcher()
93 reply.rdr_status = REPOSITORY_DOOR_FAIL_VERSION_MISMATCH; in main_switcher()
101 reply.rdr_status = REPOSITORY_DOOR_FAIL_BAD_REQUEST; in main_switcher()
106 reply.rdr_status = REPOSITORY_DOOR_FAIL_PERMISSION_DENIED; in main_switcher()
113 reply.rdr_status = create_connection(ti->ti_ucred, request, in main_switcher()
115 if (reply.rdr_status != REPOSITORY_DOOR_SUCCESS) { in main_switcher()
126 reply.rdr_status = REPOSITORY_DOOR_FAIL_BAD_REQUEST; in main_switcher()
131 assert(reply.rdr_status != INVALID_RESULT); in main_switcher()
[all …]
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c139 if (reply == NULL) in dhcp_ipc_alloc_reply()
151 return (reply); in dhcp_ipc_alloc_reply()
166 if (reply == NULL || reply->data_length == 0) { in dhcp_ipc_get_data()
172 *type = reply->data_type; in dhcp_ipc_get_data()
175 return (reply->buffer); in dhcp_ipc_get_data()
334 reply->data_length)); in dhcp_ipc_send_reply()
724 dhcp_ipc_reply_t *reply; in getinfo_ifnames() local
763 free(reply); in getinfo_ifnames()
768 free(reply); in getinfo_ifnames()
925 free(reply); in dhcp_ipc_getinfo()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dprompter.c72 if (prompts[i].reply->length > INT_MAX) in krb5_prompter_posix()
83 (void)memset(prompts[i].reply->data, 0, prompts[i].reply->length); in krb5_prompter_posix()
86 retp = fgets(prompts[i].reply->data, (int)prompts[i].reply->length, in krb5_prompter_posix()
100 retp = strchr(prompts[i].reply->data, '\n'); in krb5_prompter_posix()
113 prompts[i].reply->length = strlen(prompts[i].reply->data); in krb5_prompter_posix()
263 memset(prompts[i].reply->data, 0, prompts[i].reply->length); in krb5_prompter_posix()
265 if (fgets(prompts[i].reply->data, prompts[i].reply->length, stdin) in krb5_prompter_posix()
277 if ((ptr = strchr(prompts[i].reply->data, '\n'))) in krb5_prompter_posix()
284 prompts[i].reply->length = strlen(prompts[i].reply->data); in krb5_prompter_posix()
295 memset(prompts[i].reply->data, 0, prompts[i].reply->length); in krb5_prompter_posix()
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_doorsvc.c807 &reply.gtr_count, in smbd_dop_vss_get_snapshots()
899 smb_quota_response_t reply; in smbd_dop_quota_query() local
910 reply.qr_status = status; in smbd_dop_quota_query()
916 smb_quota_free(&reply); in smbd_dop_quota_query()
952 dfs_referral_response_t reply; in smbd_dop_dfs_get_referrals() local
955 bzero(&reply, sizeof (reply)); in smbd_dop_dfs_get_referrals()
984 uint32_t reply; in smbd_dop_shr_hostaccess() local
987 bzero(&reply, sizeof (reply)); in smbd_dop_shr_hostaccess()
1009 int reply; in smbd_dop_shr_exec() local
1012 bzero(&reply, sizeof (reply)); in smbd_dop_shr_exec()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dmk_rep.c47 krb5_ap_rep reply; in krb5_mk_rep() local
78 scratch, &reply.enc_part))) in krb5_mk_rep()
81 if (!(retval = encode_krb5_ap_rep(&reply, &toutbuf))) { in krb5_mk_rep()
86 memset(reply.enc_part.ciphertext.data, 0, reply.enc_part.ciphertext.length); in krb5_mk_rep()
87 free(reply.enc_part.ciphertext.data); in krb5_mk_rep()
88 reply.enc_part.ciphertext.length = 0; in krb5_mk_rep()
89 reply.enc_part.ciphertext.data = 0; in krb5_mk_rep()
/illumos-gate/usr/src/boot/libsa/
H A Drpc.c116 struct rpc_reply *reply; in rpc_call() local
178 if (cc <= sizeof(*reply)) { in rpc_call()
188 auth = &reply->rp_u.rpu_rok.rok_auth; in rpc_call()
207 rsize = cc - sizeof(*reply); in rpc_call()
208 *rdata = (void *)((uintptr_t)reply + sizeof(*reply)); in rpc_call()
223 struct rpc_reply *reply; in recvrpc() local
240 x = ntohl(reply->rp_xid); in recvrpc()
250 x = ntohl(reply->rp_direction); in recvrpc()
260 x = ntohl(reply->rp_astatus); in recvrpc()
262 errno = ntohl(reply->rp_u.rpu_errno); in recvrpc()
[all …]
/illumos-gate/usr/src/cmd/hal/utils/
H A Dadt_data.c28 DBusMessage *reply; in get_audit_export_data() local
51 reply = dbus_connection_send_with_reply_and_block (bus, in get_audit_export_data()
60 if (reply == NULL) { in get_audit_export_data()
65 dbus_message_iter_init (reply, &iter); in get_audit_export_data()
71 dbus_message_unref (reply); in get_audit_export_data()
86 dbus_message_unref (reply); in get_audit_export_data()
97 dbus_message_unref (reply); in get_audit_export_data()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_echo.c60 struct mbuf_chain reply; in smb_com_echo() local
92 MBC_INIT(&reply, SMB_HEADER_ED_LEN + 10 + nbytes); in smb_com_echo()
94 (void) smb_mbc_encodef(&reply, SMB_HEADER_ED_FMT, in smb_com_echo()
108 (void) smb_mbc_encodef(&reply, "bww#c", 1, i, in smb_com_echo()
112 smb_sign_reply(sr, &reply); in smb_com_echo()
114 (void) smb_session_send(sr->session, 0, &reply); in smb_com_echo()
H A Dsmb_nt_transact_quota.c91 smb_quota_response_t reply; in smb_nt_transact_query_quota() local
95 bzero(&reply, sizeof (smb_quota_response_t)); in smb_nt_transact_query_quota()
156 if (smb_quota_query(sr->sr_server, &request, &reply) != 0) { in smb_nt_transact_query_quota()
159 status = reply.qr_status; in smb_nt_transact_query_quota()
163 &request, &reply, ofile); in smb_nt_transact_query_quota()
167 xdr_free(smb_quota_response_xdr, (char *)&reply); in smb_nt_transact_query_quota()
228 uint32_t reply; in smb_nt_transact_set_quota() local
285 if (smb_quota_set(sr->sr_server, &request, &reply) != 0) { in smb_nt_transact_set_quota()
288 status = reply; in smb_nt_transact_set_quota()
289 xdr_free(xdr_uint32_t, (char *)&reply); in smb_nt_transact_set_quota()

123456789