/net/bluetooth/ |
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 hdr->opcode = cpu_to_le16(event); in mgmt_send_event() 108 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_STATUS); in mgmt_cmd_status() 114 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_status() 152 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_COMPLETE); in mgmt_cmd_complete() 157 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_complete() 184 struct mgmt_pending_cmd *mgmt_pending_find(unsigned short channel, u16 opcode, in mgmt_pending_find() argument 192 if (cmd->opcode == opcode) in mgmt_pending_find() [all …]
|
D | hci_sock.c | 187 if (!flt->opcode) in is_filtered_packet() 191 flt->opcode != get_unaligned((__le16 *)(skb->data + 3))) in is_filtered_packet() 195 flt->opcode != get_unaligned((__le16 *)(skb->data + 4))) in is_filtered_packet() 314 __le16 opcode; in hci_send_to_monitor() local 323 opcode = cpu_to_le16(HCI_MON_COMMAND_PKT); in hci_send_to_monitor() 326 opcode = cpu_to_le16(HCI_MON_EVENT_PKT); in hci_send_to_monitor() 330 opcode = cpu_to_le16(HCI_MON_ACL_RX_PKT); in hci_send_to_monitor() 332 opcode = cpu_to_le16(HCI_MON_ACL_TX_PKT); in hci_send_to_monitor() 336 opcode = cpu_to_le16(HCI_MON_SCO_RX_PKT); in hci_send_to_monitor() 338 opcode = cpu_to_le16(HCI_MON_SCO_TX_PKT); in hci_send_to_monitor() [all …]
|
D | mgmt_util.h | 25 u16 opcode; member 40 struct mgmt_pending_cmd *mgmt_pending_find(unsigned short channel, u16 opcode, 43 u16 opcode, 46 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, 49 struct mgmt_pending_cmd *mgmt_pending_add(struct sock *sk, u16 opcode,
|
D | hci_request.h | 43 void hci_req_add(struct hci_request *req, u16 opcode, u32 plen, 45 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, 47 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status, 59 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen,
|
D | hci_request.c | 103 static void hci_req_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, in hci_req_sync_complete() argument 128 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev() argument 139 hci_req_add_ev(&req, opcode, plen, param, event); in __hci_cmd_sync_ev() 185 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync() argument 188 return __hci_cmd_sync_ev(hdev, opcode, plen, param, 0, timeout); in __hci_cmd_sync() 290 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_prepare_cmd() argument 302 hdr->opcode = cpu_to_le16(opcode); in hci_prepare_cmd() 311 hci_skb_opcode(skb) = opcode; in hci_prepare_cmd() 317 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, in hci_req_add_ev() argument 323 bt_dev_dbg(hdev, "opcode 0x%4.4x plen %d", opcode, plen); in hci_req_add_ev() [all …]
|
D | mgmt.c | 364 __le16 *opcode = rp->opcodes; in read_commands() local 366 for (i = 0; i < num_commands; i++, opcode++) in read_commands() 367 put_unaligned_le16(mgmt_commands[i], opcode); in read_commands() 369 for (i = 0; i < num_events; i++, opcode++) in read_commands() 370 put_unaligned_le16(mgmt_events[i], opcode); in read_commands() 372 __le16 *opcode = rp->opcodes; in read_commands() local 374 for (i = 0; i < num_commands; i++, opcode++) in read_commands() 375 put_unaligned_le16(mgmt_untrusted_commands[i], opcode); in read_commands() 377 for (i = 0; i < num_events; i++, opcode++) in read_commands() 378 put_unaligned_le16(mgmt_untrusted_events[i], opcode); in read_commands() [all …]
|
D | hci_core.c | 2776 u16 opcode = __le16_to_cpu(sent->opcode); in hci_cmd_timeout() local 2778 bt_dev_err(hdev, "command 0x%4.4x tx timeout", opcode); in hci_cmd_timeout() 4257 int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, in hci_send_cmd() argument 4262 BT_DBG("%s opcode 0x%4.4x plen %d", hdev->name, opcode, plen); in hci_send_cmd() 4264 skb = hci_prepare_cmd(hdev, opcode, plen, param); in hci_send_cmd() 4281 int __hci_cmd_send(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_send() argument 4286 if (hci_opcode_ogf(opcode) != 0x3f) { in __hci_cmd_send() 4299 skb = hci_prepare_cmd(hdev, opcode, plen, param); in __hci_cmd_send() 4302 opcode); in __hci_cmd_send() 4313 void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode) in hci_sent_cmd_data() argument [all …]
|
D | hci_event.c | 3111 u16 opcode, struct sk_buff *skb) in read_enc_key_size_complete() argument 3353 u16 *opcode, u8 *status, in hci_cmd_complete_evt() argument 3359 *opcode = __le16_to_cpu(ev->opcode); in hci_cmd_complete_evt() 3364 switch (*opcode) { in hci_cmd_complete_evt() 3710 BT_DBG("%s opcode 0x%4.4x", hdev->name, *opcode); in hci_cmd_complete_evt() 3716 hci_req_cmd_complete(hdev, *opcode, *status, req_complete, in hci_cmd_complete_evt() 3721 "unexpected event for opcode 0x%4.4x", *opcode); in hci_cmd_complete_evt() 3730 u16 *opcode, u8 *status, in hci_cmd_status_evt() argument 3738 *opcode = __le16_to_cpu(ev->opcode); in hci_cmd_status_evt() 3741 switch (*opcode) { in hci_cmd_status_evt() [all …]
|
D | amp.c | 217 u16 opcode, struct sk_buff *skb) in read_local_amp_assoc_complete() argument 318 u16 opcode, struct sk_buff *skb) in write_remote_amp_assoc_complete() argument 416 u16 opcode) in create_phylink_complete() argument 464 u16 opcode) in accept_phylink_complete() argument
|
D | msft.c | 302 u8 status, u16 opcode, in msft_le_monitor_advertisement_cb() argument 358 u8 status, u16 opcode, in msft_le_cancel_monitor_advertisement_cb() argument 415 u8 status, u16 opcode, in msft_le_set_advertisement_filter_enable_cb() argument
|
/net/nfc/nci/ |
D | core.c | 343 __u16 opcode; member 352 nci_send_cmd(ndev, param->opcode, param->len, param->payload); in nci_generic_req() 359 param.opcode = nci_opcode_pack(NCI_GID_PROPRIETARY, oid); in nci_prop_cmd() 368 int nci_core_cmd(struct nci_dev *ndev, __u16 opcode, size_t len, in nci_core_cmd() argument 373 param.opcode = opcode; in nci_core_cmd() 1364 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, const void *payload) in nci_send_cmd() argument 1369 pr_debug("opcode 0x%x, plen %d\n", opcode, plen); in nci_send_cmd() 1378 hdr->gid = nci_opcode_gid(opcode); in nci_send_cmd() 1379 hdr->oid = nci_opcode_oid(opcode); in nci_send_cmd() 1398 __u16 opcode) in ops_cmd_lookup() argument [all …]
|
/net/rds/ |
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()
|
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/ |
D | osd_client.c | 637 static bool osd_req_opcode_valid(u16 opcode) in osd_req_opcode_valid() argument 639 switch (opcode) { in osd_req_opcode_valid() 640 #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return true; in osd_req_opcode_valid() argument 714 u16 opcode, u32 flags) in osd_req_op_init() argument 719 BUG_ON(!osd_req_opcode_valid(opcode)); in osd_req_op_init() 723 op->op = opcode; in osd_req_op_init() 731 unsigned int which, u16 opcode, in osd_req_op_extent_init() argument 736 opcode, 0); in osd_req_op_extent_init() 739 BUG_ON(opcode != CEPH_OSD_OP_READ && opcode != CEPH_OSD_OP_WRITE && in osd_req_op_extent_init() 740 opcode != CEPH_OSD_OP_WRITEFULL && opcode != CEPH_OSD_OP_ZERO && in osd_req_op_extent_init() [all …]
|
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/smc/ |
D | smc_wr.c | 89 if (wc->opcode == IB_WC_REG_MR) { in smc_wr_tx_process_cqe() 508 lnk->wr_tx_ibs[i].opcode = IB_WR_SEND; in smc_wr_init_sge() 511 lnk->wr_tx_rdmas[i].wr_tx_rdma[0].wr.opcode = IB_WR_RDMA_WRITE; in smc_wr_init_sge() 512 lnk->wr_tx_rdmas[i].wr_tx_rdma[1].wr.opcode = IB_WR_RDMA_WRITE; in smc_wr_init_sge() 530 lnk->wr_reg.wr.opcode = IB_WR_REG_MR; in smc_wr_init_sge()
|
/net/netfilter/ |
D | nf_conntrack_proto_tcp.c | 348 int opcode=*ptr++; in tcp_options() local 351 switch (opcode) { in tcp_options() 366 if (opcode == TCPOPT_SACK_PERM in tcp_options() 369 else if (opcode == TCPOPT_WINDOW in tcp_options() 410 int opcode = *ptr++; in tcp_sack() local 413 switch (opcode) { in tcp_sack() 428 if (opcode == TCPOPT_SACK in tcp_sack()
|
D | nf_conntrack_tftp.c | 57 switch (ntohs(tfh->opcode)) { in tftp_help()
|
/net/sunrpc/xprtrdma/ |
D | frwr_ops.c | 408 mr->mr_regwr.wr.opcode = IB_WR_REG_MR; in frwr_send() 528 last->opcode = IB_WR_LOCAL_INV; in frwr_unmap_sync() 630 last->opcode = IB_WR_LOCAL_INV; in frwr_unmap_async()
|
D | svc_rdma_sendto.c | 824 sctxt->sc_send_wr.opcode = IB_WR_SEND_WITH_INV; in svc_rdma_send_reply_msg() 827 sctxt->sc_send_wr.opcode = IB_WR_SEND; in svc_rdma_send_reply_msg() 898 sctxt->sc_send_wr.opcode = IB_WR_SEND; in svc_rdma_send_error_msg()
|
D | svc_rdma_backchannel.c | 95 sctxt->sc_send_wr.opcode = IB_WR_SEND; in svc_rdma_bc_sendto()
|
/net/can/ |
D | bcm.c | 412 msg_head.opcode = TX_EXPIRED; in bcm_tx_timeout_handler() 450 head.opcode = RX_CHANGED; in bcm_rx_changed() 572 msg_head.opcode = RX_TIMEOUT; in bcm_rx_timeout_handler() 1347 switch (msg_head.opcode) { in bcm_sendmsg() 1373 msg_head.opcode = TX_STATUS; in bcm_sendmsg() 1379 msg_head.opcode = RX_STATUS; in bcm_sendmsg()
|
/net/bridge/netfilter/ |
D | ebt_arp.c | 30 NF_INVF(info, EBT_ARP_OPCODE, info->opcode != ah->ar_op)) in ebt_arp_mt()
|
/net/sched/ |
D | sch_cake.c | 961 int opcode = *ptr++; in cake_get_tcpopt() local 964 if (opcode == TCPOPT_EOL) in cake_get_tcpopt() 966 if (opcode == TCPOPT_NOP) { in cake_get_tcpopt() 976 if (opcode == code) { in cake_get_tcpopt() 1100 int opcode = *ptr++; in cake_tcph_may_drop() local 1103 if (opcode == TCPOPT_EOL) in cake_tcph_may_drop() 1105 if (opcode == TCPOPT_NOP) { in cake_tcph_may_drop() 1115 switch (opcode) { in cake_tcph_may_drop()
|
/net/bridge/ |
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()
|