| /net/bluetooth/ |
| A D | hci_drv.c | 25 hdr->opcode = __cpu_to_le16(HCI_DRV_EV_CMD_STATUS); in hci_drv_cmd_status() 29 ev->opcode = __cpu_to_le16(cmd); in hci_drv_cmd_status() 54 ev->opcode = __cpu_to_le16(cmd); in hci_drv_cmd_complete() 69 u16 opcode, len, ogf, ocf; in hci_drv_process_cmd() local 75 opcode = __le16_to_cpu(hdr->opcode); in hci_drv_process_cmd() 80 ogf = hci_opcode_ogf(opcode); in hci_drv_process_cmd() 81 ocf = hci_opcode_ocf(opcode); in hci_drv_process_cmd() 84 return hci_drv_cmd_status(hdev, opcode, in hci_drv_process_cmd() 88 if (opcode < hdev->hci_drv->common_handler_count) in hci_drv_process_cmd() 96 return hci_drv_cmd_status(hdev, opcode, in hci_drv_process_cmd() [all …]
|
| A D | mgmt_util.c | 34 u16 opcode, u16 len, void *buf) in create_monitor_ctrl_event() argument 44 put_unaligned_le16(opcode, skb_put(skb, 2)); in create_monitor_ctrl_event() 52 hdr->opcode = cpu_to_le16(HCI_MON_CTRL_EVENT); in create_monitor_ctrl_event() 70 bt_cb(skb)->mgmt.opcode = opcode; in mgmt_alloc_skb() 98 hdr->opcode = cpu_to_le16(bt_cb(skb)->mgmt.opcode); in mgmt_send_event_skb() 141 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_STATUS); in mgmt_cmd_status() 147 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_status() 190 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_complete() 228 if (cmd->opcode == opcode) { in mgmt_pending_find() 248 if (opcode > 0 && cmd->opcode != opcode) in mgmt_pending_foreach() [all …]
|
| A D | hci_sock.c | 188 if (!flt->opcode) in is_filtered_packet() 363 __le16 opcode; in hci_send_to_monitor() local 417 hdr->opcode = opcode; in hci_send_to_monitor() 486 __le16 opcode; in create_monitor_event() local 552 hdr->opcode = opcode; in create_monitor_event() 660 u16 opcode, u16 len, in create_monitor_ctrl_command() argument 1622 u16 opcode, index, len; in hci_mgmt_cmd() local 1634 opcode = __le16_to_cpu(hdr->opcode); in hci_mgmt_cmd() 1980 uf.opcode = f->opcode; in hci_sock_setsockopt_old() 1999 f->opcode = uf.opcode; in hci_sock_setsockopt_old() [all …]
|
| A D | mgmt_util.h | 35 u16 opcode; member 45 struct sk_buff *mgmt_alloc_skb(struct hci_dev *hdev, u16 opcode, 55 struct mgmt_pending_cmd *mgmt_pending_find(unsigned short channel, u16 opcode, 57 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, bool remove, 60 struct mgmt_pending_cmd *mgmt_pending_add(struct sock *sk, u16 opcode, 63 struct mgmt_pending_cmd *mgmt_pending_new(struct sock *sk, u16 opcode,
|
| A D | hci_core.c | 1467 u16 opcode = hci_skb_opcode(hdev->req_skb); in hci_cmd_timeout() local 3120 if (hci_opcode_ogf(opcode) != 0x3f) { in __hci_cmd_send() 3136 opcode); in __hci_cmd_send() 3156 if (hdr->opcode != cpu_to_le16(opcode)) in hci_cmd_data() 3168 data = hci_cmd_data(hdev->sent_cmd, opcode); in hci_sent_cmd_data() 3171 data = hci_cmd_data(hdev->req_skb, opcode); in hci_sent_cmd_data() 3936 u16 opcode; in hci_resend_last() local 3942 opcode = __le16_to_cpu(sent->opcode); in hci_resend_last() 3943 if (opcode == HCI_OP_RESET) in hci_resend_last() 3961 BT_DBG("opcode 0x%04x status 0x%02x", opcode, status); in hci_req_cmd_complete() [all …]
|
| A D | hci_sync.c | 63 hdr->opcode = cpu_to_le16(opcode); in hci_cmd_sync_alloc() 72 hci_skb_opcode(skb) = opcode; in hci_cmd_sync_alloc() 91 bt_dev_dbg(hdev, "opcode 0x%4.4x plen %d", opcode, plen); in hci_cmd_sync_add() 99 skb = hci_cmd_sync_alloc(hdev, opcode, plen, param, sk); in hci_cmd_sync_add() 102 opcode); in hci_cmd_sync_add() 164 bt_dev_dbg(hdev, "Opcode 0x%4.4x", opcode); in __hci_cmd_sync_sk() 168 hci_cmd_sync_add(&req, opcode, plen, param, event, sk); in __hci_cmd_sync_sk() 236 bt_dev_dbg(hdev, "opcode 0x%4.4x plen %d", opcode, plen); in hci_cmd_sync() 239 skb = __hci_cmd_sync(hdev, opcode, plen, param, timeout); in hci_cmd_sync() 271 bt_dev_err(hdev, "Opcode 0x%4.4x failed: %ld", opcode, in __hci_cmd_sync_status_sk() [all …]
|
| A D | mgmt.c | 407 __le16 *opcode = rp->opcodes; in read_commands() local 409 for (i = 0; i < num_commands; i++, opcode++) in read_commands() 412 for (i = 0; i < num_events; i++, opcode++) in read_commands() 413 put_unaligned_le16(mgmt_events[i], opcode); in read_commands() 415 __le16 *opcode = rp->opcodes; in read_commands() local 417 for (i = 0; i < num_commands; i++, opcode++) in read_commands() 420 for (i = 0; i < num_events; i++, opcode++) in read_commands() 2617 switch (cmd->opcode) { in pending_eir_or_class() 3423 if (cmd->opcode != MGMT_OP_PAIR_DEVICE) in find_pairing() 9838 u8 opcode) in user_pairing_resp_complete() argument [all …]
|
| A D | hci_event.c | 4186 *opcode = __le16_to_cpu(ev->opcode); in hci_cmd_complete_evt() 4191 if (hci_cc_table[i].op == *opcode) { in hci_cmd_complete_evt() 4307 *opcode = __le16_to_cpu(ev->opcode); in hci_cmd_status_evt() 4313 if (hci_cs_table[i].op == *opcode) { in hci_cmd_status_evt() 4332 *opcode); in hci_cmd_status_evt() 7182 *opcode = hci_skb_opcode(hdev->req_skb); in hci_le_meta_evt() 7246 if (opcode != __le16_to_cpu(ev->opcode)) { in hci_get_cmd_complete() 7248 __le16_to_cpu(ev->opcode)); in hci_get_cmd_complete() 7486 u16 *opcode, u8 *status, in hci_event_func() argument 7529 u16 opcode = HCI_OP_NOP; in hci_event_packet() local [all …]
|
| /net/nfc/nci/ |
| A D | core.c | 344 __u16 opcode; member 360 param.opcode = nci_opcode_pack(NCI_GID_PROPRIETARY, oid); in nci_prop_cmd() 374 param.opcode = opcode; in nci_core_cmd() 1377 pr_debug("opcode 0x%x, plen %d\n", opcode, plen); in nci_send_cmd() 1386 hdr->gid = nci_opcode_gid(opcode); in nci_send_cmd() 1387 hdr->oid = nci_opcode_oid(opcode); in nci_send_cmd() 1406 __u16 opcode) in ops_cmd_lookup() argument 1416 if (op->opcode == opcode) in ops_cmd_lookup() 1449 int nci_prop_rsp_packet(struct nci_dev *ndev, __u16 opcode, in nci_prop_rsp_packet() argument 1456 int nci_prop_ntf_packet(struct nci_dev *ndev, __u16 opcode, in nci_prop_ntf_packet() argument [all …]
|
| /net/rds/ |
| A D | ib_send.c | 157 switch (send->s_wr.opcode) { in rds_ib_send_unmap_op() 181 __func__, send->s_wr.opcode); in rds_ib_send_unmap_op() 185 send->s_wr.opcode = 0xdead; in rds_ib_send_unmap_op() 220 if (send->s_op && send->s_wr.opcode != 0xdead) in rds_ib_send_clear_ring() 629 send->s_wr.opcode = IB_WR_SEND; in rds_ib_xmit() 788 send->s_atomic_wr.wr.opcode = IB_WR_MASKED_ATOMIC_CMP_AND_SWP; in rds_ib_xmit_atomic() 794 send->s_atomic_wr.wr.opcode = IB_WR_MASKED_ATOMIC_FETCH_AND_ADD; in rds_ib_xmit_atomic() 926 send->s_wr.opcode = op->op_write ? IB_WR_RDMA_WRITE : IB_WR_RDMA_READ; in rds_ib_xmit_rdma()
|
| A D | ib_frmr.c | 155 reg_wr.wr.opcode = IB_WR_REG_MR; in rds_ib_post_reg_frmr() 289 s_wr->opcode = IB_WR_LOCAL_INV; in rds_ib_post_inv()
|
| /net/ceph/ |
| A D | osd_client.c | 643 switch (opcode) { in osd_req_opcode_valid() 728 op->op = opcode; in osd_req_op_init() 741 opcode, 0); in osd_req_op_extent_init() 744 BUG_ON(opcode != CEPH_OSD_OP_READ && opcode != CEPH_OSD_OP_WRITE && in osd_req_op_extent_init() 745 opcode != CEPH_OSD_OP_WRITEFULL && opcode != CEPH_OSD_OP_ZERO && in osd_req_op_extent_init() 752 if (opcode == CEPH_OSD_OP_WRITE || opcode == CEPH_OSD_OP_WRITEFULL) in osd_req_op_extent_init() 854 BUG_ON(opcode != CEPH_OSD_OP_SETXATTR && opcode != CEPH_OSD_OP_CMPXATTR); in osd_req_op_xattr_init() 1072 BUG_ON(opcode != CEPH_OSD_OP_READ && opcode != CEPH_OSD_OP_WRITE && in ceph_osdc_new_request() 1073 opcode != CEPH_OSD_OP_ZERO && opcode != CEPH_OSD_OP_TRUNCATE && in ceph_osdc_new_request() 1074 opcode != CEPH_OSD_OP_CREATE && opcode != CEPH_OSD_OP_DELETE && in ceph_osdc_new_request() [all …]
|
| A D | ceph_strings.c | 52 #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return (str); in ceph_osd_op_name() argument
|
| /net/sunrpc/xprtrdma/ |
| A D | frwr_ops.c | 401 mr->mr_regwr.wr.opcode = IB_WR_REG_MR; in frwr_send() 521 last->opcode = IB_WR_LOCAL_INV; in frwr_unmap_sync() 624 last->opcode = IB_WR_LOCAL_INV; in frwr_unmap_async() 693 mr->mr_regwr.wr.opcode = IB_WR_REG_MR; in frwr_wp_create()
|
| A D | svc_rdma_sendto.c | 909 send_wr->opcode = IB_WR_SEND_WITH_INV; in svc_rdma_send_reply_msg() 912 send_wr->opcode = IB_WR_SEND; in svc_rdma_send_reply_msg() 977 sctxt->sc_send_wr.opcode = IB_WR_SEND; in svc_rdma_send_error_msg()
|
| A D | svc_rdma_backchannel.c | 92 sctxt->sc_send_wr.opcode = IB_WR_SEND; in svc_rdma_bc_sendto()
|
| /net/smc/ |
| A D | smc_wr.c | 85 if (wc->opcode == IB_WC_REG_MR) { in smc_wr_tx_process_cqe() 577 lnk->wr_tx_ibs[i].opcode = IB_WR_SEND; in smc_wr_init_sge() 582 lnk->wr_tx_rdmas[i].wr_tx_rdma[0].wr.opcode = IB_WR_RDMA_WRITE; in smc_wr_init_sge() 583 lnk->wr_tx_rdmas[i].wr_tx_rdma[1].wr.opcode = IB_WR_RDMA_WRITE; in smc_wr_init_sge() 598 lnk->wr_tx_v2_ib->opcode = IB_WR_SEND; in smc_wr_init_sge() 632 lnk->wr_reg.wr.opcode = IB_WR_REG_MR; in smc_wr_init_sge()
|
| /net/netfilter/ |
| A D | nf_conntrack_proto_tcp.c | 354 int opcode=*ptr++; in tcp_options() local 357 switch (opcode) { in tcp_options() 372 if (opcode == TCPOPT_SACK_PERM in tcp_options() 375 else if (opcode == TCPOPT_WINDOW in tcp_options() 416 int opcode = *ptr++; in tcp_sack() local 419 switch (opcode) { in tcp_sack() 434 if (opcode == TCPOPT_SACK in tcp_sack()
|
| A D | nf_conntrack_tftp.c | 57 switch (ntohs(tfh->opcode)) { in tftp_help()
|
| A D | nf_synproxy_core.c | 43 int opcode = *ptr++; in synproxy_parse_options() local 46 switch (opcode) { in synproxy_parse_options() 61 switch (opcode) { in synproxy_parse_options()
|
| /net/can/ |
| A D | bcm.c | 460 msg_head.opcode = TX_EXPIRED; in bcm_tx_timeout_handler() 497 head.opcode = RX_CHANGED; in bcm_rx_changed() 624 msg_head.opcode = RX_TIMEOUT; in bcm_rx_timeout_handler() 1420 switch (msg_head.opcode) { in bcm_sendmsg() 1446 msg_head.opcode = TX_STATUS; in bcm_sendmsg() 1452 msg_head.opcode = RX_STATUS; in bcm_sendmsg()
|
| /net/bridge/netfilter/ |
| A D | ebt_arp.c | 30 NF_INVF(info, EBT_ARP_OPCODE, info->opcode != ah->ar_op)) in ebt_arp_mt()
|
| /net/sched/ |
| A D | sch_cake.c | 1008 int opcode = *ptr++; in cake_get_tcpopt() local 1011 if (opcode == TCPOPT_EOL) in cake_get_tcpopt() 1013 if (opcode == TCPOPT_NOP) { in cake_get_tcpopt() 1023 if (opcode == code) { in cake_get_tcpopt() 1147 int opcode = *ptr++; in cake_tcph_may_drop() local 1150 if (opcode == TCPOPT_EOL) in cake_tcph_may_drop() 1152 if (opcode == TCPOPT_NOP) { in cake_tcph_may_drop() 1162 switch (opcode) { in cake_tcph_may_drop()
|
| /net/bridge/ |
| A D | br_cfm.c | 205 common_hdr->opcode = BR_CFM_OPCODE_CCM; in ccm_frame_build() 415 if (hdr->opcode == BR_CFM_OPCODE_CCM) { in br_cfm_frame_rx()
|
| /net/mptcp/ |
| A D | options.c | 376 int opcode = *ptr++; in mptcp_get_options() local 379 switch (opcode) { in mptcp_get_options() 393 if (opcode == TCPOPT_MPTCP) in mptcp_get_options()
|