/net/bluetooth/ |
D | hci_sock.c | 114 if (!flt->opcode) in is_filtered_packet() 118 flt->opcode != get_unaligned((__le16 *)(skb->data + 3))) in is_filtered_packet() 122 flt->opcode != get_unaligned((__le16 *)(skb->data + 4))) in is_filtered_packet() 224 __le16 opcode; in hci_send_to_monitor() local 233 opcode = cpu_to_le16(HCI_MON_COMMAND_PKT); in hci_send_to_monitor() 236 opcode = cpu_to_le16(HCI_MON_EVENT_PKT); in hci_send_to_monitor() 240 opcode = cpu_to_le16(HCI_MON_ACL_RX_PKT); in hci_send_to_monitor() 242 opcode = cpu_to_le16(HCI_MON_ACL_TX_PKT); in hci_send_to_monitor() 246 opcode = cpu_to_le16(HCI_MON_SCO_RX_PKT); in hci_send_to_monitor() 248 opcode = cpu_to_le16(HCI_MON_SCO_TX_PKT); in hci_send_to_monitor() [all …]
|
D | mgmt.c | 134 u16 opcode; member 225 hdr->opcode = cpu_to_le16(event); in mgmt_event() 259 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_STATUS); in cmd_status() 265 ev->opcode = cpu_to_le16(cmd); in cmd_status() 290 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_COMPLETE); in cmd_complete() 295 ev->opcode = cpu_to_le16(cmd); in cmd_complete() 328 __le16 *opcode; in read_commands() local 343 for (i = 0, opcode = rp->opcodes; i < num_commands; i++, opcode++) in read_commands() 344 put_unaligned_le16(mgmt_commands[i], opcode); in read_commands() 346 for (i = 0; i < num_events; i++, opcode++) in read_commands() [all …]
|
D | hci_core.c | 1080 static struct sk_buff *hci_get_cmd_complete(struct hci_dev *hdev, u16 opcode, in hci_get_cmd_complete() argument 1124 if (opcode == __le16_to_cpu(ev->opcode)) in hci_get_cmd_complete() 1127 BT_DBG("opcode doesn't match (0x%2.2x != 0x%2.2x)", opcode, in hci_get_cmd_complete() 1128 __le16_to_cpu(ev->opcode)); in hci_get_cmd_complete() 1135 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev() argument 1146 hci_req_add_ev(&req, opcode, plen, param, event); in __hci_cmd_sync_ev() 1185 return hci_get_cmd_complete(hdev, opcode, event); in __hci_cmd_sync_ev() 1189 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync() argument 1192 return __hci_cmd_sync_ev(hdev, opcode, plen, param, 0, timeout); in __hci_cmd_sync() 3428 u16 opcode = __le16_to_cpu(sent->opcode); in hci_cmd_timeout() local [all …]
|
D | hci_event.c | 2567 __u16 opcode; in hci_cmd_complete_evt() local 2571 opcode = __le16_to_cpu(ev->opcode); in hci_cmd_complete_evt() 2573 switch (opcode) { in hci_cmd_complete_evt() 2827 BT_DBG("%s opcode 0x%4.4x", hdev->name, opcode); in hci_cmd_complete_evt() 2831 if (opcode != HCI_OP_NOP) in hci_cmd_complete_evt() 2834 hci_req_cmd_complete(hdev, opcode, status); in hci_cmd_complete_evt() 2846 __u16 opcode; in hci_cmd_status_evt() local 2850 opcode = __le16_to_cpu(ev->opcode); in hci_cmd_status_evt() 2852 switch (opcode) { in hci_cmd_status_evt() 2918 BT_DBG("%s opcode 0x%4.4x", hdev->name, opcode); in hci_cmd_status_evt() [all …]
|
/net/rds/ |
D | iw_send.c | 144 send->s_wr.opcode = IB_WR_SEND; in rds_iw_send_init_ring() 181 if (send->s_wr.opcode == 0xdead) in rds_iw_send_clear_ring() 220 printk(KERN_ERR "WC Error: status = %d opcode = %d\n", wc.status, wc.opcode); in rds_iw_send_cq_comp_handler() 224 if (wc.opcode == IB_WC_LOCAL_INV && wc.wr_id == RDS_IW_LOCAL_INV_WR_ID) { in rds_iw_send_cq_comp_handler() 229 if (wc.opcode == IB_WC_FAST_REG_MR && wc.wr_id == RDS_IW_FAST_REG_WR_ID) { in rds_iw_send_cq_comp_handler() 249 switch (send->s_wr.opcode) { in rds_iw_send_cq_comp_handler() 264 __func__, send->s_wr.opcode); in rds_iw_send_cq_comp_handler() 268 send->s_wr.opcode = 0xdead; in rds_iw_send_cq_comp_handler() 458 send->s_wr.opcode = IB_WR_SEND; in rds_iw_xmit_populate_wr() 776 send->s_wr.opcode = IB_WR_FAST_REG_MR; in rds_iw_build_send_fastreg() [all …]
|
D | ib_send.c | 194 switch (send->s_wr.opcode) { in rds_ib_send_unmap_op() 218 __func__, send->s_wr.opcode); in rds_ib_send_unmap_op() 222 send->s_wr.opcode = 0xdead; in rds_ib_send_unmap_op() 256 if (send->s_op && send->s_wr.opcode != 0xdead) in rds_ib_send_clear_ring() 673 send->s_wr.opcode = IB_WR_SEND; in rds_ib_xmit() 817 send->s_wr.opcode = IB_WR_MASKED_ATOMIC_CMP_AND_SWP; in rds_ib_xmit_atomic() 823 send->s_wr.opcode = IB_WR_MASKED_ATOMIC_FETCH_AND_ADD; in rds_ib_xmit_atomic() 943 send->s_wr.opcode = op->op_write ? IB_WR_RDMA_WRITE : IB_WR_RDMA_READ; in rds_ib_xmit_rdma()
|
D | iw_rdma.c | 712 f_wr.opcode = IB_WR_FAST_REG_MR; 743 s_wr.opcode = IB_WR_LOCAL_INV;
|
D | iw_recv.c | 373 wr->opcode = IB_WR_SEND; in rds_iw_recv_init_ack()
|
/net/irda/ |
D | iriap.c | 842 __u8 opcode; in iriap_data_indication() local 860 opcode = frame[0]; in iriap_data_indication() 861 if (~opcode & IAP_LST) { in iriap_data_indication() 869 if (opcode & IAP_ACK) { in iriap_data_indication() 874 opcode &= ~IAP_LST; /* Mask away LST bit */ in iriap_data_indication() 876 switch (opcode) { in iriap_data_indication() 917 opcode); in iriap_data_indication() 936 __u8 opcode; in iriap_call_indication() local 946 opcode = fp[0]; in iriap_call_indication() 947 if (~opcode & 0x80) { in iriap_call_indication() [all …]
|
D | irlmp_frame.c | 59 __u8 opcode, struct sk_buff *skb) in irlmp_send_lcf_pdu() argument 74 frame[2] = opcode; in irlmp_send_lcf_pdu() 76 if (opcode == DISCONNECT) in irlmp_send_lcf_pdu()
|
/net/ceph/ |
D | osd_client.c | 431 static bool osd_req_opcode_valid(u16 opcode) in osd_req_opcode_valid() argument 433 switch (opcode) { in osd_req_opcode_valid() 434 #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return true; in osd_req_opcode_valid() argument 449 u16 opcode) in _osd_req_op_init() argument 454 BUG_ON(!osd_req_opcode_valid(opcode)); in _osd_req_op_init() 458 op->op = opcode; in _osd_req_op_init() 464 unsigned int which, u16 opcode) in osd_req_op_init() argument 466 (void)_osd_req_op_init(osd_req, which, opcode); in osd_req_op_init() 471 unsigned int which, u16 opcode, in osd_req_op_extent_init() argument 475 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, opcode); in osd_req_op_extent_init() [all …]
|
D | debugfs.c | 152 int opcode; in osdc_show() local 171 opcode = req->r_ops[i].op; in osdc_show() 173 ceph_osd_op_name(opcode)); in osdc_show()
|
D | ceph_strings.c | 22 #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return (str); in ceph_osd_op_name() argument
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma_recvfrom.c | 204 read_wr.opcode = IB_WR_RDMA_READ; in rdma_read_chunk_lcl() 205 ctxt->wr_op = read_wr.opcode; in rdma_read_chunk_lcl() 313 fastreg_wr.opcode = IB_WR_FAST_REG_MR; in rdma_read_chunk_frmr() 332 read_wr.opcode = IB_WR_RDMA_READ_WITH_INV; in rdma_read_chunk_frmr() 336 read_wr.opcode = IB_WR_RDMA_READ; in rdma_read_chunk_frmr() 341 inv_wr.opcode = IB_WR_LOCAL_INV; in rdma_read_chunk_frmr() 345 ctxt->wr_op = read_wr.opcode; in rdma_read_chunk_frmr()
|
D | verbs.c | 142 __func__, frmr, wc->status, wc->opcode); in rpcrdma_sendcq_process_wc() 212 __func__, rep, wc->status, wc->opcode, wc->byte_len); in rpcrdma_recvcq_process_wc() 218 if (wc->opcode != IB_WC_RECV) in rpcrdma_recvcq_process_wc() 498 __func__, count, wc.opcode); in rpcrdma_clean_cq() 1393 invalidate_wr.opcode = IB_WR_LOCAL_INV; in rpcrdma_retry_local_inv() 1747 fastreg_wr.opcode = IB_WR_FAST_REG_MR; in rpcrdma_register_frmr_external() 1801 invalidate_wr.opcode = IB_WR_LOCAL_INV; in rpcrdma_deregister_frmr_external() 1973 send_wr.opcode = IB_WR_SEND; in rpcrdma_ep_post()
|
D | svc_rdma_sendto.c | 205 write_wr.opcode = IB_WR_RDMA_WRITE; in send_write() 460 send_wr.opcode = IB_WR_SEND; in send_reply()
|
D | svc_rdma_transport.c | 1235 fastreg_wr.opcode = IB_WR_FAST_REG_MR; in svc_rdma_fastreg() 1344 err_wr.opcode = IB_WR_SEND; in svc_rdma_send_error()
|
/net/netfilter/ |
D | nf_synproxy_core.c | 40 int opcode = *ptr++; in synproxy_parse_options() local 43 switch (opcode) { in synproxy_parse_options() 56 switch (opcode) { in synproxy_parse_options()
|
D | nf_conntrack_proto_tcp.c | 403 int opcode=*ptr++; in tcp_options() local 406 switch (opcode) { in tcp_options() 419 if (opcode == TCPOPT_SACK_PERM in tcp_options() 422 else if (opcode == TCPOPT_WINDOW in tcp_options() 463 int opcode = *ptr++; in tcp_sack() local 466 switch (opcode) { in tcp_sack() 479 if (opcode == TCPOPT_SACK in tcp_sack()
|
D | nf_conntrack_tftp.c | 55 switch (ntohs(tfh->opcode)) { in tftp_help()
|
/net/can/ |
D | bcm.c | 372 msg_head.opcode = TX_EXPIRED; in bcm_tx_timeout_tsklet() 419 head.opcode = RX_CHANGED; in bcm_rx_changed() 530 msg_head.opcode = RX_TIMEOUT; in bcm_rx_timeout_tsklet() 1294 switch (msg_head.opcode) { in bcm_sendmsg() 1320 msg_head.opcode = TX_STATUS; in bcm_sendmsg() 1326 msg_head.opcode = RX_STATUS; in bcm_sendmsg()
|
/net/nfc/nci/ |
D | core.c | 877 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, void *payload) in nci_send_cmd() argument 882 pr_debug("opcode 0x%x, plen %d\n", opcode, plen); in nci_send_cmd() 891 hdr->gid = nci_opcode_gid(opcode); in nci_send_cmd() 892 hdr->oid = nci_opcode_oid(opcode); in nci_send_cmd()
|
/net/bridge/netfilter/ |
D | ebt_arp.c | 28 if (info->bitmask & EBT_ARP_OPCODE && FWINV(info->opcode != in ebt_arp_mt()
|
/net/9p/ |
D | trans_rdma.c | 359 c->wc_op, wc.opcode, wc.status); in cq_comp_handler() 505 wr.opcode = IB_WR_SEND; in rdma_request()
|
/net/ipv4/ |
D | tcp_input.c | 3585 int opcode = *ptr++; in tcp_parse_options() local 3588 switch (opcode) { in tcp_parse_options() 3600 switch (opcode) { in tcp_parse_options() 3741 int opcode = *ptr++; in tcp_parse_md5sig_option() local 3744 switch (opcode) { in tcp_parse_md5sig_option() 3754 if (opcode == TCPOPT_MD5SIG) in tcp_parse_md5sig_option()
|