Searched defs:opcode (Results 1 - 12 of 12) sorted by relevance

/net/ceph/
H A Ddebugfs.c152 int opcode; local
171 opcode = req->r_ops[i].op;
173 ceph_osd_op_name(opcode));
H A Dosd_client.c431 static bool osd_req_opcode_valid(u16 opcode) argument
433 switch (opcode) {
434 #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return true;
449 u16 opcode)
454 BUG_ON(!osd_req_opcode_valid(opcode));
458 op->op = opcode;
464 unsigned int which, u16 opcode)
466 (void)_osd_req_op_init(osd_req, which, opcode);
471 unsigned int which, u16 opcode,
475 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, opcode);
448 _osd_req_op_init(struct ceph_osd_request *osd_req, unsigned int which, u16 opcode) argument
463 osd_req_op_init(struct ceph_osd_request *osd_req, unsigned int which, u16 opcode) argument
470 osd_req_op_extent_init(struct ceph_osd_request *osd_req, unsigned int which, u16 opcode, u64 offset, u64 length, u64 truncate_size, u32 truncate_seq) argument
512 osd_req_op_cls_init(struct ceph_osd_request *osd_req, unsigned int which, u16 opcode, const char *class, const char *method) argument
548 osd_req_op_watch_init(struct ceph_osd_request *osd_req, unsigned int which, u16 opcode, u64 cookie, u64 version, int flag) argument
705 ceph_osdc_new_request(struct ceph_osd_client *osdc, struct ceph_file_layout *layout, struct ceph_vino vino, u64 off, u64 *plen, int num_ops, int opcode, int flags, struct ceph_snap_context *snapc, u32 truncate_seq, u64 truncate_size, bool use_mempool) argument
2261 u8 opcode = event_work->opcode; local
2280 u8 opcode; local
[all...]
/net/irda/
H A Dirlmp_frame.c54 * Function irlmp_send_lcf_pdu (dlsap, slsap, opcode,skb)
59 __u8 opcode, struct sk_buff *skb)
74 frame[2] = opcode;
76 if (opcode == DISCONNECT)
58 irlmp_send_lcf_pdu(struct lap_cb *self, __u8 dlsap, __u8 slsap, __u8 opcode, struct sk_buff *skb) argument
H A Diriap.c842 __u8 opcode; local
860 opcode = frame[0];
861 if (~opcode & IAP_LST) {
869 if (opcode & IAP_ACK) {
874 opcode &= ~IAP_LST; /* Mask away LST bit */
876 switch (opcode) {
917 opcode);
936 __u8 opcode; local
946 opcode = fp[0];
947 if (~opcode
[all...]
/net/netfilter/
H A Dnf_synproxy_core.c40 int opcode = *ptr++; local
43 switch (opcode) {
56 switch (opcode) {
H A Dnf_conntrack_proto_tcp.c403 int opcode=*ptr++; local
406 switch (opcode) {
419 if (opcode == TCPOPT_SACK_PERM
422 else if (opcode == TCPOPT_WINDOW
463 int opcode = *ptr++; local
466 switch (opcode) {
479 if (opcode == TCPOPT_SACK
/net/bluetooth/
H A Dhci_sock.c113 /* Check filter only when opcode is set */
114 if (!flt->opcode)
118 flt->opcode != get_unaligned((__le16 *)(skb->data + 3)))
122 flt->opcode != get_unaligned((__le16 *)(skb->data + 4)))
224 __le16 opcode; local
233 opcode = cpu_to_le16(HCI_MON_COMMAND_PKT);
236 opcode = cpu_to_le16(HCI_MON_EVENT_PKT);
240 opcode = cpu_to_le16(HCI_MON_ACL_RX_PKT);
242 opcode = cpu_to_le16(HCI_MON_ACL_TX_PKT);
246 opcode
327 __le16 opcode; local
974 u16 opcode = get_unaligned_le16(skb->data); local
[all...]
H A Dhci_event.c2557 __u16 opcode; local
2561 opcode = __le16_to_cpu(ev->opcode);
2563 switch (opcode) {
2817 BT_DBG("%s opcode 0x%4.4x", hdev->name, opcode);
2821 if (opcode != HCI_OP_NOP)
2824 hci_req_cmd_complete(hdev, opcode, status);
2836 __u16 opcode; local
2840 opcode
4684 u16 opcode = __le16_to_cpu(cmd_hdr->opcode); local
[all...]
H A Dhci_core.c1080 static struct sk_buff *hci_get_cmd_complete(struct hci_dev *hdev, u16 opcode, argument
1124 if (opcode == __le16_to_cpu(ev->opcode))
1127 BT_DBG("opcode doesn't match (0x%2.2x != 0x%2.2x)", opcode,
1128 __le16_to_cpu(ev->opcode));
1135 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, argument
1146 hci_req_add_ev(&req, opcode, plen, param, event);
1185 return hci_get_cmd_complete(hdev, opcode, event);
1189 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u3 argument
3428 u16 opcode = __le16_to_cpu(sent->opcode); local
4509 hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, const void *param) argument
4536 hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, const void *param) argument
4561 hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, const void *param, u8 event) argument
4591 hci_req_add(struct hci_request *req, u16 opcode, u32 plen, const void *param) argument
4598 hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode) argument
5270 u16 opcode; local
5288 hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status) argument
[all...]
H A Dmgmt.c134 u16 opcode; member in struct:pending_cmd
225 hdr->opcode = cpu_to_le16(event);
259 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_STATUS);
265 ev->opcode = cpu_to_le16(cmd);
290 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_COMPLETE);
295 ev->opcode = cpu_to_le16(cmd);
328 __le16 *opcode; local
343 for (i = 0, opcode = rp->opcodes; i < num_commands; i++, opcode++)
344 put_unaligned_le16(mgmt_commands[i], opcode);
512 send_options_rsp(struct sock *sk, u16 opcode, struct hci_dev *hdev) argument
746 mgmt_pending_find(u16 opcode, struct hci_dev *hdev) argument
758 mgmt_pending_find_data(u16 opcode, struct hci_dev *hdev, const void *data) argument
1192 mgmt_pending_add(struct sock *sk, u16 opcode, struct hci_dev *hdev, void *data, u16 len) argument
1222 mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, void (*cb)(struct pending_cmd *cmd, void *data), void *data) argument
1243 send_settings_rsp(struct sock *sk, u16 opcode, struct hci_dev *hdev) argument
5690 u16 opcode, index, len; local
6420 user_pairing_resp_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status, u8 opcode) argument
[all...]
/net/nfc/nci/
H A Dcore.c877 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, void *payload) argument
882 pr_debug("opcode 0x%x, plen %d\n", opcode, plen);
891 hdr->gid = nci_opcode_gid(opcode);
892 hdr->oid = nci_opcode_oid(opcode);
/net/ipv4/
H A Dtcp_input.c3579 int opcode = *ptr++; local
3582 switch (opcode) {
3594 switch (opcode) {
3735 int opcode = *ptr++; local
3738 switch (opcode) {
3748 if (opcode == TCPOPT_MD5SIG)

Completed in 794 milliseconds