| /f-stack/freebsd/netgraph/bluetooth/l2cap/ |
| H A D | ng_l2cap_cmds.c | 121 ng_l2cap_l2ca_con_rsp(cmd->ch, cmd->token, in ng_l2cap_con_wakeup() 132 ng_l2cap_l2ca_con_rsp_rsp(cmd->ch, cmd->token, in ng_l2cap_con_wakeup() 144 ng_l2cap_l2ca_cfg_rsp(cmd->ch, cmd->token, in ng_l2cap_con_wakeup() 157 ng_l2cap_l2ca_cfg_rsp_rsp(cmd->ch, cmd->token, in ng_l2cap_con_wakeup() 165 ng_l2cap_l2ca_discon_rsp(cmd->ch, cmd->token, in ng_l2cap_con_wakeup() 213 ng_l2cap_l2ca_write_rsp(cmd->ch, cmd->token, in ng_l2cap_con_wakeup() 282 ng_l2cap_l2ca_con_rsp_rsp(cmd->ch, cmd->token, in ng_l2cap_con_fail() 293 ng_l2cap_l2ca_discon_rsp(cmd->ch, cmd->token, in ng_l2cap_con_fail() 298 ng_l2cap_l2ca_ping_rsp(cmd->con, cmd->token, in ng_l2cap_con_fail() 392 ng_l2cap_l2ca_ping_rsp(cmd->con, cmd->token, in ng_l2cap_process_command_timeout() [all …]
|
| H A D | ng_l2cap_evnt.c | 410 ng_l2cap_l2ca_con_rsp(cmd->ch,cmd->token,cp->reason,0); in ng_l2cap_process_cmd_rej() 415 ng_l2cap_l2ca_cfg_rsp(cmd->ch, cmd->token, cp->reason); in ng_l2cap_process_cmd_rej() 419 ng_l2cap_l2ca_discon_rsp(cmd->ch,cmd->token,cp->reason); in ng_l2cap_process_cmd_rej() 424 ng_l2cap_l2ca_ping_rsp(cmd->con, cmd->token, in ng_l2cap_process_cmd_rej() 429 ng_l2cap_l2ca_get_info_rsp(cmd->con, cmd->token, in ng_l2cap_process_cmd_rej() 593 error = ng_l2cap_l2ca_con_rsp(cmd->ch, cmd->token, in ng_l2cap_process_con_rsp() 609 cmd->ch->state = ((cmd->ch->scid == NG_L2CAP_ATT_CID)|| in ng_l2cap_process_con_rsp() 620 error = ng_l2cap_l2ca_con_rsp(cmd->ch, cmd->token, in ng_l2cap_process_con_rsp() 1062 if (cmd->ch->scid != scid || cmd->ch->dcid != dcid) { in ng_l2cap_process_discon_rsp() 1149 error = ng_l2cap_l2ca_ping_rsp(cmd->con, cmd->token, in ng_l2cap_process_echo_rsp() [all …]
|
| H A D | ng_l2cap_misc.h | 66 #define ng_l2cap_link_cmd(con, cmd) \ argument 68 TAILQ_INSERT_TAIL(&(con)->cmd_list, (cmd), next); \ 72 #define ng_l2cap_unlink_cmd(cmd) \ argument 74 TAILQ_REMOVE(&((cmd)->con->cmd_list), (cmd), next); \ 75 ng_l2cap_con_unref((cmd)->con); \ 78 #define ng_l2cap_free_cmd(cmd) \ argument 80 KASSERT(!callout_pending(&(cmd)->timo), ("Pending callout!")); \ 81 NG_FREE_M((cmd)->aux); \ 82 bzero((cmd), sizeof(*(cmd))); \ 83 free((cmd), M_NETGRAPH_L2CAP); \
|
| /f-stack/freebsd/mips/nlm/dev/sec/ |
| H A D | nlmseclib.c | 73 cmd->ctrlp->cipherkeylen, vtophys(cmd->ctrlp)); in nlm_crypto_complete_sec_request() 107 cmd->iv, cmd->ivlen); in nlm_crypto_form_srcdst_segs() 109 cmd->iv, cmd->ivlen); in nlm_crypto_form_srcdst_segs() 178 cmd->cipheralg, cmd->ciphermode, cipkey, in nlm_crypto_do_cipher() 183 cmd->ivlen, cmd->cipheroff, cmd->cipherlen); in nlm_crypto_do_cipher() 202 cmd->hashalg, cmd->hashmode, NLM_CIPHER_BYPASS, 0, in nlm_crypto_do_digest() 205 nlm_crypto_fill_auth_pkt_param(cmd->ctrlp, cmd->paramp, in nlm_crypto_do_digest() 206 cmd->hashoff, cmd->hashlen, cmd->hmacpad, in nlm_crypto_do_digest() 233 cmd->hashalg, cmd->hashmode, cmd->cipheralg, cmd->ciphermode, in nlm_crypto_do_cipher_digest() 239 cmd->ivoff, cmd->ivlen, cmd->hashoff, cmd->hashlen, in nlm_crypto_do_cipher_digest() [all …]
|
| H A D | nlmsec.c | 267 KASSERT(cmd != NULL && cmd->crp != NULL, in nlm_xlpsec_msgring_handler() 289 crypto_copydata(cmd->crp, cmd->crp->crp_digest_start, in nlm_xlpsec_msgring_handler() 295 crypto_copyback(cmd->crp, cmd->crp->crp_digest_start, in nlm_xlpsec_msgring_handler() 296 cmd->hash_dst_len, cmd->hashdest); in nlm_xlpsec_msgring_handler() 459 crp = cmd->crp; in xlp_copyiv() 559 if (cmd != NULL) in xlp_free_cmd_params() 593 cmd->crp = crp; in xlp_sec_process() 594 cmd->ses = ses; in xlp_sec_process() 620 cmd->cipheroff += cmd->ivlen; in xlp_sec_process() 665 cmd->hashoff += cmd->ivlen; in xlp_sec_process() [all …]
|
| H A D | nlmrsa.c | 239 xlp_rsa_inp2hwformat(cmd->rsasrc + cmd->rsaopsize * ostart, in nlm_xlprsaecc_msgring_handler() 323 if (cmd == NULL) in xlp_free_cmd_params() 332 free(cmd, M_DEVBUF); in xlp_free_cmd_params() 344 cmd->rsatype = 0x40; in xlp_get_rsa_opsize() 345 cmd->rsaopsize = 64; in xlp_get_rsa_opsize() 347 cmd->rsatype = 0x41; in xlp_get_rsa_opsize() 350 cmd->rsatype = 0x42; in xlp_get_rsa_opsize() 403 cmd->rsafn, vtophys(cmd->rsasrc)); in nlm_crypto_complete_rsa_request() 405 vtophys(cmd->rsasrc + cmd->rsaopsize * cmd->krp->krp_iparams)); in nlm_crypto_complete_rsa_request() 435 cmd->krp = krp; in xlp_rsa_kprocess() [all …]
|
| /f-stack/dpdk/drivers/net/dpaa2/mc/ |
| H A D | dprtc.c | 36 struct mc_command cmd = { 0 }; in dprtc_open() local 72 struct mc_command cmd = { 0 }; in dprtc_close() local 107 struct mc_command cmd = { 0 }; in dprtc_create() local 149 struct mc_command cmd = { 0 }; in dprtc_destroy() local 174 struct mc_command cmd = { 0 }; in dprtc_enable() local 196 struct mc_command cmd = { 0 }; in dprtc_disable() local 222 struct mc_command cmd = { 0 }; in dprtc_is_enabled() local 253 struct mc_command cmd = { 0 }; in dprtc_reset() local 280 struct mc_command cmd = { 0 }; in dprtc_get_attributes() local 319 struct mc_command cmd = { 0 }; in dprtc_set_clock_offset() local [all …]
|
| H A D | dpdmux.c | 38 struct mc_command cmd = { 0 }; in dpdmux_open() local 75 struct mc_command cmd = { 0 }; in dpdmux_close() local 114 struct mc_command cmd = { 0 }; in dpdmux_create() local 163 struct mc_command cmd = { 0 }; in dpdmux_destroy() local 189 struct mc_command cmd = { 0 }; in dpdmux_enable() local 212 struct mc_command cmd = { 0 }; in dpdmux_disable() local 237 struct mc_command cmd = { 0 }; in dpdmux_is_enabled() local 270 struct mc_command cmd = { 0 }; in dpdmux_reset() local 295 struct mc_command cmd = { 0 }; in dpdmux_get_attributes() local 336 struct mc_command cmd = { 0 }; in dpdmux_if_enable() local [all …]
|
| H A D | dpni.c | 34 struct mc_command cmd = { 0 }; in dpni_open() local 72 struct mc_command cmd = { 0 }; in dpni_close() local 112 struct mc_command cmd = { 0 }; in dpni_create() local 162 struct mc_command cmd = { 0 }; in dpni_destroy() local 193 struct mc_command cmd = { 0 }; in dpni_set_pools() local 231 struct mc_command cmd = { 0 }; in dpni_enable() local 254 struct mc_command cmd = { 0 }; in dpni_disable() local 279 struct mc_command cmd = { 0 }; in dpni_is_enabled() local 312 struct mc_command cmd = { 0 }; in dpni_reset() local 344 struct mc_command cmd = { 0 }; in dpni_set_irq_enable() local [all …]
|
| /f-stack/tools/ipfw/ |
| H A D | ipv6.c | 100 if (cmd->o.opcode == O_IP6_SRC_ME || cmd->o.opcode == O_IP6_DST_ME) { in print_ip6() 155 memset(cmd, 0, sizeof(*cmd)); in fill_icmp6types() 226 cmd->arg1 = 0; in fill_ext6hdr() 244 cmd->arg1 |= EXT_AH; in fill_ext6hdr() 247 cmd->arg1 |= EXT_ESP; in fill_ext6hdr() 261 if (cmd->arg1 == 0) in fill_ext6hdr() 263 cmd->opcode = O_EXT_HDR; in fill_ext6hdr() 448 cmd->o.len |= len+1; in fill_ip6() 483 cmd->o.arg1 = nflow; in fill_flow6() 509 return cmd; in add_srcip6() [all …]
|
| H A D | ipfw2.c | 1784 l > 0; l -= F_LEN(cmd), cmd += F_LEN(cmd)) { in print_opcode() 2001 cmd->opcode, cmd->len); in print_action_instruction() 2018 l -= F_LEN(cmd), cmd += F_LEN(cmd)) { in print_action() 2038 l > 0; l -= F_LEN(cmd), cmd += F_LEN(cmd)) { in print_proto() 2102 l > 0; l -= F_LEN(cmd), cmd += F_LEN(cmd)) { in print_address() 2111 l > 0 && count > 0; l -= F_LEN(cmd), cmd += F_LEN(cmd)) { in print_address() 2125 l > 0; l -= F_LEN(cmd), cmd += F_LEN(cmd)) { in print_address() 3515 cmd += F_LEN(cmd); in next_cmd() 3516 bzero(cmd, sizeof(*cmd)); in next_cmd() 4412 cmd = next_cmd(cmd); in compile_rule() [all …]
|
| /f-stack/dpdk/drivers/bus/fslmc/mc/ |
| H A D | dpio.c | 35 struct mc_command cmd = { 0 }; in dpio_open() local 68 struct mc_command cmd = { 0 }; in dpio_close() local 108 struct mc_command cmd = { 0 }; in dpio_create() local 153 struct mc_command cmd = { 0 }; in dpio_destroy() local 180 struct mc_command cmd = { 0 }; in dpio_enable() local 203 struct mc_command cmd = { 0 }; in dpio_disable() local 229 struct mc_command cmd = { 0 }; in dpio_is_enabled() local 260 struct mc_command cmd = { 0 }; in dpio_reset() local 286 struct mc_command cmd = { 0 }; in dpio_get_attributes() local 331 struct mc_command cmd = { 0 }; in dpio_set_stashing_destination() local [all …]
|
| H A D | dpbp.c | 35 struct mc_command cmd = { 0 }; in dpbp_open() local 70 struct mc_command cmd = { 0 }; in dpbp_close() local 104 struct mc_command cmd = { 0 }; in dpbp_create() local 139 struct mc_command cmd = { 0 }; in dpbp_destroy() local 164 struct mc_command cmd = { 0 }; in dpbp_enable() local 186 struct mc_command cmd = { 0 }; in dpbp_disable() local 211 struct mc_command cmd = { 0 }; in dpbp_is_enabled() local 242 struct mc_command cmd = { 0 }; in dpbp_reset() local 267 struct mc_command cmd = { 0 }; in dpbp_get_attributes() local 302 struct mc_command cmd = { 0 }; in dpbp_get_api_version() local [all …]
|
| H A D | dpcon.c | 34 struct mc_command cmd = { 0 }; in dpcon_open() local 46 err = mc_send_command(mc_io, &cmd); in dpcon_open() 71 struct mc_command cmd = { 0 }; in dpcon_close() local 110 struct mc_command cmd = { 0 }; in dpcon_create() local 146 struct mc_command cmd = { 0 }; in dpcon_destroy() local 171 struct mc_command cmd = { 0 }; in dpcon_enable() local 194 struct mc_command cmd = { 0 }; in dpcon_disable() local 220 struct mc_command cmd = { 0 }; in dpcon_is_enabled() local 252 struct mc_command cmd = { 0 }; in dpcon_reset() local 277 struct mc_command cmd = { 0 }; in dpcon_get_attributes() local [all …]
|
| H A D | dpci.c | 35 struct mc_command cmd = { 0 }; in dpci_open() local 71 struct mc_command cmd = { 0 }; in dpci_close() local 111 struct mc_command cmd = { 0 }; in dpci_create() local 153 struct mc_command cmd = { 0 }; in dpci_destroy() local 178 struct mc_command cmd = { 0 }; in dpci_enable() local 201 struct mc_command cmd = { 0 }; in dpci_disable() local 227 struct mc_command cmd = { 0 }; in dpci_is_enabled() local 258 struct mc_command cmd = { 0 }; in dpci_reset() local 284 struct mc_command cmd = { 0 }; in dpci_get_attributes() local 325 struct mc_command cmd = { 0 }; in dpci_set_rx_queue() local [all …]
|
| H A D | dpdmai.c | 33 struct mc_command cmd = { 0 }; in dpdmai_open() local 69 struct mc_command cmd = { 0 }; in dpdmai_close() local 108 struct mc_command cmd = { 0 }; in dpdmai_create() local 152 struct mc_command cmd = { 0 }; in dpdmai_destroy() local 177 struct mc_command cmd = { 0 }; in dpdmai_enable() local 200 struct mc_command cmd = { 0 }; in dpdmai_disable() local 226 struct mc_command cmd = { 0 }; in dpdmai_is_enabled() local 258 struct mc_command cmd = { 0 }; in dpdmai_reset() local 284 struct mc_command cmd = { 0 }; in dpdmai_get_attributes() local 329 struct mc_command cmd = { 0 }; in dpdmai_set_rx_queue() local [all …]
|
| /f-stack/tools/ifconfig/ |
| H A D | ifvxlan.c | 241 bzero(&cmd, sizeof(cmd)); in DECL_CMD_FUNC() 256 bzero(&cmd, sizeof(cmd)); in DECL_CMD_FUNC() 316 bzero(&cmd, sizeof(cmd)); in DECL_CMD_FUNC() 376 bzero(&cmd, sizeof(cmd)); in DECL_CMD_FUNC() 443 bzero(&cmd, sizeof(cmd)); in DECL_CMD_FUNC() 465 bzero(&cmd, sizeof(cmd)); in DECL_CMD_FUNC() 492 bzero(&cmd, sizeof(cmd)); in DECL_CMD_FUNC2() 515 bzero(&cmd, sizeof(cmd)); in DECL_CMD_FUNC() 537 bzero(&cmd, sizeof(cmd)); in DECL_CMD_FUNC() 556 bzero(&cmd, sizeof(cmd)); in DECL_CMD_FUNC() [all …]
|
| /f-stack/dpdk/drivers/crypto/dpaa2_sec/mc/ |
| H A D | dpseci.c | 36 struct mc_command cmd = { 0 }; in dpseci_open() local 72 struct mc_command cmd = { 0 }; in dpseci_close() local 112 struct mc_command cmd = { 0 }; in dpseci_create() local 160 struct mc_command cmd = { 0 }; in dpseci_destroy() local 185 struct mc_command cmd = { 0 }; in dpseci_enable() local 208 struct mc_command cmd = { 0 }; in dpseci_disable() local 234 struct mc_command cmd = { 0 }; in dpseci_is_enabled() local 266 struct mc_command cmd = { 0 }; in dpseci_reset() local 292 struct mc_command cmd = { 0 }; in dpseci_get_attributes() local 334 struct mc_command cmd = { 0 }; in dpseci_set_rx_queue() local [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
| H A D | history_common.kshlib | 65 [[ $cmd == "zpool" || $cmd == "zfs" ]] || \ 100 typeset cmd=$1 130 typeset cmd=$1 164 typeset cmd=$1 193 typeset cmd=$1 217 typeset cmd=$1 236 dsname=${cmd##* } 255 tmp=${cmd#*@} 266 tmp=${cmd#*-c} 365 typeset cmd=$1 [all …]
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | pcf2123_rtc.c | 76 struct spi_command cmd; in pcf2123_rtc_attach() local 86 memset(&cmd, 0, sizeof(cmd)); in pcf2123_rtc_attach() 92 cmd.rx_cmd = rxBuf; in pcf2123_rtc_attach() 93 cmd.tx_cmd = txBuf; in pcf2123_rtc_attach() 106 struct spi_command cmd; in pcf2123_rtc_gettime() local 111 memset(&cmd, 0, sizeof(cmd)); in pcf2123_rtc_gettime() 121 cmd.rx_cmd = rxTimedate; in pcf2123_rtc_gettime() 122 cmd.tx_cmd = txTimedate; in pcf2123_rtc_gettime() 147 struct spi_command cmd; in pcf2123_rtc_settime() local 160 memset(&cmd, 0, sizeof(cmd)); in pcf2123_rtc_settime() [all …]
|
| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_acl.c | 20 struct ice_aqc_acl_alloc_table *cmd; in ice_aq_alloc_acl_tbl() local 44 cmd = &desc.params.alloc_table; in ice_aq_alloc_acl_tbl() 75 cmd = &desc.params.tbl_actpair; in ice_aq_dealloc_acl_tbl() 85 struct ice_aqc_acl_entry *cmd; in ice_aq_acl_entry() local 94 cmd->tcam_index = tcam_idx; in ice_aq_acl_entry() 148 cmd = &desc.params.tbl_actpair; in ice_aq_actpair_a_d() 197 struct ice_aqc_acl_actpair *cmd; in ice_aq_actpair_p_q() local 206 cmd->act_mem_index = act_mem_idx; in ice_aq_actpair_p_q() 393 cmd->bank_alloc = cntrs->bank; in ice_aq_alloc_acl_cntrs() 433 cmd->bank_alloc = cntrs->bank; in ice_aq_dealloc_acl_cntrs() [all …]
|
| /f-stack/freebsd/mips/mediatek/ |
| H A D | mtk_spi_v2.c | 246 tx_buf = (uint8_t *)(cmd->tx_cmd); in mtk_spi_transfer() 267 cmd->rx_cmd_sz = cmd->tx_data_sz = 0; in mtk_spi_transfer() 273 cmd->rx_cmd_sz = cmd->rx_data_sz = 0; in mtk_spi_transfer() 279 if (cmd->tx_cmd_sz + cmd->rx_cmd_sz) { in mtk_spi_transfer() 280 buf = (uint8_t *)(cmd->rx_cmd); in mtk_spi_transfer() 281 tx_buf = (uint8_t *)(cmd->tx_cmd); in mtk_spi_transfer() 282 sz = cmd->tx_cmd_sz + cmd->rx_cmd_sz; in mtk_spi_transfer() 305 if (cmd->tx_data_sz + cmd->rx_data_sz) { in mtk_spi_transfer() 306 write = (cmd->tx_data_sz > 0)?1:0; in mtk_spi_transfer() 307 buf = (uint8_t *)(write ? cmd->tx_data : cmd->rx_data); in mtk_spi_transfer() [all …]
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | redis-trib.rb | 44 def parse_options(cmd) argument 45 cmd = cmd.downcase 58 if ALLOWED_OPTIONS[cmd] == nil || 59 ALLOWED_OPTIONS[cmd][option] == nil 62 if ALLOWED_OPTIONS[cmd][option] != false 71 if ALLOWED_OPTIONS[cmd][option] == [] 86 def command_example(cmd, args, opts) argument 87 cmd = "redis-cli --cluster #{cmd}" 91 cmd << " #{a}" 99 cmd << opt [all …]
|
| /f-stack/dpdk/drivers/net/cxgbe/base/ |
| H A D | t4vf_hw.c | 266 memset(&cmd, 0, sizeof(cmd)); in t4vf_fw_reset() 353 memset(&cmd, 0, sizeof(cmd)); in t4vf_query_params() 449 memset(&cmd, 0, sizeof(cmd)); in t4vf_set_params() 529 memset(&cmd, 0, sizeof(cmd)); in t4vf_get_rss_glb_config() 533 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_get_rss_glb_config() 534 v = t4vf_wr_mbox(adapter, &cmd, sizeof(cmd), &rpl); in t4vf_get_rss_glb_config() 601 memset(&cmd, 0, sizeof(cmd)); in t4vf_get_vfres() 605 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_get_vfres() 664 memset(&cmd, 0, sizeof(cmd)); in t4vf_get_port_stats_fw() 753 memset(&cmd, 0, sizeof(cmd)); in t4vf_alloc_vi() [all …]
|
| /f-stack/dpdk/drivers/net/i40e/base/ |
| H A D | i40e_nvm.c | 904 cmd->command, cmd->config, cmd->offset, cmd->data_size); in i40e_nvmupd_command() 1406 cmd->data_size); in i40e_nvmupd_validate_command() 1546 if (cmd->offset) in i40e_nvmupd_exec_aq() 1562 if (cmd->offset) { in i40e_nvmupd_exec_aq() 1602 if (cmd->data_size > (aq_total_len - cmd->offset)) { in i40e_nvmupd_get_aq_result() 1616 __func__, cmd->offset, cmd->offset + len); in i40e_nvmupd_get_aq_result() 1699 status = i40e_aq_read_nvm(hw, module, cmd->offset, (u16)cmd->data_size, in i40e_nvmupd_nvm_read() 1704 module, cmd->offset, cmd->data_size); in i40e_nvmupd_nvm_read() 1738 status = i40e_aq_erase_nvm(hw, module, cmd->offset, (u16)cmd->data_size, in i40e_nvmupd_nvm_erase() 1743 module, cmd->offset, cmd->data_size); in i40e_nvmupd_nvm_erase() [all …]
|