/dragonfly/sbin/nvmectl/ |
H A D | subs.c | 53 const char *msg = NULL; in status_to_str() local 59 msg = "SUCCESS"; in status_to_str() 62 msg = "Bad Op"; in status_to_str() 65 msg = "Bad Field"; in status_to_str() 68 msg = "ID Conflict"; in status_to_str() 71 msg = "Bad XFer"; in status_to_str() 95 msg = "Seq Error"; in status_to_str() 110 msg = "Bad SGL Type"; in status_to_str() 156 msg = "reserved04"; in status_to_str() 214 msg = "reserved17"; in status_to_str() [all …]
|
/dragonfly/sys/kern/ |
H A D | lwkt_msgport.c | 249 msg->ms_abortfn(msg); in lwkt_abortmsg() 500 msg->ms_receiptfn(msg, port); in _lwkt_pushmsg() 512 return msg; in _lwkt_pollmsg() 758 return(msg); in lwkt_thread_getport() 846 return(msg); in lwkt_thread_waitport() 876 return(msg); in lwkt_spin_getport() 946 won = msg; in lwkt_spin_waitmsg() 1007 return(msg); in lwkt_spin_waitport() 1034 wakeup(msg); in lwkt_spin_replyport() 1147 won = msg; in lwkt_serialize_waitmsg() [all …]
|
H A D | uipc_msg.c | 71 msg = kmalloc(sizeof(*msg), M_LWKTMSG, M_WAITOK | M_ZERO); in so_pru_abort_async() 117 msg.nm_ai = ai; in so_pru_attach() 132 msg.nm_ai = ai; in so_pru_attach_direct() 148 msg = kmalloc(sizeof(*msg), M_LWKTMSG, M_WAITOK | M_NULLOK); in so_pru_attach_fast() 196 msg.nm_td = td; in so_pru_connect() 214 msg = kmalloc(sizeof(*msg) + nam->sa_len, M_LWKTMSG, in so_pru_connect_async() 238 msg->nm_nam = (struct sockaddr *)(msg + 1); in so_pru_connect_async() 418 msg.nm_m = m; in so_pru_rcvoob() 437 msg.nm_m = m; in so_pru_send() 489 msg->nm_m = m; in so_pru_send_async() [all …]
|
H A D | kern_dmsg.c | 402 if (msg) in kdmsg_iocom_thread_rd() 441 msg = NULL; in kdmsg_iocom_thread_wr() 677 msg->state, msg->state->rxcmd, in kdmsg_msg_receive_handling() 691 } else if (msg->state && msg->state->func) { in kdmsg_msg_receive_handling() 699 msg->state, msg->state->func); in kdmsg_msg_receive_handling() 700 error = msg->state->func(msg->state, msg); in kdmsg_msg_receive_handling() 1060 msg->tcmd = msg->any.head.cmd & DMSGF_CMDSWMASK; in kdmsg_state_msgrx() 1847 msg->aux_data && msg->aux_size) { in kdmsg_msg_free() 2005 if (msg->aux_data && msg->aux_size) { 2008 msg->any.head.aux_bytes = msg->aux_size; [all …]
|
H A D | subr_diskiocom.c | 207 if (msg->aux_data) { in disk_rcvdmsg() 208 msg->aux_data[msg->aux_size - 1] = 0; in disk_rcvdmsg() 225 if (msg->state == &msg->state->iocom->state0) { in disk_rcvdmsg() 232 disk_blk_open(dp, msg); in disk_rcvdmsg() 238 disk_blk_read(dp, msg); in disk_rcvdmsg() 241 disk_blk_write(dp, msg); in disk_rcvdmsg() 244 disk_blk_flush(dp, msg); in disk_rcvdmsg() 429 if (msg->aux_size >= msg->any.blk_write.bytes) in disk_blk_write() 438 if (msg->aux_size >= msg->any.blk_write.bytes) { in disk_blk_write() 442 bcopy(msg->aux_data, bp->b_data, msg->aux_size); in disk_blk_write() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/p2p/ |
H A D | p2p_parse.c | 129 msg->channel_list, msg->channel_list_len); in p2p_parse_attribute() 184 msg->device_name, msg->config_methods); in p2p_parse_attribute() 538 p2p_parse_wps_ie(msg->wps_attributes, msg)) { in p2p_parse_ies() 546 p2p_parse_p2p_ie(msg->p2p_attributes, msg)) { in p2p_parse_ies() 581 os_memset(msg, 0, sizeof(*msg)); in p2p_parse() 597 os_memset(msg, 0, sizeof(*msg)); in p2p_parse_ies_separate() 789 os_memset(&msg, 0, sizeof(msg)); in p2p_attr_text() 797 msg.capability[0], msg.capability[1]); in p2p_attr_text() 850 os_memset(&msg, 0, sizeof(msg)); in p2p_get_cross_connect_disallowed() 865 os_memset(&msg, 0, sizeof(msg)); in p2p_get_group_capab() [all …]
|
H A D | p2p_pd.c | 627 msg.group_id, msg.group_id_len)) in p2p_process_prov_disc_req() 704 msg.persistent_ssid, msg.persistent_ssid_len); in p2p_process_prov_disc_req() 780 msg.channel_list && msg.channel_list_len && in p2p_process_prov_disc_req() 933 msg.channel_list && msg.channel_list_len && in p2p_process_prov_disc_req() 975 msg.group_id, msg.group_id_len, in p2p_process_prov_disc_req() 1113 msg.persistent_ssid, msg.persistent_ssid_len, in p2p_process_prov_disc_req() 1159 msg.device_name, msg.config_methods, in p2p_process_prov_disc_req() 1160 msg.capability ? msg.capability[0] : 0, in p2p_process_prov_disc_req() 1161 msg.capability ? msg.capability[1] : in p2p_process_prov_disc_req() 1163 msg.group_id, msg.group_id_len); in p2p_process_prov_disc_req() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/wps/ |
H A D | wps_attr_build.c | 101 wpabuf_put_be16(msg, 1); in wps_build_req_type() 102 wpabuf_put_u8(msg, type); in wps_build_req_type() 111 wpabuf_put_be16(msg, 1); in wps_build_resp_type() 112 wpabuf_put_u8(msg, type); in wps_build_resp_type() 121 wpabuf_put_be16(msg, 2); in wps_build_config_methods() 143 wpabuf_put_be16(msg, 2); in wps_build_dev_password_id() 153 wpabuf_put_be16(msg, 2); in wps_build_config_error() 200 wpabuf_put_be16(msg, 1); in wps_build_version() 227 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext() 233 wpabuf_put_u8(msg, 1); in wps_build_wfa_ext() [all …]
|
H A D | wps_dev_attr.c | 29 wpabuf_put_be16(msg, 1); in wps_build_manufacturer() 30 wpabuf_put_u8(msg, ' '); in wps_build_manufacturer() 34 wpabuf_put_be16(msg, len); in wps_build_manufacturer() 53 wpabuf_put_be16(msg, 1); in wps_build_model_name() 54 wpabuf_put_u8(msg, ' '); in wps_build_model_name() 58 wpabuf_put_be16(msg, len); in wps_build_model_name() 77 wpabuf_put_be16(msg, 1); in wps_build_model_number() 78 wpabuf_put_u8(msg, ' '); in wps_build_model_number() 101 wpabuf_put_be16(msg, 1); in wps_build_serial_number() 102 wpabuf_put_u8(msg, ' '); in wps_build_serial_number() [all …]
|
H A D | wps_enrollee.c | 117 if (msg == NULL) in wps_build_m1() 166 return msg; in wps_build_m1() 190 if (msg == NULL) in wps_build_m3() 204 return msg; in wps_build_m3() 239 return msg; in wps_build_m5() 419 return msg; in wps_build_m7() 430 if (msg == NULL) in wps_build_wsc_done() 448 return msg; in wps_build_wsc_done() 482 if (msg) { in wps_enrollee_get_msg() 498 msg = NULL; in wps_enrollee_get_msg() [all …]
|
H A D | wps_common.c | 281 data.fail.msg = msg; in wps_fail_event() 594 return msg; in wps_build_wsc_ack() 618 return msg; in wps_build_wsc_nack() 723 return msg; in wps_build_nfc_handover_req() 736 return msg; in wps_build_nfc_handover_req() 804 return msg; in wps_build_nfc_handover_sel() 819 return msg; in wps_build_nfc_handover_sel() 841 return msg; in wps_build_nfc_handover_req_p2p() 856 return msg; in wps_build_nfc_handover_req_p2p() 885 return msg; in wps_build_nfc_handover_sel_p2p() [all …]
|
/dragonfly/sys/bus/u4b/net/ |
H A D | if_urndis.c | 638 msg.rm_len = htole32(sizeof(msg)); in urndis_ctrl_init() 676 msg.rm_len = htole32(sizeof(msg)); 701 msg.rm_len = htole32(sizeof(msg)); in urndis_ctrl_query() 805 msg.rm_type = le32toh(msg.rm_type); in urndis_bulk_read_callback() 806 msg.rm_len = le32toh(msg.rm_len); in urndis_bulk_read_callback() 808 msg.rm_datalen = le32toh(msg.rm_datalen); in urndis_bulk_read_callback() 820 msg.rm_len, msg.rm_dataoffset, msg.rm_datalen, in urndis_bulk_read_callback() 832 msg.rm_len, (unsigned)sizeof(msg)); in urndis_bulk_read_callback() 850 msg.rm_dataoffset + msg.rm_datalen + in urndis_bulk_read_callback() 937 memset(&msg, 0, sizeof(msg)); in urndis_bulk_write_callback() [all …]
|
/dragonfly/crypto/libressl/ssl/ |
H A D | tls13_handshake_msg.c | 46 return msg; in tls13_handshake_msg_new() 57 if (msg == NULL) in tls13_handshake_msg_free() 62 CBB_cleanup(&msg->cbb); in tls13_handshake_msg_free() 64 freezero(msg->data, msg->data_len); in tls13_handshake_msg_free() 71 CBS_init(cbs, msg->data, msg->data_len); in tls13_handshake_msg_data() 77 return msg->msg_type; in tls13_handshake_msg_type() 105 if (!CBB_finish(&msg->cbb, &msg->data, &msg->data_len)) in tls13_handshake_msg_finish() 108 CBS_init(&msg->cbs, msg->data, msg->data_len); in tls13_handshake_msg_finish() 130 if (msg->data != NULL) in tls13_handshake_msg_recv() 160 if (!tls_buffer_finish(msg->buf, &msg->data, &msg->data_len)) in tls13_handshake_msg_recv() [all …]
|
/dragonfly/sys/dev/disk/mpt/ |
H A D | mpt_debug.c | 363 kprintf("%s Reply @ %p\n", mpt_ioc_function(msg->Function), msg); in mpt_print_reply_hdr() 440 switch(msg->Event) { in mpt_print_event_notice() 447 msg->Data[0] & 0xff); in mpt_print_event_notice() 449 (msg->Data[0] >> 8) & 0xff); in mpt_print_event_notice() 456 (msg->Data[0] >> 8) & 0xff); in mpt_print_event_notice() 461 msg->Data[0] & 0xff); in mpt_print_event_notice() 463 (msg->Data[1] >> 8) & 0xff); in mpt_print_event_notice() 491 switch (msg->Function) { in mpt_print_reply() 509 mpt_print_reply_hdr(msg); in mpt_print_reply() 604 mpt_dump_sgl(msg->SGL, 0); in mpt_print_scsi_target_assist_request() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/radius/ |
H A D | radius.c | 68 (wpabuf_mhead_u8(msg->buf) + msg->attr_pos[idx]); in radius_get_attr_hdr() 106 msg = os_zalloc(sizeof(*msg)); in radius_msg_new() 111 if (msg->buf == NULL || radius_msg_initialize(msg)) { in radius_msg_new() 115 msg->hdr = wpabuf_put(msg->buf, sizeof(struct radius_hdr)); in radius_msg_new() 119 return msg; in radius_msg_new() 134 os_free(msg); in radius_msg_free() 610 if (msg->attr_used >= msg->attr_size) { in radius_msg_add_attr_to_array() 623 msg->attr_pos[msg->attr_used++] = in radius_msg_add_attr_to_array() 651 msg->hdr = wpabuf_mhead(msg->buf); in radius_msg_add_attr() 699 msg = os_zalloc(sizeof(*msg)); in radius_msg_parse() [all …]
|
/dragonfly/lib/libdmsg/ |
H A D | msg.c | 97 if ((msg = ioq->msg) != NULL) { in dmsg_ioq_done() 267 return msg; in dmsg_msg_alloc() 403 free (msg); in dmsg_msg_free_locked() 657 msg = ioq->msg; in dmsg_ioq_read() 769 ioq->msg = msg; in dmsg_ioq_read() 961 msg->aux_data + msg->aux_size, in dmsg_ioq_read() 1047 assert(ioq->msg == msg); in dmsg_ioq_read() 1091 if (msg) in dmsg_ioq_read() 1232 msg->any.head.aux_bytes = msg->aux_size; in dmsg_iocom_flush1() 1565 msg->any.head.cmd, msg->any.head.msgid, [all …]
|
H A D | service.c | 102 dmsg_msg_t *msg; in master_auth_signal() local 117 dmsg_msg_write(msg); in master_auth_signal() 166 state = msg->state; in master_link_rxmsg() 175 state->func(msg); in master_link_rxmsg() 182 dmsg_msg_lnk(msg); in master_link_rxmsg() 210 if (msg->aux_data) in dmsg_msg_dbg() 211 msg->aux_data[msg->aux_size - 1] = 0; in dmsg_msg_dbg() 219 if (msg->aux_data) in dmsg_msg_dbg() 220 msg->aux_data[msg->aux_size - 1] = 0; in dmsg_msg_dbg() 221 if (msg->aux_data) in dmsg_msg_dbg() [all …]
|
/dragonfly/sys/net/ipfw3/ |
H A D | ip_fw3_set.c | 101 struct netmsg_sets msg; in ip_fw3_ctl_set_move_set() local 108 bzero(&msg, sizeof(msg)); in ip_fw3_ctl_set_move_set() 111 msg.set_from = *set1; in ip_fw3_ctl_set_move_set() 112 msg.set_to = *set2; in ip_fw3_ctl_set_move_set() 143 bzero(&msg, sizeof(msg)); in ip_fw3_ctl_set_move_rule() 147 msg.set_to = *set; in ip_fw3_ctl_set_move_rule() 180 bzero(&msg, sizeof(msg)); in ip_fw3_ctl_set_swap() 183 msg.set_from = *set1; in ip_fw3_ctl_set_swap() 184 msg.set_to = *set2; in ip_fw3_ctl_set_swap() 245 bzero(&msg, sizeof(msg)); in ip_fw3_ctl_set_flush() [all …]
|
/dragonfly/crypto/openssh/ |
H A D | sftp-client.c | 248 sshbuf_free(msg); in send_string_request() 268 sshbuf_free(msg); in send_string_attrs_request() 294 sshbuf_free(msg); in get_status() 333 sshbuf_free(msg); in get_handle() 341 sshbuf_free(msg); in get_handle() 375 sshbuf_free(msg); in get_decode_stat() 388 sshbuf_free(msg); in get_decode_stat() 447 sshbuf_free(msg); in get_decode_statvfs() 559 sshbuf_free(msg); in do_init() 657 sshbuf_free(msg); in do_limits() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/drivers/ |
H A D | driver_nl80211.c | 377 if (msg) { in nl80211_nlmsg_clear() 401 if (!msg) in send_and_recv() 504 if (!msg) in nl_get_multicast_id() 543 if (!msg) in nl80211_cmd_msg() 552 return msg; in nl80211_cmd_msg() 563 if (!msg) in nl80211_ifindex_msg() 572 return msg; in nl80211_ifindex_msg() 674 if (!msg) in nl80211_register_beacons() 1648 if (!msg) in wpa_driver_nl80211_set_country() 1691 if (!msg) in wpa_driver_nl80211_get_country() [all …]
|
H A D | driver_nl80211_scan.c | 118 if (!msg || in nl80211_abort_vendor_scan() 129 msg = NULL; in nl80211_abort_vendor_scan() 190 if (!msg) in nl80211_scan_common() 304 return msg; in nl80211_scan_common() 332 if (!msg) in wpa_driver_nl80211_scan() 367 msg = NULL; in wpa_driver_nl80211_scan() 518 if (!msg) in wpa_driver_nl80211_sched_scan() 623 msg = NULL; in wpa_driver_nl80211_sched_scan() 1014 if (msg) in nl80211_dump_scan() 1209 msg = NULL; in wpa_driver_nl80211_vendor_scan() [all …]
|
/dragonfly/sys/net/ |
H A D | raw_usrreq.c | 146 raw_ctlinput(netmsg_t msg) in raw_ctlinput() argument 152 if (msg->ctlinput.nm_cmd < 0 || msg->ctlinput.nm_cmd > PRC_NCMDS) { in raw_ctlinput() 163 raw_uabort(netmsg_t msg) in raw_uabort() argument 183 raw_uattach(netmsg_t msg) in raw_uattach() argument 206 raw_ubind(netmsg_t msg) in raw_ubind() argument 213 raw_uconnect(netmsg_t msg) in raw_uconnect() argument 223 raw_udetach(netmsg_t msg) in raw_udetach() argument 266 raw_upeeraddr(netmsg_t msg) in raw_upeeraddr() argument 288 raw_usend(netmsg_t msg) in raw_usend() argument 314 if (msg->send.nm_addr) { in raw_usend() [all …]
|
/dragonfly/sys/vfs/hammer2/ |
H A D | hammer2_iocom.c | 137 switch(msg->tcmd) { in hammer2_rcvdmsg() 149 if (msg->aux_data) { in hammer2_rcvdmsg() 150 msg->aux_data[msg->aux_size - 1] = 0; in hammer2_rcvdmsg() 202 switch(msg->tcmd) { in hammer2_autodmsg() 240 msg->state && (msg->state->txcmd & DMSGF_DELETE) == 0) { in hammer2_autodmsg() 250 kdmsg_msg_reply(msg, 0); in hammer2_autodmsg() 254 kdmsg_msg_reply(msg, 0); in hammer2_autodmsg() 260 msg->any.head.cmd, in hammer2_autodmsg() 361 kdmsg_msg_reply(msg, 0); in hammer2_lnk_span_reply() 373 kdmsg_msg_t *msg; in hammer2_volconf_update() local [all …]
|
/dragonfly/lib/libc/sysvipc/ |
H A D | sockets.c | 133 struct msghdr msg; in send_fd() local 145 memset(&msg, 0, sizeof(msg)); in send_fd() 166 msg.msg_iov = &vec; in send_fd() 167 msg.msg_iovlen = 1; in send_fd() 186 struct msghdr msg; in receive_fd() local 199 memset(&msg, 0, sizeof(msg)); in receive_fd() 202 msg.msg_iov = &vec; in receive_fd() 203 msg.msg_iovlen = 1; in receive_fd() 250 struct msghdr msg; in send_msg_with_cred() local 265 msg.msg_iov = &vec; in send_msg_with_cred() [all …]
|
/dragonfly/sys/netinet/ |
H A D | tcp_usrreq.c | 299 tcp_usr_bind(netmsg_t msg) in tcp_usr_bind() argument 603 tcp_connect(msg); in tcp_usr_connect() 607 if (msg->connect.nm_m) { in tcp_usr_connect() 659 tcp6_connect(msg); in tcp6_usr_connect() 1535 ip_ctloutput(msg); in tcp_ctloutput() 1739 msg = kmalloc(sizeof(*msg), M_LWKTMSG, M_WAITOK | M_NULLOK); in tcp_ctloutmsg() 1740 if (msg == NULL) { in tcp_ctloutmsg() 1746 msg->sopt = *sopt; in tcp_ctloutmsg() 1750 sizeof(msg->sopt_val), sizeof(msg->sopt_val)); in tcp_ctloutmsg() 1755 msg->sopt.sopt_val = &msg->sopt_val; in tcp_ctloutmsg() [all …]
|