/net/tipc/ |
H A D | netlink.c | 48 u16 cmd; local 50 if ((req_userhdr->cmd & 0xC000) && (!netlink_capable(skb, CAP_NET_ADMIN))) 51 cmd = TIPC_CMD_NOT_NET_ADMIN; 53 cmd = req_userhdr->cmd; 55 rep_buf = tipc_cfg_do_cmd(req_userhdr->dest, cmd, 81 .cmd = TIPC_GENL_CMD,
|
H A D | config.h | 64 struct sk_buff *tipc_cfg_do_cmd(u32 orig_node, u16 cmd,
|
/net/nfc/ |
H A D | digital_core.c | 117 struct digital_cmd *cmd; local 124 cmd = list_first_entry_or_null(&ddev->cmd_queue, struct digital_cmd, 126 if (!cmd) { 131 list_del(&cmd->queue); 135 if (!IS_ERR(cmd->resp)) 137 cmd->resp->data, cmd->resp->len, false); 139 cmd->cmd_cb(ddev, cmd->cb_context, cmd 150 struct digital_cmd *cmd = arg; local 160 struct digital_cmd *cmd; local 235 struct digital_cmd *cmd; local 825 struct digital_cmd *cmd, *n; local [all...] |
H A D | digital_dep.c | 57 u8 cmd; member in struct:digital_atr_req 68 u8 cmd; member in struct:digital_atr_res 80 u8 cmd; member in struct:digital_psl_req 88 u8 cmd; member in struct:digital_psl_res 94 u8 cmd; member in struct:digital_dep_req_res 161 (psl_res->cmd != DIGITAL_CMD_PSL_RES)) { 211 psl_req->cmd = DIGITAL_CMD_PSL_REQ; 307 atr_req->cmd = DIGITAL_CMD_ATR_REQ; 350 dep_req->cmd = DIGITAL_CMD_DEP_REQ; 395 dep_res->cmd ! [all...] |
/net/nfc/hci/ |
H A D | hcp.c | 31 * counted from the moment the cmd is sent to the transport. 40 struct hci_msg *cmd; local 45 cmd = kzalloc(sizeof(struct hci_msg), GFP_KERNEL); 46 if (cmd == NULL) 49 INIT_LIST_HEAD(&cmd->msg_l); 50 skb_queue_head_init(&cmd->msg_frags); 51 cmd->wait_response = (type == NFC_HCI_HCP_COMMAND) ? true : false; 52 cmd->cb = cb; 53 cmd->cb_context = cb_context; 54 cmd [all...] |
H A D | command.c | 31 static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, argument 35 pr_debug("exec cmd async through pipe=%d, cmd=%d, plen=%zd\n", pipe, 36 cmd, param_len); 38 /* TODO: Define hci cmd execution delay. Should it be the same 41 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_COMMAND, cmd, 67 static int nfc_hci_execute_cmd(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, argument 77 pr_debug("exec cmd sync through pipe=%d, cmd=%d, plen=%zd\n", pipe, 78 cmd, param_le 141 nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, const u8 *param, size_t param_len, struct sk_buff **skb) argument 156 nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, const u8 *param, size_t param_len, data_exchange_cb_t cb, void *cb_context) argument [all...] |
/net/core/ |
H A D | dev_ioctl.c | 121 static int dev_ifsioc_locked(struct net *net, struct ifreq *ifr, unsigned int cmd) argument 129 switch (cmd) { 239 static int dev_ifsioc(struct net *net, struct ifreq *ifr, unsigned int cmd) argument 250 switch (cmd) { 316 if ((cmd >= SIOCDEVPRIVATE && 317 cmd <= SIOCDEVPRIVATE + 15) || 318 cmd == SIOCBONDENSLAVE || 319 cmd == SIOCBONDRELEASE || 320 cmd == SIOCBONDSETHWADDR || 321 cmd 390 dev_ioctl(struct net *net, unsigned int cmd, void __user *arg) argument [all...] |
H A D | ethtool.c | 105 struct ethtool_gfeatures cmd = { local 106 .cmd = ETHTOOL_GFEATURES, 132 if (copy_to_user(useraddr, &cmd, sizeof(cmd))) 134 useraddr += sizeof(cmd); 143 struct ethtool_sfeatures cmd; local 148 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) 150 useraddr += sizeof(cmd); 152 if (cmd 331 __ethtool_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) argument 347 struct ethtool_cmd cmd; local 360 struct ethtool_cmd cmd; local 473 ethtool_set_rxnfc(struct net_device *dev, u32 cmd, void __user *useraddr) argument 505 ethtool_get_rxnfc(struct net_device *dev, u32 cmd, void __user *useraddr) argument 1396 ethtool_get_value(struct net_device *dev, char __user *useraddr, u32 cmd, u32 (*actor)(struct net_device *)) argument [all...] |
/net/atm/ |
H A D | ioctl.c | 50 static int do_vcc_ioctl(struct socket *sock, unsigned int cmd, argument 60 switch (cmd) { 169 error = ic->ioctl(sock, cmd, arg); 180 error = atm_dev_ioctl(cmd, argp, compat); 186 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 188 return do_vcc_ioctl(sock, cmd, arg, 0); 222 unsigned int cmd; member in struct:__anon7 245 static int do_atm_iobuf(struct socket *sock, unsigned int cmd, argument 265 err = do_vcc_ioctl(sock, cmd, (unsigned long) iobuf, 0); 276 static int do_atmif_sioc(struct socket *sock, unsigned int cmd, argument 309 unsigned int cmd = 0; local 358 vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument [all...] |
H A D | resources.h | 16 int atm_dev_ioctl(unsigned int cmd, void __user *arg, int compat);
|
H A D | common.h | 21 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 22 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
|
H A D | resources.c | 195 int atm_dev_ioctl(unsigned int cmd, void __user *arg, int compat) argument 209 switch (cmd) { 287 switch (cmd) { 337 error = fetch_stats(dev, buf, cmd == ATM_GETSTATZ); 378 if (cmd == ATM_ADDADDR || cmd == ATM_ADDLECSADDR) 380 (cmd == ATM_ADDADDR ? 384 (cmd == ATM_DELADDR ? 391 (cmd == ATM_GETADDR ? 425 size = dev->ops->compat_ioctl(dev, cmd, bu [all...] |
/net/wireless/ |
H A D | wext-core.c | 421 unsigned int cmd, 450 if (WARN_ON(cmd == SIOCGIWSCAN && extra)) 454 if (cmd <= SIOCIWLAST) { 455 cmd_index = IW_IOCTL_IDX(cmd); 459 cmd_index = IW_EVENT_IDX(cmd); 473 cmd); 481 netdev_err(dev, "(WE) : Wireless Event (cmd=0x%04X) too big (%d)\n", 482 cmd, wrqu->data.length); 486 netdev_err(dev, "(WE) : Wireless Event (cmd=0x%04X) too small (%d)\n", 487 cmd, wrq 420 wireless_send_event(struct net_device * dev, unsigned int cmd, union iwreq_data * wrqu, const char * extra) argument 651 get_handler(struct net_device *dev, unsigned int cmd) argument 685 ioctl_standard_iw_point(struct iw_point *iwp, unsigned int cmd, const struct iw_ioctl_description *descr, iw_handler handler, struct net_device *dev, struct iw_request_info *info) argument 884 wireless_process_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, struct iw_request_info *info, wext_ioctl_func standard, wext_ioctl_func private) argument 936 wext_permission_check(unsigned int cmd) argument 947 wext_ioctl_dispatch(struct net *net, struct ifreq *ifr, unsigned int cmd, struct iw_request_info *info, wext_ioctl_func standard, wext_ioctl_func private) argument 970 ioctl_standard_call(struct net_device * dev, struct iwreq *iwr, unsigned int cmd, struct iw_request_info *info, iw_handler handler) argument 1009 wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, void __user *arg) argument 1027 compat_standard_call(struct net_device *dev, struct iwreq *iwr, unsigned int cmd, struct iw_request_info *info, iw_handler handler) argument 1057 compat_wext_handle_ioctl(struct net *net, unsigned int cmd, unsigned long arg) argument [all...] |
H A D | wext-priv.c | 93 static int get_priv_descr_and_size(struct net_device *dev, unsigned int cmd, argument 101 if (cmd == dev->wireless_handlers->private_args[i].cmd) { 109 if (IW_IS_SET(cmd)) { 137 static int ioctl_private_iw_point(struct iw_point *iwp, unsigned int cmd, argument 146 if (IW_IS_SET(cmd)) { 160 if (IW_IS_SET(cmd) && (iwp->length != 0)) { 171 if (!err && IW_IS_GET(cmd)) { 188 unsigned int cmd, struct iw_request_info *info, 194 extra_size = get_priv_descr_and_size(dev, cmd, 187 ioctl_private_call(struct net_device *dev, struct iwreq *iwr, unsigned int cmd, struct iw_request_info *info, iw_handler handler) argument 213 compat_private_call(struct net_device *dev, struct iwreq *iwr, unsigned int cmd, struct iw_request_info *info, iw_handler handler) argument [all...] |
/net/caif/ |
H A D | cfdgml.c | 43 u8 cmd = -1; local 50 if (cfpkt_extr_head(pkt, &cmd, 1) < 0) { 56 if ((cmd & DGM_CMD_BIT) == 0) { 66 switch (cmd) { 77 pr_info("Unknown datagram control %d (0x%x)\n", cmd, cmd);
|
H A D | cfutill.c | 42 u8 cmd = -1; local 48 if (cfpkt_extr_head(pkt, &cmd, 1) < 0) { 54 switch (cmd) { 73 pr_warn("Unknown service control %d (0x%x)\n", cmd, cmd);
|
H A D | cfveil.c | 41 u8 cmd; local 48 if (cfpkt_extr_head(pkt, &cmd, 1) < 0) { 53 switch (cmd) { 69 pr_warn("Unknown VEI control packet %d (0x%x)!\n", cmd, cmd);
|
/net/nfc/nci/ |
H A D | core.c | 131 struct nci_core_reset_cmd cmd; local 133 cmd.reset_type = NCI_RESET_TYPE_RESET_CONFIG; 134 nci_send_cmd(ndev, NCI_OP_CORE_RESET_CMD, 1, &cmd); 144 struct nci_rf_disc_map_cmd cmd; local 145 struct disc_map_config *cfg = cmd.mapping_configs; 146 __u8 *num = &cmd.num_mapping_configs; 175 (1 + ((*num) * sizeof(struct disc_map_config))), &cmd); 187 struct nci_core_set_config_cmd cmd; local 191 cmd.num_params = 1; 192 cmd 201 struct nci_rf_disc_cmd cmd; local 256 struct nci_rf_discover_select_cmd cmd; local 281 struct nci_rf_deactivate_cmd cmd; local [all...] |
/net/bluetooth/ |
H A D | mgmt.c | 244 static int cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status) argument 251 BT_DBG("sock %p, index %u, cmd %u, status %u", sk, index, cmd, status); 265 ev->opcode = cpu_to_le16(cmd); 274 static int cmd_complete(struct sock *sk, u16 index, u16 cmd, u8 status, argument 295 ev->opcode = cpu_to_le16(cmd); 748 struct pending_cmd *cmd; local 750 list_for_each_entry(cmd, &hdev->mgmt_pending, list) { 751 if (cmd->opcode == opcode) 752 return cmd; 762 struct pending_cmd *cmd; local 827 struct pending_cmd *cmd; local 1035 struct pending_cmd *cmd; local 1185 mgmt_pending_free(struct pending_cmd *cmd) argument 1196 struct pending_cmd *cmd; local 1222 mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, void (*cb)(struct pending_cmd *cmd, void *data), void *data) argument 1227 struct pending_cmd *cmd, *tmp; local 1237 mgmt_pending_remove(struct pending_cmd *cmd) argument 1366 struct pending_cmd *cmd; local 1448 settings_rsp(struct pending_cmd *cmd, void *data) argument 1464 cmd_status_rsp(struct pending_cmd *cmd, void *data) argument 1494 struct pending_cmd *cmd; local 1555 struct pending_cmd *cmd; local 1753 struct pending_cmd *cmd; local 1833 struct pending_cmd *cmd; local 1970 struct pending_cmd *cmd; local 2039 struct pending_cmd *cmd; local 2213 struct pending_cmd *cmd; local 2306 struct pending_cmd *cmd; local 2342 struct pending_cmd *cmd; local 2369 struct pending_cmd *cmd; local 2449 struct pending_cmd *cmd; local 2534 struct pending_cmd *cmd; local 2701 struct pending_cmd *cmd; local 2791 struct pending_cmd *cmd; local 2927 struct pending_cmd *cmd; local 2949 struct pending_cmd *cmd; local 3030 struct pending_cmd *cmd; local 3045 pairing_complete(struct pending_cmd *cmd, u8 status) argument 3070 struct pending_cmd *cmd; local 3079 struct pending_cmd *cmd; local 3092 struct pending_cmd *cmd; local 3111 struct pending_cmd *cmd; local 3229 struct pending_cmd *cmd; local 3271 struct pending_cmd *cmd; local 3412 struct pending_cmd *cmd; local 3441 struct pending_cmd *cmd; local 3509 struct pending_cmd *cmd; local 3628 struct pending_cmd *cmd; local 3690 struct pending_cmd *cmd; local 3847 struct pending_cmd *cmd; local 3882 struct pending_cmd *cmd; local 4112 struct pending_cmd *cmd; local 4286 struct pending_cmd *cmd; local 4321 struct pending_cmd *cmd; local 4384 struct pending_cmd *cmd; local 4417 struct pending_cmd *cmd; local 4508 struct pending_cmd *cmd; local 4882 get_conn_info_complete(struct pending_cmd *cmd, void *data) argument 5033 struct pending_cmd *cmd; local 5094 struct pending_cmd *cmd; local 5150 struct pending_cmd *cmd; local 5971 struct pending_cmd *cmd; local 6201 disconnect_rsp(struct pending_cmd *cmd, void *data) argument 6219 unpair_device_rsp(struct pending_cmd *cmd, void *data) argument 6238 struct pending_cmd *cmd; local 6294 struct pending_cmd *cmd; local 6354 struct pending_cmd *cmd; local 6373 struct pending_cmd *cmd; local 6424 struct pending_cmd *cmd; local 6491 struct pending_cmd *cmd; local 6641 sk_lookup(struct pending_cmd *cmd, void *data) argument 6671 struct pending_cmd *cmd; local 6699 struct pending_cmd *cmd; local 6816 struct pending_cmd *cmd; local [all...] |
/net/netfilter/ |
H A D | nf_conntrack_ftp.c | 154 struct nf_conntrack_man *cmd, char term, 164 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) | 166 cmd->u.tcp.port = htons((array[4] << 8) | array[5]); 181 struct nf_conntrack_man *cmd, char term, 194 return try_rfc959(data + i, dlen - i, cmd, 0, offset); 224 static int try_eprt(const char *data, size_t dlen, struct nf_conntrack_man *cmd, argument 242 if ((cmd->l3num == PF_INET && data[1] != '1') || 243 (cmd->l3num == PF_INET6 && data[1] != '2')) { 256 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) 261 (struct in6_addr *)cmd 153 try_rfc959(const char *data, size_t dlen, struct nf_conntrack_man *cmd, char term, unsigned int *offset) argument 180 try_rfc1123(const char *data, size_t dlen, struct nf_conntrack_man *cmd, char term, unsigned int *offset) argument 272 try_epsv_response(const char *data, size_t dlen, struct nf_conntrack_man *cmd, char term, unsigned int *offset) argument 289 find_pattern(const char *data, size_t dlen, const char *pattern, size_t plen, char skip, char term, unsigned int *numoff, unsigned int *numlen, struct nf_conntrack_man *cmd, int (*getnum)(const char *, size_t, struct nf_conntrack_man *, char, unsigned int *)) argument 401 struct nf_conntrack_man cmd = {}; local [all...] |
/net/sctp/ |
H A D | sm_sideeffect.c | 1228 sctp_cmd_t *cmd; local 1245 * cmd->handle(x, y, z) 1248 while (NULL != (cmd = sctp_next_cmd(commands))) { 1249 switch (cmd->verb) { 1262 asoc = cmd->obj.asoc; 1269 sctp_assoc_update(asoc, cmd->obj.asoc); 1288 sctp_cmd_new_state(commands, asoc, cmd->obj.state); 1294 cmd->obj.u32, NULL); 1299 sctp_tsnmap_skip(&asoc->peer.tsn_map, cmd->obj.u32); 1302 sctp_ulpq_reasm_flushtsn(&asoc->ulpq, cmd [all...] |
/net/bluetooth/bnep/ |
H A D | sock.c | 52 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 62 BT_DBG("cmd %x arg %lx", cmd, arg); 64 switch (cmd) { 131 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 133 if (cmd == BNEPGETCONNLIST) { 155 return bnep_sock_ioctl(sock, cmd, arg);
|
/net/bluetooth/hidp/ |
H A D | sock.c | 49 static int hidp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 60 BT_DBG("cmd %x arg %lx", cmd, arg); 62 switch (cmd) { 142 static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 144 if (cmd == HIDPGETCONNLIST) { 164 } else if (cmd == HIDPCONNADD) { 195 return hidp_sock_ioctl(sock, cmd, arg);
|
/net/bridge/ |
H A D | br_ioctl.c | 112 static int old_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) argument 352 int br_ioctl_deviceless_stub(struct net *net, unsigned int cmd, void __user *uarg) argument 354 switch (cmd) { 371 if (cmd == SIOCBRADDBR) 380 int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) argument 384 switch (cmd) { 386 return old_dev_ioctl(dev, rq, cmd); 390 return add_del_if(br, rq->ifr_ifindex, cmd == SIOCBRADDIF); 394 br_debug(br, "Bridge does not support ioctl 0x%x\n", cmd);
|
/net/x25/ |
H A D | x25_route.c | 182 int x25_route_ioctl(unsigned int cmd, void __user *arg) argument 188 if (cmd != SIOCADDRT && cmd != SIOCDELRT) 203 if (cmd == SIOCADDRT)
|