/linux/net/openvswitch/ |
A D | meter.c | 280 struct sk_buff *reply; in ovs_meter_cmd_features() local 286 if (IS_ERR(reply)) in ovs_meter_cmd_features() 324 nlmsg_free(reply); in ovs_meter_cmd_features() 412 struct sk_buff *reply; in ovs_meter_cmd_set() local 430 if (IS_ERR(reply)) { in ovs_meter_cmd_set() 431 err = PTR_ERR(reply); in ovs_meter_cmd_set() 477 nlmsg_free(reply); in ovs_meter_cmd_set() 501 if (IS_ERR(reply)) in ovs_meter_cmd_get() 532 nlmsg_free(reply); in ovs_meter_cmd_get() 552 if (IS_ERR(reply)) in ovs_meter_cmd_del() [all …]
|
A D | datapath.c | 1080 if (reply) in ovs_flow_cmd_new() 1086 kfree_skb(reply); in ovs_flow_cmd_new() 1258 if (reply) in ovs_flow_cmd_set() 1747 if (!reply) in ovs_dp_cmd_new() 1876 if (!reply) in ovs_dp_cmd_del() 1909 if (!reply) in ovs_dp_cmd_set() 1944 if (!reply) in ovs_dp_cmd_get() 2207 if (!reply) in ovs_vport_cmd_new() 2280 if (!reply) in ovs_vport_cmd_set() 2336 if (!reply) in ovs_vport_cmd_del() [all …]
|
/linux/drivers/thunderbolt/ |
A D | icm.c | 464 memset(&reply, 0, sizeof(reply)); in icm_fr_driver_ready() 488 memset(&reply, 0, sizeof(reply)); in icm_fr_approve_switch() 516 memset(&reply, 0, sizeof(reply)); in icm_fr_add_switch_key() 544 memset(&reply, 0, sizeof(reply)); in icm_fr_challenge_switch_key() 578 memset(&reply, 0, sizeof(reply)); in icm_fr_approve_xdomain_paths() 1023 memset(&reply, 0, sizeof(reply)); in icm_tr_driver_ready() 1056 memset(&reply, 0, sizeof(reply)); in icm_tr_approve_switch() 1084 memset(&reply, 0, sizeof(reply)); in icm_tr_add_switch_key() 1113 memset(&reply, 0, sizeof(reply)); in icm_tr_challenge_switch_key() 1147 memset(&reply, 0, sizeof(reply)); in icm_tr_approve_xdomain_paths() [all …]
|
/linux/sound/soc/sof/ |
A D | sof-probes.c | 65 struct sof_ipc_reply reply; in sof_ipc_probe_init() local 79 &reply, sizeof(reply)); in sof_ipc_probe_init() 95 struct sof_ipc_reply reply; in sof_ipc_probe_deinit() local 101 &reply, sizeof(reply)); in sof_ipc_probe_deinit() 116 if (!reply) in sof_ipc_probe_info() 126 if (!reply->num_elems) in sof_ipc_probe_info() 133 bytes *= reply->num_elems; in sof_ipc_probe_info() 142 kfree(reply); in sof_ipc_probe_info() 182 struct sof_ipc_reply reply; in sof_ipc_probe_points_add() local 195 &reply, sizeof(reply)); in sof_ipc_probe_points_add() [all …]
|
/linux/net/bridge/ |
A D | br_arp_nd_proxy.c | 255 struct sk_buff *reply; in br_nd_send() local 271 if (!reply) in br_nd_send() 275 reply->dev = dev; in br_nd_send() 278 skb_set_mac_header(reply, 0); in br_nd_send() 287 kfree_skb(reply); in br_nd_send() 307 pip6 = ipv6_hdr(reply); in br_nd_send() 360 dev_queue_xmit(reply); in br_nd_send() 362 skb_reset_mac_header(reply); in br_nd_send() 363 __skb_pull(reply, skb_network_offset(reply)); in br_nd_send() 365 reply->pkt_type = PACKET_HOST; in br_nd_send() [all …]
|
/linux/sound/soc/sof/intel/ |
A D | hda-ipc.c | 71 struct sof_ipc_reply reply; in hda_dsp_ipc_get_reply() local 93 reply.error = 0; in hda_dsp_ipc_get_reply() 94 reply.hdr.cmd = SOF_IPC_GLB_REPLY; in hda_dsp_ipc_get_reply() 95 reply.hdr.size = sizeof(reply); in hda_dsp_ipc_get_reply() 96 memcpy(msg->reply_data, &reply, sizeof(reply)); in hda_dsp_ipc_get_reply() 102 sizeof(reply)); in hda_dsp_ipc_get_reply() 104 if (reply.error < 0) { in hda_dsp_ipc_get_reply() 105 memcpy(msg->reply_data, &reply, sizeof(reply)); in hda_dsp_ipc_get_reply() 106 ret = reply.error; in hda_dsp_ipc_get_reply() 109 if (reply.hdr.size != msg->reply_size && in hda_dsp_ipc_get_reply() [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
A D | cmsg.c | 72 rc = be32_to_cpu(reply->rc); in nfp_bpf_ctrl_rc_to_errno() 102 sizeof(*reply)); in nfp_bpf_ctrl_alloc_map() 106 reply = (void *)skb->data; in nfp_bpf_ctrl_alloc_map() 111 tid = be32_to_cpu(reply->tid); in nfp_bpf_ctrl_alloc_map() 137 sizeof(*reply)); in nfp_bpf_ctrl_free_map() 143 reply = (void *)skb->data; in nfp_bpf_ctrl_free_map() 205 struct cmsg_reply_map_op *reply; in nfp_bpf_ctrl_op_cache_get() local 225 count = be32_to_cpu(reply->count); in nfp_bpf_ctrl_op_cache_get() 299 struct cmsg_reply_map_op *reply; in nfp_bpf_ctrl_entry_op() local 339 if (skb->len < sizeof(*reply)) { in nfp_bpf_ctrl_entry_op() [all …]
|
/linux/drivers/net/wireless/ath/wil6210/ |
A D | wmi.c | 2303 memset(&reply, 0, sizeof(reply)); in wmi_get_ssid() 2306 WMI_GET_SSID_EVENTID, &reply, sizeof(reply), in wmi_get_ssid() 2341 memset(&reply, 0, sizeof(reply)); in wmi_get_channel() 2598 &reply, sizeof(reply), in wmi_rxon() 2691 memset(&reply, 0, sizeof(reply)); in wmi_get_temperature() 2728 memset(&reply, 0, sizeof(reply)); in wmi_get_all_temperatures() 2741 memcpy(sense_all_evt, &reply.evt, sizeof(reply.evt)); in wmi_get_all_temperatures() 2763 memset(&reply, 0, sizeof(reply)); in wmi_disconnect_sta() 2769 &reply, sizeof(reply), 1000); in wmi_disconnect_sta() 2775 &reply, sizeof(reply), 1000); in wmi_disconnect_sta() [all …]
|
/linux/include/uapi/linux/ |
A D | cec-funcs.h | 64 msg->reply = reply ? CEC_MSG_ACTIVE_SOURCE : 0; in cec_msg_request_active_source() 95 msg->reply = reply ? CEC_MSG_ROUTING_INFORMATION : 0; in cec_msg_routing_change() 135 msg->reply = reply ? CEC_MSG_RECORD_STATUS : 0; in cec_msg_record_off() 317 msg->reply = reply ? CEC_MSG_RECORD_STATUS : 0; in cec_msg_record_on() 364 msg->reply = reply ? CEC_MSG_RECORD_ON : 0; in cec_msg_record_tv_screen() 616 msg->reply = reply ? CEC_MSG_TIMER_STATUS : 0; in cec_msg_set_analogue_timer() 656 msg->reply = reply ? CEC_MSG_TIMER_STATUS : 0; in cec_msg_set_digital_timer() 717 msg->reply = reply ? CEC_MSG_TIMER_STATUS : 0; in cec_msg_set_ext_timer() 787 msg->reply = reply ? CEC_MSG_CEC_VERSION : 0; in cec_msg_get_cec_version() 1249 msg->reply = reply ? CEC_MSG_SET_OSD_NAME : 0; in cec_msg_give_osd_name() [all …]
|
/linux/arch/um/drivers/ |
A D | mconsole_user.c | 45 iov.iov_base = reply; in mconsole_reply_v0() 46 iov.iov_len = strlen(reply); in mconsole_reply_v0() 134 struct mconsole_reply reply; in mconsole_reply_len() local 138 reply.err = err; in mconsole_reply_len() 145 if (len == total) reply.more = more; in mconsole_reply_len() 146 else reply.more = 1; in mconsole_reply_len() 148 memcpy(reply.data, str, len); in mconsole_reply_len() 149 reply.data[len] = '\0'; in mconsole_reply_len() 152 reply.len = len + 1; in mconsole_reply_len() 154 len = sizeof(reply) + reply.len - sizeof(reply.data); in mconsole_reply_len() [all …]
|
/linux/drivers/s390/crypto/ |
A D | zcrypt_msgtype6.c | 600 struct ap_message *reply, in convert_type86_ica() argument 714 char *data = reply->msg; in convert_type86_xcrb() 745 char *data = reply->msg; in convert_type86_ep11_xcrb() 759 struct ap_message *reply, in convert_type86_rng() argument 767 char *data = reply->msg; in convert_type86_rng() 819 struct ap_message *reply, in convert_response_xcrb() argument 884 struct ap_message *reply, in convert_response_rng() argument 936 if (!reply) in zcrypt_msgtype6_receive() 938 t86r = reply->msg; in zcrypt_msgtype6_receive() 991 if (!reply) in zcrypt_msgtype6_receive_ep11() [all …]
|
/linux/sound/soc/intel/catpt/ |
A D | ipc.c | 45 struct catpt_ipc_msg *reply) in catpt_ipc_msg_init() argument 50 ipc->rx.size = reply ? reply->size : 0; in catpt_ipc_msg_init() 87 struct catpt_ipc_msg *reply, int timeout) in catpt_dsp_do_send_msg() argument 96 (reply && reply->size > ipc->config.outbox_size)) in catpt_dsp_do_send_msg() 100 catpt_ipc_msg_init(ipc, reply); in catpt_dsp_do_send_msg() 114 if (reply) { in catpt_dsp_do_send_msg() 115 reply->header = ipc->rx.header; in catpt_dsp_do_send_msg() 117 if (!ret && reply->data) in catpt_dsp_do_send_msg() 118 memcpy(reply->data, ipc->rx.data, reply->size); in catpt_dsp_do_send_msg() 126 struct catpt_ipc_msg *reply, int timeout) in catpt_dsp_send_msg_timeout() argument [all …]
|
A D | messages.c | 17 struct catpt_ipc_msg request = {{0}}, reply; in catpt_ipc_get_fw_version() local 21 reply.size = sizeof(*version); in catpt_ipc_get_fw_version() 22 reply.data = version; in catpt_ipc_get_fw_version() 58 struct catpt_ipc_msg request, reply; in catpt_ipc_alloc_stream() local 94 reply.size = sizeof(*sinfo); in catpt_ipc_alloc_stream() 95 reply.data = sinfo; in catpt_ipc_alloc_stream() 146 struct catpt_ipc_msg request, reply; in catpt_ipc_enter_dxstate() local 152 reply.size = sizeof(*context); in catpt_ipc_enter_dxstate() 153 reply.data = context; in catpt_ipc_enter_dxstate() 170 reply.size = sizeof(*info); in catpt_ipc_get_mixer_stream_info() [all …]
|
/linux/drivers/mfd/ |
A D | rave-sp.c | 194 struct rave_sp_reply *reply; member 360 reply.ackid = ackid; in rave_sp_exec() 366 sp->reply = &reply; in rave_sp_exec() 379 sp->reply = NULL; in rave_sp_exec() 411 reply = sp->reply; in rave_sp_receive_reply() 413 if (reply) { in rave_sp_receive_reply() 414 if (reply->code == data[0] && reply->ackid == data[1] && in rave_sp_receive_reply() 420 memcpy(reply->data, &data[2], reply->length); in rave_sp_receive_reply() 422 sp->reply = NULL; in rave_sp_receive_reply() 426 reply->code, data[0]); in rave_sp_receive_reply() [all …]
|
/linux/net/ethtool/ |
A D | eeprom.c | 54 struct eeprom_reply_data *reply, in eeprom_fallback() argument 57 struct net_device *dev = reply->base.dev; in eeprom_fallback() 79 reply->data = data; in eeprom_fallback() 80 reply->length = eeprom.len; in eeprom_fallback() 108 struct eeprom_reply_data *reply = MODULE_EEPROM_REPDATA(reply_base); in eeprom_prepare_data() local 131 reply->length = ret; in eeprom_prepare_data() 132 reply->data = page_data.data; in eeprom_prepare_data() 143 return eeprom_fallback(request, reply, info); in eeprom_prepare_data() 204 struct eeprom_reply_data *reply = MODULE_EEPROM_REPDATA(reply_base); in eeprom_fill_reply() local 206 return nla_put(skb, ETHTOOL_A_MODULE_EEPROM_DATA, reply->length, reply->data); in eeprom_fill_reply() [all …]
|
/linux/drivers/firmware/ |
A D | turris-mox-rwtm.c | 56 struct armada_37xx_rwtm_rx_msg reply; member 177 rwtm->reply = *msg; in mox_rwtm_rx_callback() 194 struct armada_37xx_rwtm_rx_msg *reply = &rwtm->reply; in mox_get_board_info() local 216 rwtm->serial_number = reply->status[1]; in mox_get_board_info() 219 rwtm->board_version = reply->status[2]; in mox_get_board_info() 220 rwtm->ram_size = reply->status[3]; in mox_get_board_info() 222 reply->status[5]); in mox_get_board_info() 224 reply->status[7]); in mox_get_board_info() 251 u32 *s = reply->status; in mox_get_board_info() 360 struct armada_37xx_rwtm_rx_msg *reply = &rwtm->reply; in do_sign_write() local [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
A D | memx.c | 48 u32 reply[2]; in nvkm_memx_init() local 51 ret = nvkm_pmu_send(pmu, reply, PROC_MEMX, MEMX_MSG_INFO, in nvkm_memx_init() 60 memx->base = reply[0]; in nvkm_memx_init() 61 memx->size = reply[1]; in nvkm_memx_init() 78 u32 finish, reply[2]; in nvkm_memx_fini() local 89 nvkm_pmu_send(pmu, reply, PROC_MEMX, MEMX_MSG_EXEC, in nvkm_memx_fini() 92 reply[0], reply[1]); in nvkm_memx_fini() 169 u32 reply[2], base, size, i; in nvkm_memx_train_result() local 172 ret = nvkm_pmu_send(pmu, reply, PROC_MEMX, MEMX_MSG_INFO, in nvkm_memx_train_result() 177 base = reply[0]; in nvkm_memx_train_result() [all …]
|
/linux/sound/soc/intel/common/ |
A D | sst-ipc.c | 46 struct ipc_message *msg, struct sst_ipc_message *reply) in tx_wait_done() argument 65 if (reply) { in tx_wait_done() 66 reply->header = msg->rx.header; in tx_wait_done() 67 if (reply->data) in tx_wait_done() 68 memcpy(reply->data, msg->rx.data, msg->rx.size); in tx_wait_done() 80 struct sst_ipc_message *reply, int wait) in ipc_tx_message() argument 96 msg->rx.size = reply ? reply->size : 0; in ipc_tx_message() 110 return tx_wait_done(ipc, msg, reply); in ipc_tx_message() 181 struct sst_ipc_message request, struct sst_ipc_message *reply) in sst_ipc_tx_message_wait() argument 194 ret = ipc_tx_message(ipc, request, reply, 1); in sst_ipc_tx_message_wait() [all …]
|
/linux/tools/usb/usbip/src/ |
A D | usbip_attach.c | 124 struct op_import_reply reply; in query_import_device() local 129 memset(&reply, 0, sizeof(reply)); in query_import_device() 156 rc = usbip_net_recv(sockfd, (void *) &reply, sizeof(reply)); in query_import_device() 162 PACK_OP_IMPORT_REPLY(0, &reply); in query_import_device() 165 if (strncmp(reply.udev.busid, busid, SYSFS_BUS_ID_SIZE)) { in query_import_device() 166 err("recv different busid %s", reply.udev.busid); in query_import_device() 171 return import_device(sockfd, &reply.udev); in query_import_device()
|
/linux/drivers/usb/gadget/function/ |
A D | f_mass_storage.c | 1825 if (reply == 0) in do_scsi_command() 1834 if (reply == 0) in do_scsi_command() 1844 if (reply == 0) in do_scsi_command() 1853 if (reply == 0) in do_scsi_command() 1863 if (reply == 0) in do_scsi_command() 1872 if (reply == 0) in do_scsi_command() 1883 if (reply == 0) in do_scsi_command() 1894 if (reply == 0) in do_scsi_command() 1905 if (reply == 0) in do_scsi_command() 1916 if (reply == 0) in do_scsi_command() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | vendor.c | 26 struct sk_buff *reply; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local 81 reply = cfg80211_vendor_cmd_alloc_reply_skb(wiphy, payload); in brcmf_cfg80211_vndr_cmds_dcmd_handler() 82 if (NULL == reply) { in brcmf_cfg80211_vndr_cmds_dcmd_handler() 87 if (nla_put(reply, BRCMF_NLATTR_DATA, msglen, wr_pointer) || in brcmf_cfg80211_vndr_cmds_dcmd_handler() 88 nla_put_u16(reply, BRCMF_NLATTR_LEN, msglen)) { in brcmf_cfg80211_vndr_cmds_dcmd_handler() 89 kfree_skb(reply); in brcmf_cfg80211_vndr_cmds_dcmd_handler() 94 ret = cfg80211_vendor_cmd_reply(reply); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
|
/linux/drivers/nfc/ |
A D | mei_phy.c | 96 struct mei_nfc_reply *reply = NULL; in mei_nfc_if_version() local 117 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version() 118 if (!reply) in mei_nfc_if_version() 128 version = (struct mei_nfc_if_version *)reply->data; in mei_nfc_if_version() 135 kfree(reply); in mei_nfc_if_version() 141 struct mei_nfc_cmd *cmd, *reply; in mei_nfc_connect() local 158 reply = kzalloc(connect_resp_length, GFP_KERNEL); in mei_nfc_connect() 159 if (!reply) { in mei_nfc_connect() 179 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, in mei_nfc_connect() 187 MEI_DUMP_NFC_HDR("connect reply", &reply->hdr); in mei_nfc_connect() [all …]
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_msg.c | 255 reply += bytes; in vmw_port_hb_in() 326 char *reply; in vmw_recv_msg() local 358 if (!reply) { in vmw_recv_msg() 368 kfree(reply); in vmw_recv_msg() 369 reply = NULL; in vmw_recv_msg() 392 kfree(reply); in vmw_recv_msg() 393 reply = NULL; in vmw_recv_msg() 405 if (!reply) in vmw_recv_msg() 469 kfree(reply); in vmw_host_get_guestinfo() 476 kfree(reply); in vmw_host_get_guestinfo() [all …]
|
/linux/net/atm/ |
A D | signaling.c | 46 msg->reply = -EOPNOTSUPP; in modify_qos() 49 msg->reply = vcc->dev->ops->change_qos(vcc, &msg->qos, in modify_qos() 50 msg->reply); in modify_qos() 51 if (!msg->reply) in modify_qos() 78 sk->sk_err = -msg->reply; in sigd_send() 99 sk->sk_err = -msg->reply; in sigd_send() 121 vcc_release_async(vcc, msg->reply); in sigd_send() 128 sk->sk_err_soft = -msg->reply; in sigd_send() 145 int reply) in sigd_enq2() argument 158 msg->reply = reply; in sigd_enq2()
|
/linux/net/bpfilter/ |
A D | main.c | 35 struct mbox_reply reply; in loop() local 44 reply.status = req.is_set ? in loop() 48 n = write(1, &reply, sizeof(reply)); in loop() 49 if (n != sizeof(reply)) { in loop()
|