| /dflybsd-src/sbin/vinum/ |
| H A D | commands.c | 75 struct _ioctl_reply *reply; in vinum_create() local 109 reply = (struct _ioctl_reply *) &buffer; in vinum_create() 141 if (reply->error != 0) { /* error in config */ in vinum_create() 146 reply->msg, in vinum_create() 147 strerror(reply->error)); in vinum_create() 174 struct _ioctl_reply *reply; in vinum_read() local 177 reply = (struct _ioctl_reply *) &buffer; in vinum_read() 193 if (reply->error != 0) { /* error in config */ in vinum_read() 194 fprintf(stdout, "** %s: %s\n", reply->msg, strerror(reply->error)); in vinum_read() 241 struct _ioctl_reply reply; in vinum_rm() local [all …]
|
| /dflybsd-src/sys/dev/raid/vinum/ |
| H A D | vinumioctl.c | 382 validdrive(int driveno, struct _ioctl_reply *reply) in validdrive() argument 387 strcpy(reply->msg, "No such drive"); in validdrive() 388 reply->error = ENOENT; in validdrive() 393 validsd(int sdno, struct _ioctl_reply *reply) in validsd() argument 398 strcpy(reply->msg, "No such subdisk"); in validsd() 399 reply->error = ENOENT; in validsd() 404 validplex(int plexno, struct _ioctl_reply *reply) in validplex() argument 409 strcpy(reply->msg, "No such plex"); in validplex() 410 reply->error = ENOENT; in validplex() 415 validvol(int volno, struct _ioctl_reply *reply) in validvol() argument [all …]
|
| /dflybsd-src/sys/dev/raid/mpr/ |
| H A D | mpr_config.c | 71 MPI2_CONFIG_REPLY *reply = NULL; /* XXX swildner: warning fix */ in mpr_config_get_ioc_pg8() local 96 reply = (MPI2_CONFIG_REPLY *)cm->cm_reply; in mpr_config_get_ioc_pg8() 97 if (error || (reply == NULL)) { in mpr_config_get_ioc_pg8() 108 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in mpr_config_get_ioc_pg8() 109 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_ioc_pg8() 155 reply = (MPI2_CONFIG_REPLY *)cm->cm_reply; in mpr_config_get_ioc_pg8() 156 if (error || (reply == NULL)) { in mpr_config_get_ioc_pg8() 167 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in mpr_config_get_ioc_pg8() 168 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_ioc_pg8() 203 MPI2_CONFIG_REPLY *reply = NULL; /* XXX swildner: warning fix */ in mpr_config_get_iounit_pg8() local [all …]
|
| /dflybsd-src/usr.sbin/mpsutil/ |
| H A D | mps_cmd.c | 291 MPI2_CONFIG_REPLY reply; in mps_read_config_page_header() local 300 if (mps_pass_command(fd, &req, sizeof(req), &reply, sizeof(reply), in mps_read_config_page_header() 304 if (!IOC_STATUS_SUCCESS(reply.IOCStatus)) { in mps_read_config_page_header() 306 *IOCStatus = reply.IOCStatus; in mps_read_config_page_header() 311 *header = reply.Header; in mps_read_config_page_header() 319 MPI2_CONFIG_REPLY reply; in mps_read_ext_config_page_header() local 329 if (mps_pass_command(fd, &req, sizeof(req), &reply, sizeof(reply), in mps_read_ext_config_page_header() 333 if (!IOC_STATUS_SUCCESS(reply.IOCStatus)) { in mps_read_ext_config_page_header() 335 *IOCStatus = reply.IOCStatus; in mps_read_ext_config_page_header() 340 *header = reply.Header; in mps_read_ext_config_page_header() [all …]
|
| /dflybsd-src/sys/dev/raid/mps/ |
| H A D | mps_config.c | 69 MPI2_CONFIG_REPLY *reply; in mps_config_get_ioc_pg8() local 93 reply = (MPI2_CONFIG_REPLY *)cm->cm_reply; in mps_config_get_ioc_pg8() 94 if (error || (reply == NULL)) { in mps_config_get_ioc_pg8() 102 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in mps_config_get_ioc_pg8() 103 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mps_config_get_ioc_pg8() 144 reply = (MPI2_CONFIG_REPLY *)cm->cm_reply; in mps_config_get_ioc_pg8() 145 if (error || (reply == NULL)) { in mps_config_get_ioc_pg8() 153 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in mps_config_get_ioc_pg8() 154 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mps_config_get_ioc_pg8() 185 MPI2_CONFIG_REPLY *reply; in mps_config_get_man_pg10() local [all …]
|
| H A D | mps.c | 104 MPI2_EVENT_NOTIFICATION_REPLY *reply); 397 mps_request_sync(struct mps_softc *sc, void *req, MPI2_DEFAULT_REPLY *reply, in mps_request_sync() argument 449 data16 = (uint16_t *)reply; in mps_request_sync() 466 ioc_sz = reply->MsgLength; in mps_request_sync() 546 MPI2_DEFAULT_REPLY *reply; in mps_get_iocfacts() local 554 reply = (MPI2_DEFAULT_REPLY *)facts; in mps_get_iocfacts() 558 error = mps_request_sync(sc, &request, reply, req_sz, reply_sz, 5); in mps_get_iocfacts() 567 MPI2_PORT_FACTS_REPLY *reply; in mps_get_portfacts() local 581 reply = (MPI2_PORT_FACTS_REPLY *)cm->cm_reply; in mps_get_portfacts() 582 if (reply == NULL) { in mps_get_portfacts() [all …]
|
| /dflybsd-src/libexec/ftpd/ |
| H A D | ftpcmd.y | 177 reply(501, "No PORT allowed after EPSV ALL."); 189 reply(500, "Invalid address rejected."); 200 reply(501, "No LPRT allowed after EPSV ALL."); 210 reply(500, "Invalid address rejected."); 230 reply(501, "No EPRT allowed after EPSV ALL."); 252 reply(500, 311 reply(500, "Invalid address rejected."); 323 reply(501, "No PASV allowed after EPSV ALL."); 330 reply(501, "No LPSV allowed after EPSV ALL."); 357 reply(200, "EPSV ALL command successful."); [all …]
|
| H A D | ftpd.c | 591 reply(530, "System not available."); in main() 619 reply(220, "%s FTP server (%s) ready.", hostname, version); in main() 621 reply(220, "FTP server ready."); in main() 917 reply(421, "Ran out of memory."); in sgetsave() 979 reply(530, "Can't change user from guest login."); in user() 982 reply(530, "Can't change user from chroot user."); in user() 997 reply(530, "User %s access denied.", name); in user() 1001 reply(331, in user() 1004 reply(530, "User %s unknown.", name); in user() 1011 reply(530, "Sorry, only anonymous ftp allowed."); in user() [all …]
|
| /dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/dbus/ |
| H A D | dbus_new_handlers_wps.c | 36 DBusMessage **reply) in wpas_dbus_handler_wps_role() argument 46 *reply = wpas_dbus_error_invalid_args(message, in wpas_dbus_handler_wps_role() 57 *reply = wpas_dbus_error_invalid_args(message, val); in wpas_dbus_handler_wps_role() 67 DBusMessage **reply) in wpas_dbus_handler_wps_type() argument 76 *reply = wpas_dbus_error_invalid_args(message, in wpas_dbus_handler_wps_type() 88 *reply = wpas_dbus_error_invalid_args(message, val); in wpas_dbus_handler_wps_type() 98 DBusMessage **reply) in wpas_dbus_handler_wps_bssid() argument 109 *reply = wpas_dbus_error_invalid_args( in wpas_dbus_handler_wps_bssid() 118 *reply = wpas_dbus_error_invalid_args(message, in wpas_dbus_handler_wps_bssid() 129 DBusMessage **reply) in wpas_dbus_handler_wps_pin() argument [all …]
|
| H A D | dbus_new_helpers.c | 84 DBusMessage *reply; in get_all_properties() local 88 reply = dbus_message_new_method_return(message); in get_all_properties() 89 if (reply == NULL) in get_all_properties() 92 dbus_message_iter_init_append(reply, &iter); in get_all_properties() 94 dbus_message_unref(reply); in get_all_properties() 102 dbus_message_unref(reply); in get_all_properties() 103 reply = wpas_dbus_reply_new_from_error( in get_all_properties() 107 return reply; in get_all_properties() 111 dbus_message_unref(reply); in get_all_properties() 115 return reply; in get_all_properties() [all …]
|
| H A D | dbus_new_handlers.c | 101 DBusMessage *reply; in wpas_dbus_error_invalid_args() local 103 reply = dbus_message_new_error( in wpas_dbus_error_invalid_args() 107 dbus_message_append_args(reply, DBUS_TYPE_STRING, &arg, in wpas_dbus_error_invalid_args() 110 return reply; in wpas_dbus_error_invalid_args() 563 DBusMessage *reply = NULL; in wpas_dbus_handler_create_interface() local 620 reply = dbus_message_new_error( in wpas_dbus_handler_create_interface() 637 reply = dbus_message_new_method_return(message); in wpas_dbus_handler_create_interface() 638 dbus_message_append_args(reply, DBUS_TYPE_OBJECT_PATH, in wpas_dbus_handler_create_interface() 641 reply = wpas_dbus_error_unknown_error( in wpas_dbus_handler_create_interface() 652 return reply; in wpas_dbus_handler_create_interface() [all …]
|
| H A D | dbus_new_handlers_p2p.c | 85 DBusMessage *reply = NULL; in wpas_dbus_handler_p2p_find() local 151 reply = wpas_dbus_error_unknown_error( in wpas_dbus_handler_p2p_find() 155 return reply; in wpas_dbus_handler_p2p_find() 161 reply = wpas_dbus_error_invalid_args(message, entry.key); in wpas_dbus_handler_p2p_find() 162 return reply; in wpas_dbus_handler_p2p_find() 315 DBusMessage *reply = NULL; in wpas_dbus_handler_p2p_group_add() local 368 reply = in wpas_dbus_handler_p2p_group_add() 376 reply = wpas_dbus_error_invalid_args( in wpas_dbus_handler_p2p_group_add() 388 reply = wpas_dbus_error_unknown_error( in wpas_dbus_handler_p2p_group_add() 400 return reply; in wpas_dbus_handler_p2p_group_add() [all …]
|
| /dflybsd-src/sbin/fsck/ |
| H A D | pass2.c | 63 if (reply("ALLOCATE") == 0) { in pass2() 73 if (reply("REALLOCATE")) { in pass2() 80 if (reply("CONTINUE") == 0) { in pass2() 89 if (reply("REALLOCATE")) { in pass2() 96 if (reply("FIX") == 0) { in pass2() 150 if (reply("FIX") == 1) { in pass2() 169 if (preen || reply("ADJUST") == 1) { in pass2() 201 if (reply("FIX") == 0) in pass2() 209 if (reply("FIX") == 0) in pass2() 250 if (reply("FIX") == 1) in pass2check() [all …]
|
| /dflybsd-src/contrib/wpa_supplicant/src/radius/ |
| H A D | radius_das.c | 40 struct radius_msg *reply; in radius_das_disconnect() local 175 reply = radius_msg_new(error ? RADIUS_CODE_DISCONNECT_NAK : in radius_das_disconnect() 177 if (reply == NULL) in radius_das_disconnect() 181 if (!radius_msg_add_attr_int32(reply, RADIUS_ATTR_ERROR_CAUSE, in radius_das_disconnect() 183 radius_msg_free(reply); in radius_das_disconnect() 188 return reply; in radius_das_disconnect() 197 struct radius_msg *reply; in radius_das_coa() local 366 reply = radius_msg_new(error ? RADIUS_CODE_COA_NAK : in radius_das_coa() 368 if (!reply) in radius_das_coa() 372 !radius_msg_add_attr_int32(reply, RADIUS_ATTR_ERROR_CAUSE, error)) { in radius_das_coa() [all …]
|
| /dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/ |
| H A D | ctrl_iface_udp.c | 201 char *reply; local 202 reply = os_malloc(7 + 2 * COOKIE_LEN + 1); 203 if (reply == NULL) { 208 os_memcpy(reply, "COOKIE=", 7); 209 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1, 213 return reply; 233 char *reply = NULL; local 271 reply = wpa_supplicant_ctrl_iface_get_cookie(priv, &reply_len); 325 reply = wpa_supplicant_ctrl_iface_process(wpa_s, pos, 330 if (reply) { [all …]
|
| /dflybsd-src/crypto/openssh/ |
| H A D | auth-pam.c | 396 struct pam_response *reply; in sshpam_thread_conv() local 411 if ((reply = calloc(n, sizeof(*reply))) == NULL) in sshpam_thread_conv() 414 free(reply); in sshpam_thread_conv() 438 &reply[i].resp, NULL)) != 0) in sshpam_thread_conv() 458 *resp = reply; in sshpam_thread_conv() 463 free(reply[i].resp); in sshpam_thread_conv() 465 free(reply); in sshpam_thread_conv() 625 struct pam_response *reply; in sshpam_store_conv() local 634 if ((reply = calloc(n, sizeof(*reply))) == NULL) in sshpam_store_conv() 645 reply[i].resp_retcode = PAM_SUCCESS; in sshpam_store_conv() [all …]
|
| H A D | mux.c | 268 Channel *c, struct sshbuf *m, struct sshbuf *reply) in mux_master_process_hello() argument 311 reply_ok(struct sshbuf *reply, u_int rid) in reply_ok() argument 315 if ((r = sshbuf_put_u32(reply, MUX_S_OK)) != 0 || in reply_ok() 316 (r = sshbuf_put_u32(reply, rid)) != 0) in reply_ok() 322 reply_error(struct sshbuf *reply, u_int type, u_int rid, const char *msg) in reply_error() argument 326 if ((r = sshbuf_put_u32(reply, type)) != 0 || in reply_error() 327 (r = sshbuf_put_u32(reply, rid)) != 0 || in reply_error() 328 (r = sshbuf_put_cstring(reply, msg)) != 0) in reply_error() 334 Channel *c, struct sshbuf *m, struct sshbuf *reply) in mux_master_process_new_session() argument 411 reply_error(reply, MUX_S_FAILURE, rid, in mux_master_process_new_session() [all …]
|
| /dflybsd-src/lib/libnetgraph7/ |
| H A D | msg.c | 94 struct ng_mesg *reply, *binary, *ascii; in NgSendAsciiMsg() local 140 if (NgAllocRecvMsg(cs, &reply, NULL) < 0) in NgSendAsciiMsg() 144 binary = (struct ng_mesg *)reply->data; in NgSendAsciiMsg() 151 free(reply); in NgSendAsciiMsg() 155 free(reply); in NgSendAsciiMsg() 322 NgRecvAsciiMsg(int cs, struct ng_mesg *reply, size_t replen, char *path) in NgRecvAsciiMsg() argument 329 bufSize = 2 * sizeof(*reply) + replen; in NgRecvAsciiMsg() 338 memcpy(reply, msg, sizeof(*msg)); in NgRecvAsciiMsg() 356 strncpy(reply->data, ascii->data, ascii->header.arglen); in NgRecvAsciiMsg() 367 NgAllocRecvAsciiMsg(int cs, struct ng_mesg **reply, char *path) in NgAllocRecvAsciiMsg() argument [all …]
|
| /dflybsd-src/stand/lib/ |
| H A D | rpc.c | 123 struct rpc_reply *reply; in rpc_call() local 184 recv_head -= sizeof(*reply); in rpc_call() 197 if (cc <= sizeof(*reply)) { in rpc_call() 208 reply = (struct rpc_reply *)recv_head; in rpc_call() 209 auth = &reply->rp_u.rpu_rok.rok_auth; in rpc_call() 219 x = ntohl(reply->rp_u.rpu_rok.rok_status); in rpc_call() 225 recv_head += sizeof(*reply); in rpc_call() 238 struct rpc_reply *reply; in recvrpc() local 252 reply = (struct rpc_reply *)pkt; in recvrpc() 254 x = ntohl(reply->rp_xid); in recvrpc() [all …]
|
| /dflybsd-src/sys/vfs/nfs/ |
| H A D | bootp_subr.c | 111 struct bootp_packet reply; member 162 struct bootp_packet reply; member 483 (void) bootpc_tag(&gctx->tmptag, &gctx->reply, in bootpc_received() 491 p = bootpc_tag(&gctx->tmptag, &gctx->reply, in bootpc_received() 522 (bootpc_tag(&gctx->tmptag, &ifctx->reply, in bootpc_received() 525 bootpc_tag(&gctx->tmptag, &gctx->reply, in bootpc_received() 530 bcopy(&gctx->reply, in bootpc_received() 531 &ifctx->reply, in bootpc_received() 551 p = bootpc_tag(&gctx->tmptag, &ifctx->reply, in bootpc_received() 561 ifctx->gotrootpath = (bootpc_tag(&gctx->tmptag, &ifctx->reply, in bootpc_received() [all …]
|
| H A D | krpc_subr.c | 196 struct rpc_reply *reply; in krpc_call() local 374 reply = mtod(m, struct rpc_reply *); in krpc_call() 377 if (reply->rp_direction != txdr_unsigned(RPC_REPLY)) in krpc_call() 380 if (reply->rp_xid != txdr_unsigned(xid)) in krpc_call() 384 if (reply->rp_astatus != 0) { in krpc_call() 385 error = fxdr_unsigned(u_int32_t, reply->rp_errno); in krpc_call() 391 if (reply->rp_status != 0) { in krpc_call() 392 error = fxdr_unsigned(u_int32_t, reply->rp_status); in krpc_call() 415 len = sizeof(*reply); in krpc_call() 423 reply = mtod(m, struct rpc_reply *); in krpc_call() [all …]
|
| /dflybsd-src/contrib/pam_passwdqc/ |
| H A D | pam_macros.h | 32 pwqc_drop_pam_reply(struct pam_response *reply, int replies) in pwqc_drop_pam_reply() argument 34 if (reply) { in pwqc_drop_pam_reply() 38 pwqc_overwrite_string(reply[reply_i].resp); in pwqc_drop_pam_reply() 39 pwqc_drop_mem(reply[reply_i].resp); in pwqc_drop_pam_reply() 41 pwqc_drop_mem(reply); in pwqc_drop_pam_reply()
|
| /dflybsd-src/contrib/lvm2/dist/daemons/clvmd/ |
| H A D | clvmd.c | 638 struct node_reply *reply; in timedout_callback() local 645 reply = client->bits.localsock.replies; in timedout_callback() 646 while (reply && strcmp(reply->node, nodename) != 0) { in timedout_callback() 647 reply = reply->next; in timedout_callback() 652 if (!reply) { in timedout_callback() 1044 struct clvm_header reply; in read_from_local_sock() local 1045 reply.cmd = CLVMD_CMD_REPLY; in read_from_local_sock() 1046 reply.status = EBUSY; in read_from_local_sock() 1047 reply.arglen = 0; in read_from_local_sock() 1048 reply.flags = 0; in read_from_local_sock() [all …]
|
| /dflybsd-src/sys/dev/drm/amd/display/dc/i2caux/dce110/ |
| H A D | aux_engine_dce110.c | 332 struct aux_reply_transaction_data *reply) in process_channel_reply() argument 338 bytes_replied = read_channel_reply(engine, reply->length, reply->data, in process_channel_reply() 343 reply->status = AUX_CHANNEL_OPERATION_FAILED_HPD_DISCON; in process_channel_reply() 355 reply->status = AUX_TRANSACTION_REPLY_INVALID; in process_channel_reply() 363 reply->status = AUX_TRANSACTION_REPLY_AUX_ACK; in process_channel_reply() 366 reply->status = AUX_TRANSACTION_REPLY_AUX_NACK; in process_channel_reply() 369 reply->status = AUX_TRANSACTION_REPLY_AUX_DEFER; in process_channel_reply() 372 reply->status = AUX_TRANSACTION_REPLY_I2C_NACK; in process_channel_reply() 375 reply->status = AUX_TRANSACTION_REPLY_I2C_DEFER; in process_channel_reply() 378 reply->status = AUX_TRANSACTION_REPLY_INVALID; in process_channel_reply()
|
| /dflybsd-src/contrib/wpa_supplicant/src/wps/ |
| H A D | wps_upnp_web.c | 424 struct wpabuf **reply, const char **replyname) in web_process_get_device_info() argument 458 *reply = wps_get_msg(peer->wps, &op_code); in web_process_get_device_info() 459 if (*reply == NULL) { in web_process_get_device_info() 464 *reply = NULL; in web_process_get_device_info() 465 if (*reply == NULL) { in web_process_get_device_info() 490 struct wpabuf **reply, const char **replyname) in web_process_put_message() argument 559 *reply = NULL; in web_process_put_message() 563 *reply = wps_get_msg(peer->wps, &op_code); in web_process_put_message() 566 if (*reply == NULL) in web_process_put_message() 575 struct wpabuf **reply, const char **replyname) in web_process_put_wlan_response() argument [all …]
|