/illumos-gate/usr/src/cmd/allocate/ |
H A D | wdwmsg.sh | 46 reply=$(/usr/bin/zenity $type \ 51 exit $reply
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SAAdvert.c | 40 SLPError slp_unpackSAAdvert(char *reply, char **surl, argument 52 len = slp_get_length(reply); 53 off = SLP_HDRLEN + slp_get_langlen(reply); 56 iov[0].iov_base = reply + off; 58 if ((err = slp_get_string(reply, len, &off, surl)) != SLP_OK) { 64 iov[2].iov_base = reply + off; 66 if ((err = slp_get_string(reply, len, &off, scopes)) != SLP_OK) { 72 iov[1].iov_base = reply + off; 74 if ((err = slp_get_string(reply, len, &off, attrs)) != SLP_OK) { 80 if ((err = slp_get_byte(reply, le [all...] |
H A D | DAAdvert.c | 39 SLPError slp_unpackDAAdvert(char *reply, char **surl, char **scopes, argument 52 len = slp_get_length(reply); 53 off = SLP_HDRLEN + slp_get_langlen(reply); 55 if ((err = slp_get_sht(reply, len, &off, &protoErrCode)) != SLP_OK) 64 iov[0].iov_base = reply + off; 66 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) { 69 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) { 75 iov[1].iov_base = reply + off; 77 if ((err = slp_get_string(reply, len, &off, surl)) != SLP_OK) { 83 iov[3].iov_base = reply [all...] |
H A D | SLPGetRefreshInterval.c | 48 char *reply = NULL; /* reply from slpd */ local 74 if (slp_send2slpd(msg, &reply) != SLP_OK) { 78 (void) slp_UnpackAttrReply(hp, reply, refresh_interval_cb, 87 if (reply) free(reply);
|
H A D | slp_da_cache.c | 43 * table. Associated with each query is a reply (in the format of an 48 * slp_put_das_cached: adds a reply to the cache 86 const char *reply; member in struct:cache_entry 98 * Searches the cache for the reply to 'query'. Returns the reply if 104 char *reply = NULL; local 123 /* copy out the reply */ 124 if (!(reply = malloc((*ans)->reply_len))) { 129 (void) memcpy(reply, (*ans)->reply, (*an 149 slp_put_das_cached(const char *query, const char *reply, unsigned int len) argument [all...] |
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_tape.c | 54 ndmp_tape_read_reply *reply); 245 ndmp_tape_close_reply reply; local 250 reply.error = NDMP_DEV_NOT_OPEN_ERR; 251 ndmp_send_reply(connection, (void *) &reply, 252 "sending tape_close reply"); 277 ndmp_tape_get_state_reply_v2 reply; local 285 reply.error = NDMP_DEV_NOT_OPEN_ERR; 286 ndmp_send_reply(connection, (void *) &reply, 287 "sending tape_get_state reply"); 294 reply 353 ndmp_tape_mtio_reply reply; local 495 ndmp_tape_read_reply reply; local 544 ndmp_tape_execute_cdb_reply reply; local 608 ndmp_tape_get_state_reply_v3 reply; local 761 ndmp_tape_write_reply reply; ndmpd_session_t *session = local 848 ndmp_tape_read_reply reply; local 964 ndmp_tape_get_state_reply_v4 reply; local 1049 ndmp_tape_close_reply reply; local 1097 ndmp_tape_open_reply reply; local 1118 unbuffered_read(ndmpd_session_t *session, char *buf, long wanted, ndmp_tape_read_reply *reply) argument 1341 ndmp_tape_close_reply reply; local [all...] |
H A D | ndmpd_scsi.c | 102 ndmp_scsi_close_reply reply; local 107 reply.error = NDMP_DEV_NOT_OPEN_ERR; 108 ndmp_send_reply(connection, (void *) &reply, 109 "sending scsi_close reply"); 125 reply.error = NDMP_NO_ERR; 126 ndmp_send_reply(connection, (void *) &reply, 127 "sending scsi_close reply"); 152 ndmp_scsi_get_state_reply reply; local 156 reply.error = NDMP_DEV_NOT_OPEN_ERR; 158 reply 222 ndmp_scsi_reset_device_reply reply; local 266 ndmp_scsi_reset_bus_reply reply; local 292 ndmp_execute_cdb_reply reply; local 392 ndmp_scsi_open_reply reply; local 505 ndmp_scsi_set_target_reply reply; local [all...] |
H A D | ndmpd_config.c | 107 ndmp_config_get_host_info_reply_v2 reply; local 114 (void) memset((void*)&reply, 0, sizeof (reply)); 118 reply.error = NDMP_NO_ERR; 119 reply.hostname = buf; 121 reply.os_type = uts.sysname; 122 reply.os_vers = uts.release; 126 reply.error = NDMP_UNDEFINED_ERR; 135 reply.hostid = hostidstr; 138 reply 163 ndmp_config_get_butype_attr_reply reply; local 202 ndmp_config_get_mover_type_reply reply; local 235 ndmp_config_get_auth_attr_reply reply; local 291 ndmp_config_get_host_info_reply_v3 reply; local 345 ndmp_config_get_connection_type_reply_v3 reply; local 380 ndmp_config_get_auth_attr_reply reply; local 431 ndmp_config_get_butype_info_reply_v3 reply; local 533 ndmp_config_get_fs_info_reply_v3 reply; local 685 ndmp_config_get_tape_info_reply_v3 reply; local 790 ndmp_config_get_scsi_info_reply_v3 reply; local 877 ndmp_config_get_server_info_reply_v3 reply; local 936 ndmp_config_get_butype_info_reply_v4 reply; local 1049 ndmp_config_get_ext_list_reply_v4 reply; local 1090 ndmp_config_set_ext_list_reply_v4 reply; local [all...] |
H A D | ndmpd_data.c | 100 ndmp_data_get_state_reply_v2 reply; local 103 reply.error = NDMP_NO_ERR; 104 reply.operation = session->ns_data.dd_operation; 105 reply.state = session->ns_data.dd_state; 106 reply.halt_reason = session->ns_data.dd_halt_reason; 108 reply.est_time_remain = 110 reply.est_bytes_remain = 114 reply.bytes_processed = 117 reply.mover = session->ns_data.dd_mover; 118 reply 142 ndmp_data_start_backup_reply_v2 reply; local 183 ndmp_data_start_recover_reply_v2 reply; local 224 ndmp_data_get_env_reply reply; local 258 ndmp_data_stop_reply reply; local 301 ndmp_data_abort_reply reply; local 347 ndmp_data_get_state_reply_v3 reply; local 396 ndmp_data_start_backup_reply_v3 reply; local 486 ndmp_data_start_recover_reply_v3 reply; local 569 ndmp_data_abort_reply reply; local 625 ndmp_data_stop_reply reply; local 666 ndmp_data_listen_reply_v3 reply; local 747 ndmp_data_connect_reply_v3 reply; local 830 ndmp_data_get_env_reply reply; local 869 ndmp_data_get_state_reply_v4 reply; local 920 ndmp_data_connect_reply_v4 reply; local 995 ndmp_data_listen_reply_v4 reply; local 1090 ndmp_data_start_recover_filehist_reply_v4 reply; local 1375 ndmp_data_start_backup_reply_v3 reply; local 1501 ndmp_data_start_recover_reply_v3 reply; local 1617 void *reply; local 2067 ndmp_data_start_backup_reply reply; local 2216 ndmp_data_start_recover_reply_v2 reply; local [all...] |
H A D | ndmpd_mover.c | 139 ndmp_mover_get_state_reply_v2 reply; local 142 reply.error = NDMP_NO_ERR; 143 reply.state = session->ns_mover.md_state; 144 reply.pause_reason = session->ns_mover.md_pause_reason; 145 reply.halt_reason = session->ns_mover.md_halt_reason; 146 reply.record_size = session->ns_mover.md_record_size; 147 reply.record_num = session->ns_mover.md_record_num; 148 reply.data_written = 150 reply.seek_position = 152 reply 180 ndmp_mover_listen_reply_v2 reply; local 244 ndmp_mover_continue_reply reply; local 278 ndmp_mover_abort_reply reply; local 316 ndmp_mover_stop_reply reply; local 357 ndmp_mover_set_window_reply reply; local 418 ndmp_mover_read_reply reply; local 479 ndmp_mover_close_reply reply; local 515 ndmp_mover_set_record_size_reply reply; local 553 ndmp_mover_get_state_reply_v3 reply; local 602 ndmp_mover_listen_reply_v3 reply; local 696 ndmp_mover_continue_reply reply; local 793 ndmp_mover_abort_reply reply; local 831 ndmp_mover_set_window_reply reply; local 918 ndmp_mover_read_reply reply; local 990 ndmp_mover_set_record_size_reply reply; local 1038 ndmp_mover_connect_reply_v3 reply; local 1134 ndmp_mover_get_state_reply_v4 reply; local 1186 ndmp_mover_listen_reply_v4 reply; local 1293 ndmp_mover_connect_reply_v4 reply; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | mk_rep.c | 47 krb5_ap_rep reply; local 51 /* Make the reply */ 78 scratch, &reply.enc_part))) 81 if (!(retval = encode_krb5_ap_rep(&reply, &toutbuf))) { 86 memset(reply.enc_part.ciphertext.data, 0, reply.enc_part.ciphertext.length); 87 free(reply.enc_part.ciphertext.data); 88 reply.enc_part.ciphertext.length = 0; 89 reply.enc_part.ciphertext.data = 0;
|
H A D | rd_rep.c | 48 krb5_ap_rep * reply; local 56 if ((retval = decode_krb5_ap_rep(inbuf, &reply))) 61 scratch.length = reply->enc_part.ciphertext.length; 63 krb5_free_ap_rep(context, reply); 69 &reply->enc_part, &scratch))) 77 /* Check reply fields */ 112 krb5_free_ap_rep(context, reply);
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | maindoor.c | 54 repository_door_response_t reply; local 67 reply.rdr_status = INVALID_RESULT; 84 reply.rdr_status = REPOSITORY_DOOR_FAIL_BAD_REQUEST; 93 reply.rdr_status = REPOSITORY_DOOR_FAIL_VERSION_MISMATCH; 101 reply.rdr_status = REPOSITORY_DOOR_FAIL_BAD_REQUEST; 106 reply.rdr_status = REPOSITORY_DOOR_FAIL_PERMISSION_DENIED; 113 reply.rdr_status = create_connection(ti->ti_ucred, request, 115 if (reply.rdr_status != REPOSITORY_DOOR_SUCCESS) { 126 reply.rdr_status = REPOSITORY_DOOR_FAIL_BAD_REQUEST; 131 assert(reply [all...] |
/illumos-gate/usr/src/cmd/hal/hald-runner/ |
H A D | main.c | 92 DBusMessage *reply; local 122 /* let run_request_run handle the reply */ 128 reply = dbus_message_new_error(msg, "org.freedesktop.HalRunner.Malformed", 130 dbus_connection_send(con, reply, NULL); 131 dbus_message_unref(reply); 137 DBusMessage *reply; local 162 reply = dbus_message_new_method_return(msg); 163 dbus_message_append_args (reply, 168 reply = dbus_message_new_error(msg, "org.freedesktop.HalRunner.Failed", 171 dbus_connection_send(con, reply, NUL 186 DBusMessage *reply = NULL; local 211 DBusMessage *reply; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_echo.c | 60 struct mbuf_chain reply; local 92 MBC_INIT(&reply, SMB_HEADER_ED_LEN + 10 + nbytes); 94 (void) smb_mbc_encodef(&reply, SMB_HEADER_ED_FMT, 108 (void) smb_mbc_encodef(&reply, "bww#c", 1, i, 112 smb_sign_reply(sr, &reply); 114 (void) smb_session_send(sr->session, 0, &reply);
|
H A D | smb2_qinfo_quota.c | 44 smb_quota_response_t reply; local 49 bzero(&reply, sizeof (smb_quota_response_t)); 94 if (smb_quota_query(sr->sr_server, &request, &reply) != 0) { 97 status = reply.qr_status; 101 &request, &reply, ofile); 103 xdr_free(smb_quota_response_xdr, (char *)&reply);
|
H A D | smb2_echo.c | 42 * SMB2 Echo reply 45 &sr->reply, "wwl",
|
H A D | smb2_setinfo_quota.c | 46 uint32_t reply; local 76 if (smb_quota_set(sr->sr_server, &request, &reply) != 0) { 79 status = reply; 80 xdr_free(xdr_uint32_t, (char *)&reply);
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | adt_data.c | 28 DBusMessage *reply; local 51 reply = dbus_connection_send_with_reply_and_block (bus, 60 if (reply == NULL) { 65 dbus_message_iter_init (reply, &iter); 71 dbus_message_unref (reply); 86 dbus_message_unref (reply); 97 dbus_message_unref (reply);
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldma_device.c | 74 ldma_message_header_t *reply = NULL; local 100 reply = ldma_alloc_result_msg(request, reply_dlen); 101 if (reply == NULL) { 107 path_type = (uint32_t *)(LDMA_HDR2DATA(reply)); 109 reply->msg_info = 0x0; 143 reply->msg_info |= LDMA_DEVPATH_EXIST; 165 reply->msg_info |= LDMA_DEVPATH_OPENRW | LDMA_DEVPATH_OPENRO; 173 reply->msg_info |= LDMA_DEVPATH_OPENRO; 184 * We don't provide a reply message if the request has not 186 * appropriate reply base 218 ldma_message_header_t *reply = NULL; local [all...] |
/illumos-gate/usr/src/cmd/sckmd/sparc/sun4u/ |
H A D | sckmd.c | 222 sckm_ioctl_status_t reply; local 235 /* initialize a reply message */ 236 (void) memset(&reply, 0, sizeof (sckm_ioctl_status_t)); 237 reply.transid = msg->transid; 243 reply.status = SCKM_IOCTL_STAT_ERR_REQ; 244 return (send_sckm_status(fd, &reply)); 250 reply.status = SCKM_IOCTL_STAT_ERR_REQ; 251 return (send_sckm_status(fd, &reply)); 265 reply.status = SCKM_IOCTL_STAT_ERR_VERSION; 266 reply [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | prompter.c | 72 if (prompts[i].reply->length > INT_MAX) 83 (void)memset(prompts[i].reply->data, 0, prompts[i].reply->length); 86 retp = fgets(prompts[i].reply->data, (int)prompts[i].reply->length, 100 retp = strchr(prompts[i].reply->data, '\n'); 113 prompts[i].reply->length = strlen(prompts[i].reply->data); 263 memset(prompts[i].reply->data, 0, prompts[i].reply [all...] |
/illumos-gate/usr/src/lib/hal/libhal/common/ |
H A D | libhal.c | 425 DBusMessage *reply; local 447 reply = dbus_connection_send_with_reply_and_block (ctx->connection, 461 if (reply == NULL) { 466 dbus_message_iter_init (reply, &reply_iter); 489 dbus_message_unref (reply); 541 dbus_message_unref (reply); 1083 DBusMessage *reply; local 1102 reply = dbus_connection_send_with_reply_and_block (ctx->connection, message, -1, &_error); 1110 if (reply == NULL) { 1114 /* now analyze reply */ 1147 DBusMessage *reply; local 1207 DBusMessage *reply; local 1278 DBusMessage *reply; local 1353 DBusMessage *reply; local 1424 DBusMessage *reply; local 1494 DBusMessage *reply; local 1564 DBusMessage *reply; local 1633 DBusMessage *reply; local 1895 DBusMessage *reply; local 1954 DBusMessage *reply; local 2013 DBusMessage *reply; local 2070 DBusMessage *reply; local 2129 DBusMessage *reply; local 2197 DBusMessage *reply; local 2250 DBusMessage *reply; local 2330 DBusMessage *reply; local 2389 DBusMessage *reply; local 2441 DBusMessage *reply; local 2511 DBusMessage *reply; local 2580 DBusMessage *reply; local 2647 DBusMessage *reply; local 2805 DBusMessage *reply; local 2876 DBusMessage *reply; local 2969 DBusMessage *reply; local 3501 DBusMessage *reply; local 3558 DBusMessage *reply; local 3623 DBusMessage *reply; local 3702 DBusMessage *reply; local 3769 DBusMessage *reply; local 4166 DBusMessage *reply; local [all...] |
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_ipc.c | 48 * the protocol used here is a simple request/reply scheme: a client 62 * the format of a reply is much the same: a single dhcp_ipc_reply_t; 122 * input: dhcp_ipc_request_t *: the request the reply is for 127 * output: dhcp_ipc_reply_t *: the reply on success, NULL on failure 134 dhcp_ipc_reply_t *reply = calloc(1, DHCP_IPC_REPLY_SIZE + buffer_size); local 136 if (reply == NULL) 139 reply->message_type = request->message_type; 140 reply->ipc_id = request->ipc_id; 141 reply->return_code = return_code; 142 reply 161 dhcp_ipc_get_data(dhcp_ipc_reply_t *reply, size_t *size, dhcp_data_type_t *type) argument 265 dhcp_ipc_recv_reply(int fd, dhcp_ipc_reply_t **reply, int32_t timeout) argument 328 dhcp_ipc_send_reply(int fd, dhcp_ipc_reply_t *reply) argument 369 dhcp_ipc_make_request(dhcp_ipc_request_t *request, dhcp_ipc_reply_t **reply, int32_t timeout) argument 721 dhcp_ipc_reply_t *reply; local 852 dhcp_ipc_reply_t *reply; local [all...] |
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | hald_dbus.c | 82 DBusMessage *reply; local 90 reply = dbus_message_new_error (in_reply_to, error_name, buf); 91 if (reply == NULL) 93 if (!dbus_connection_send (connection, reply, NULL)) 95 dbus_message_unref (reply); 205 DBusMessage *reply; local 213 reply = dbus_message_new_error (in_reply_to, 217 if (reply == NULL || !dbus_connection_send (connection, reply, NULL)) 220 dbus_message_unref (reply); 234 DBusMessage *reply; local 327 DBusMessage *reply; local 431 DBusMessage *reply; local 517 DBusMessage *reply; local 576 DBusMessage *reply; local 908 DBusMessage *reply; local 1031 DBusMessage *reply; local 1188 DBusMessage *reply; local 1316 DBusMessage *reply; local 1395 DBusMessage *reply; local 1521 DBusMessage *reply; local 1573 DBusMessage *reply; local 1627 DBusMessage *reply; local 1692 DBusMessage *reply; local 1757 DBusMessage *reply; local 1820 DBusMessage *reply; local 1893 DBusMessage *reply; local 1977 DBusMessage *reply; local 2063 DBusMessage *reply; local 2147 DBusMessage *reply; local 2533 DBusMessage *reply; local 2578 DBusMessage *reply; local 2623 DBusMessage *reply; local 2692 DBusMessage *reply; local 2765 DBusMessage *reply; local 2826 DBusMessage *reply; local 2896 DBusMessage *reply; local 2998 DBusMessage *reply; local 3261 DBusMessage *reply = NULL; local 3529 DBusMessage *reply; local 3872 DBusMessage *reply; local 4239 DBusMessage *reply; local [all...] |