Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 235) sorted by relevance

12345678910

/net/ncsi/
A Dncsi-cmd.c68 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_default()
79 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_sp()
91 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_dc()
103 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_rc()
114 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_ae()
127 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_sl()
140 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_svf()
154 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_ev()
167 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_sma()
182 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_ebf()
[all …]
A Dncsi-rsp.c297 cmd = (struct ncsi_cmd_ae_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_ae()
320 cmd = (struct ncsi_cmd_sl_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_sl()
376 cmd = (struct ncsi_cmd_svf_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_svf()
378 if (cmd->index == 0 || cmd->index > ncf->n_vids) in ncsi_rsp_handler_svf()
389 ncf->vids[cmd->index - 1] = ntohs(cmd->vlan); in ncsi_rsp_handler_svf()
417 cmd = (struct ncsi_cmd_ev_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_ev()
471 cmd = (struct ncsi_cmd_sma_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_sma()
476 if (cmd->index == 0 || in ncsi_rsp_handler_sma()
514 cmd = (struct ncsi_cmd_ebf_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_ebf()
567 cmd = (struct ncsi_cmd_egmf_pkt *)skb_network_header(nr->cmd); in ncsi_rsp_handler_egmf()
[all …]
A Dncsi-pkt.h38 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
51 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
60 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
69 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
77 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
87 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
96 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
108 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
127 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
135 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
[all …]
/net/bluetooth/
A Dmgmt_util.c230 return cmd; in mgmt_pending_find()
254 cb(cmd, data); in mgmt_pending_foreach()
269 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mgmt_pending_new()
270 if (!cmd) in mgmt_pending_new()
274 cmd->hdev = hdev; in mgmt_pending_new()
278 kfree(cmd); in mgmt_pending_new()
284 cmd->sk = sk; in mgmt_pending_new()
287 return cmd; in mgmt_pending_new()
297 if (!cmd) in mgmt_pending_add()
304 return cmd; in mgmt_pending_add()
[all …]
A Dmgmt.c2654 mgmt_cmd_complete(cmd->sk, cmd->hdev->id, cmd->opcode, in mgmt_class_complete()
3636 cmd->cmd_complete(cmd, 0); in pair_device()
5203 mgmt_cmd_complete(cmd->sk, cmd->hdev->id, cmd->opcode, in mgmt_add_adv_patterns_monitor_complete()
5418 mgmt_cmd_complete(cmd->sk, cmd->hdev->id, cmd->opcode, in mgmt_remove_adv_monitor_complete()
8589 mgmt_cmd_status(cmd->sk, cmd->hdev->id, cmd->opcode, in add_advertising_complete()
8592 mgmt_cmd_complete(cmd->sk, cmd->hdev->id, cmd->opcode, in add_advertising_complete()
8780 mgmt_cmd_status(cmd->sk, cmd->hdev->id, cmd->opcode, in add_ext_adv_params_complete()
8783 mgmt_cmd_complete(cmd->sk, cmd->hdev->id, cmd->opcode, in add_ext_adv_params_complete()
8930 mgmt_cmd_status(cmd->sk, cmd->hdev->id, cmd->opcode, in add_ext_adv_data_complete()
8933 mgmt_cmd_complete(cmd->sk, cmd->hdev->id, cmd->opcode, in add_ext_adv_data_complete()
[all …]
/net/smc/
A Dsmc_netlink.c38 .cmd = SMC_NETLINK_GET_SYS_INFO,
43 .cmd = SMC_NETLINK_GET_LGR_SMCR,
53 .cmd = SMC_NETLINK_GET_LGR_SMCD,
58 .cmd = SMC_NETLINK_GET_DEV_SMCD,
63 .cmd = SMC_NETLINK_GET_DEV_SMCR,
68 .cmd = SMC_NETLINK_GET_STATS,
78 .cmd = SMC_NETLINK_DUMP_UEID,
83 .cmd = SMC_NETLINK_ADD_UEID,
89 .cmd = SMC_NETLINK_REMOVE_UEID,
95 .cmd = SMC_NETLINK_FLUSH_UEID,
[all …]
/net/nfc/
A Ddigital_core.c121 if (!cmd) { in digital_wq_cmd_complete()
132 cmd->resp->data, cmd->resp->len, false); in digital_wq_cmd_complete()
134 cmd->cmd_cb(ddev, cmd->cb_context, cmd->resp); in digital_wq_cmd_complete()
137 kfree(cmd); in digital_wq_cmd_complete()
165 if (!cmd || cmd->pending) { in digital_wq_cmd()
174 if (cmd->req) in digital_wq_cmd()
176 cmd->req->data, cmd->req->len, false); in digital_wq_cmd()
180 rc = ddev->ops->in_send_cmd(ddev, cmd->req, cmd->timeout, in digital_wq_cmd()
222 kfree(cmd); in digital_wq_cmd()
234 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in digital_send_cmd()
[all …]
/net/ethtool/
A Dnetlink.c332 cmd); in ethnl_bcastmsg_put()
499 const u8 cmd = info->genlhdr->cmd; in ethnl_default_doit() local
879 const u8 cmd = info->genlhdr->cmd; in ethnl_default_set_doit() local
1083 ethnl_notify_handlers[cmd](dev, cmd, req_info); in ethnl_notify()
1086 cmd, netdev_name(dev)); in ethnl_notify()
1200 .cmd = ETHTOOL_MSG_WOL_GET,
1210 .cmd = ETHTOOL_MSG_WOL_SET,
1313 .cmd = ETHTOOL_MSG_EEE_GET,
1322 .cmd = ETHTOOL_MSG_EEE_SET,
1469 .cmd = ETHTOOL_MSG_MM_GET,
[all …]
/net/wireless/
A Dwext-core.c453 unsigned int cmd, in wireless_send_event() argument
506 cmd); in wireless_send_event()
579 event->cmd = cmd; in wireless_send_event()
616 compat_event->cmd = cmd; in wireless_send_event()
751 switch (cmd) { in ioctl_standard_iw_point()
781 if (IW_IS_SET(cmd)) { in ioctl_standard_iw_point()
993 if ((IW_IS_SET(cmd) || cmd == SIOCGIWENCODE || in wext_permission_check()
1066 struct iw_request_info info = { .cmd = cmd, .flags = 0 }; in wext_handle_ioctl()
1079 IW_IS_GET(cmd) && in wext_handle_ioctl()
1089 unsigned int cmd, in compat_standard_call() argument
[all …]
A Dwext-priv.c101 if (cmd == dev->wireless_handlers->private_args[i].cmd) { in get_priv_descr_and_size()
109 if (IW_IS_SET(cmd)) { in get_priv_descr_and_size()
146 if (IW_IS_SET(cmd)) { in ioctl_private_iw_point()
160 if (IW_IS_SET(cmd) && (iwp->length != 0)) { in ioctl_private_iw_point()
171 if (!err && IW_IS_GET(cmd)) { in ioctl_private_iw_point()
188 unsigned int cmd, struct iw_request_info *info, in ioctl_private_call() argument
194 extra_size = get_priv_descr_and_size(dev, cmd, &descr); in ioctl_private_call()
201 ret = ioctl_private_iw_point(&iwr->u.data, cmd, descr, in ioctl_private_call()
214 unsigned int cmd, struct iw_request_info *info, in compat_private_call() argument
220 extra_size = get_priv_descr_and_size(dev, cmd, &descr); in compat_private_call()
[all …]
/net/nfc/nci/
A Dcore.c254 cmd.disc_configs[cmd.num_disc_configs].rf_tech_and_mode = in nci_rf_discover_req()
256 cmd.disc_configs[cmd.num_disc_configs].frequency = 1; in nci_rf_discover_req()
264 cmd.disc_configs[cmd.num_disc_configs].frequency = 1; in nci_rf_discover_req()
273 cmd.disc_configs[cmd.num_disc_configs].frequency = 1; in nci_rf_discover_req()
281 cmd.disc_configs[cmd.num_disc_configs].frequency = 1; in nci_rf_discover_req()
289 cmd.disc_configs[cmd.num_disc_configs].frequency = 1; in nci_rf_discover_req()
293 cmd.disc_configs[cmd.num_disc_configs].frequency = 1; in nci_rf_discover_req()
299 &cmd); in nci_rf_discover_req()
715 if (!cmd) in nci_core_conn_create()
721 data.cmd = cmd; in nci_core_conn_create()
[all …]
/net/devlink/
A Dnetlink_gen.c607 .cmd = DEVLINK_CMD_GET,
617 .cmd = DEVLINK_CMD_GET,
623 .cmd = DEVLINK_CMD_PORT_GET,
633 .cmd = DEVLINK_CMD_PORT_GET,
640 .cmd = DEVLINK_CMD_PORT_SET,
650 .cmd = DEVLINK_CMD_PORT_NEW,
660 .cmd = DEVLINK_CMD_PORT_DEL,
690 .cmd = DEVLINK_CMD_SB_GET,
700 .cmd = DEVLINK_CMD_SB_GET,
888 .cmd = DEVLINK_CMD_RELOAD,
[all …]
/net/tipc/
A Dnetlink.c179 .cmd = TIPC_NL_SOCK_GET,
186 .cmd = TIPC_NL_PUBL_GET,
192 .cmd = TIPC_NL_LINK_GET,
198 .cmd = TIPC_NL_LINK_SET,
208 .cmd = TIPC_NL_MEDIA_GET,
219 .cmd = TIPC_NL_NODE_GET,
224 .cmd = TIPC_NL_NET_GET,
229 .cmd = TIPC_NL_NET_SET,
239 .cmd = TIPC_NL_MON_SET,
244 .cmd = TIPC_NL_MON_GET,
[all …]
/net/ipv4/
A Dtcp_ao.c1395 memcpy(key->key, cmd->key, cmd->keylen); in tcp_ao_parse_crypto()
1406 memcpy(tmp_key, cmd->key, cmd->keylen); in tcp_ao_parse_crypto()
1559 cmd->alg_name[ARRAY_SIZE(cmd->alg_name) - 1] = '\0'; in tcp_ao_key_alloc()
1616 if (cmd.reserved != 0 || cmd.reserved2 != 0) in tcp_ao_add_cmd()
1629 if (cmd.set_current || cmd.set_rnext) { in tcp_ao_add_cmd()
1638 if (cmd.keyflags & TCP_AO_KEYF_IFINDEX && cmd.ifindex) { in tcp_ao_add_cmd()
1702 cmd.prefix, cmd.sndid, -1)) in tcp_ao_add_cmd()
1830 if (cmd.reserved != 0 || cmd.reserved2 != 0) in tcp_ao_del_cmd()
1833 if (cmd.set_current || cmd.set_rnext) { in tcp_ao_del_cmd()
1974 if (cmd.set_current || cmd.set_rnext) { in tcp_ao_info_cmd()
[all …]
/net/netfilter/
A Dnf_conntrack_ftp.c291 struct nf_conntrack_man *cmd, in find_pattern() argument
385 struct nf_conntrack_man cmd = {}; in help() local
441 cmd.l3num = nf_ct_l3num(ct); in help()
443 sizeof(cmd.u3.all)); in help()
452 &cmd, in help()
487 if ((cmd.l3num == nf_ct_l3num(ct)) && in help()
489 sizeof(cmd.u3.all))) { in help()
494 if (cmd.l3num == PF_INET) { in help()
496 &cmd.u3.ip, in help()
500 cmd.u3.ip6, in help()
[all …]
A Dnf_tables_offload.c352 enum flow_block_command cmd) in nft_block_setup() argument
356 switch (cmd) { in nft_block_setup()
373 enum flow_block_command cmd, in nft_flow_block_offload_init() argument
380 bo->command = cmd; in nft_flow_block_offload_init()
389 enum flow_block_command cmd) in nft_block_offload_cmd() argument
401 return nft_block_setup(chain, &bo, cmd); in nft_block_offload_cmd()
425 enum flow_block_command cmd) in nft_indr_block_offload_cmd() argument
446 enum flow_block_command cmd) in nft_chain_offload_cmd() argument
460 enum flow_block_command cmd) in nft_flow_block_chain() argument
472 if (err < 0 && cmd == FLOW_BLOCK_BIND) { in nft_flow_block_chain()
[all …]
/net/nfc/hci/
A Dhcp.c28 struct hci_msg *cmd; in nfc_hci_hcp_message_tx() local
33 cmd = kzalloc(sizeof(struct hci_msg), GFP_KERNEL); in nfc_hci_hcp_message_tx()
34 if (cmd == NULL) in nfc_hci_hcp_message_tx()
37 INIT_LIST_HEAD(&cmd->msg_l); in nfc_hci_hcp_message_tx()
38 skb_queue_head_init(&cmd->msg_frags); in nfc_hci_hcp_message_tx()
40 cmd->cb = cb; in nfc_hci_hcp_message_tx()
41 cmd->cb_context = cb_context; in nfc_hci_hcp_message_tx()
42 cmd->completion_delay = completion_delay; in nfc_hci_hcp_message_tx()
88 skb_queue_tail(&cmd->msg_frags, skb); in nfc_hci_hcp_message_tx()
107 skb_queue_purge(&cmd->msg_frags); in nfc_hci_hcp_message_tx()
[all …]
/net/atm/
A Dioctl.c63 switch (cmd) { in do_vcc_ioctl()
159 error = ic->ioctl(sock, cmd, arg); in do_vcc_ioctl()
170 if (cmd == ATM_GETNAMES) { in do_vcc_ioctl()
220 return do_vcc_ioctl(sock, cmd, arg, 0); in vcc_ioctl()
254 unsigned int cmd; member
305 unsigned int cmd = 0; in do_atm_ioctl() local
321 cmd = atm_ioctl_map[i].cmd; in do_atm_ioctl()
328 switch (cmd) { in do_atm_ioctl()
330 return do_atm_iobuf(sock, cmd, arg); in do_atm_ioctl()
348 return do_atmif_sioc(sock, cmd, arg); in do_atm_ioctl()
[all …]
/net/core/
A Dnetdev-genl-gen.c112 .cmd = NETDEV_CMD_DEV_GET,
119 .cmd = NETDEV_CMD_DEV_GET,
132 .cmd = NETDEV_CMD_PAGE_POOL_GET,
152 .cmd = NETDEV_CMD_QUEUE_GET,
159 .cmd = NETDEV_CMD_QUEUE_GET,
166 .cmd = NETDEV_CMD_NAPI_GET,
173 .cmd = NETDEV_CMD_NAPI_GET,
180 .cmd = NETDEV_CMD_QSTATS_GET,
187 .cmd = NETDEV_CMD_BIND_RX,
194 .cmd = NETDEV_CMD_NAPI_SET,
[all …]
A Ddev_ioctl.c148 switch (cmd) { in dev_ifsioc_locked()
449 err = dev_eth_ioctl(dev, &ifrr, cmd); in generic_hwtstamp_ioctl_lower()
552 unsigned int cmd) in dev_ifsioc() argument
563 switch (cmd) { in dev_ifsioc()
652 return dev_siocbond(dev, ifr, cmd); in dev_ifsioc()
715 if (cmd == SIOCGIFNAME) in dev_ioctl()
728 switch (cmd) { in dev_ioctl()
844 if (cmd == SIOCWANDEV || in dev_ioctl()
845 cmd == SIOCGHWTSTAMP || in dev_ioctl()
846 (cmd >= SIOCDEVPRIVATE && in dev_ioctl()
[all …]
/net/sctp/
A Dsm_sideeffect.c1292 struct sctp_cmd *cmd; in sctp_cmd_interpreter() local
1308 switch (cmd->verb) { in sctp_cmd_interpreter()
1321 asoc = cmd->obj.asoc; in sctp_cmd_interpreter()
1366 force = cmd->obj.i32; in sctp_cmd_interpreter()
1403 if (cmd->obj.chunk) in sctp_cmd_interpreter()
1414 if (cmd->obj.chunk) in sctp_cmd_interpreter()
1645 cmd->obj.u32); in sctp_cmd_interpreter()
1764 cmd->obj.u8); in sctp_cmd_interpreter()
1796 asoc = cmd->obj.asoc; in sctp_cmd_interpreter()
1801 cmd->verb); in sctp_cmd_interpreter()
[all …]
/net/mptcp/
A Dmptcp_pm_gen.c93 .cmd = MPTCP_PM_CMD_ADD_ADDR,
101 .cmd = MPTCP_PM_CMD_DEL_ADDR,
109 .cmd = MPTCP_PM_CMD_GET_ADDR,
117 .cmd = MPTCP_PM_CMD_FLUSH_ADDRS,
125 .cmd = MPTCP_PM_CMD_SET_LIMITS,
133 .cmd = MPTCP_PM_CMD_GET_LIMITS,
140 .cmd = MPTCP_PM_CMD_SET_FLAGS,
148 .cmd = MPTCP_PM_CMD_ANNOUNCE,
156 .cmd = MPTCP_PM_CMD_REMOVE,
164 .cmd = MPTCP_PM_CMD_SUBFLOW_CREATE,
[all …]
/net/netlink/
A Dgenetlink.c152 u32 cmd; member
175 if (family->ops[i].cmd == cmd) { in genl_get_cmd_full()
189 op->cmd = family->small_ops[i].cmd; in genl_op_from_small()
206 if (family->small_ops[i].cmd == cmd) { in genl_get_cmd_small()
250 if (family->split_ops[i].cmd == cmd && in genl_get_cmd_split()
289 op->cmd = full->cmd; in genl_cmd_full_to_split()
381 iter->cmd = iter->doit.cmd | iter->dumpit.cmd; in genl_op_iter_next()
591 if (i.cmd == j.cmd) in genl_validate_ops()
611 if (a->cmd < b->cmd) { in genl_validate_ops()
613 } else if (a->cmd > b->cmd) { in genl_validate_ops()
[all …]
/net/bluetooth/bnep/
A Dsock.c53 static int do_bnep_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_bnep_sock_ioctl() argument
63 BT_DBG("cmd %x arg %p", cmd, argp); in do_bnep_sock_ioctl()
65 switch (cmd) { in do_bnep_sock_ioctl()
137 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_ioctl() argument
139 return do_bnep_sock_ioctl(sock, cmd, (void __user *)arg); in bnep_sock_ioctl()
143 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_compat_ioctl() argument
146 if (cmd == BNEPGETCONNLIST) { in bnep_sock_compat_ioctl()
168 return do_bnep_sock_ioctl(sock, cmd, argp); in bnep_sock_compat_ioctl()
/net/bluetooth/cmtp/
A Dsock.c66 static int do_cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_cmtp_sock_ioctl() argument
75 BT_DBG("cmd %x arg %p", cmd, argp); in do_cmtp_sock_ioctl()
77 switch (cmd) { in do_cmtp_sock_ioctl()
139 static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_ioctl() argument
141 return do_cmtp_sock_ioctl(sock, cmd, (void __user *)arg); in cmtp_sock_ioctl()
145 static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_compat_ioctl() argument
148 if (cmd == CMTPGETCONNLIST) { in cmtp_sock_compat_ioctl()
170 return do_cmtp_sock_ioctl(sock, cmd, argp); in cmtp_sock_compat_ioctl()

Completed in 102 milliseconds

12345678910