Home
last modified time | relevance | path

Searched full:reply (Results 1 – 25 of 960) sorted by relevance

12345678910>>...39

/linux/net/openvswitch/
H A Dmeter.c232 static int ovs_meter_cmd_reply_stats(struct sk_buff *reply, u32 meter_id, in ovs_meter_cmd_reply_stats() argument
239 if (nla_put_u32(reply, OVS_METER_ATTR_ID, meter_id)) in ovs_meter_cmd_reply_stats()
242 if (nla_put(reply, OVS_METER_ATTR_STATS, in ovs_meter_cmd_reply_stats()
246 if (nla_put_u64_64bit(reply, OVS_METER_ATTR_USED, meter->used, in ovs_meter_cmd_reply_stats()
250 nla = nla_nest_start_noflag(reply, OVS_METER_ATTR_BANDS); in ovs_meter_cmd_reply_stats()
259 band_nla = nla_nest_start_noflag(reply, OVS_BAND_ATTR_UNSPEC); in ovs_meter_cmd_reply_stats()
260 if (!band_nla || nla_put(reply, OVS_BAND_ATTR_STATS, in ovs_meter_cmd_reply_stats()
264 nla_nest_end(reply, band_nla); in ovs_meter_cmd_reply_stats()
266 nla_nest_end(reply, nla); in ovs_meter_cmd_reply_stats()
278 struct sk_buff *reply; in ovs_meter_cmd_features() local
[all …]
H A Ddatapath.c72 /* Check if need to build a reply message.
73 * OVS userspace sets the NLM_F_ECHO flag if it needs the reply. */
972 struct sk_buff *reply; in ovs_flow_cmd_new() local
1030 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new()
1032 if (IS_ERR(reply)) { in ovs_flow_cmd_new()
1033 error = PTR_ERR(reply); in ovs_flow_cmd_new()
1059 if (unlikely(reply)) { in ovs_flow_cmd_new()
1062 reply, info->snd_portid, in ovs_flow_cmd_new()
1101 if (unlikely(reply)) { in ovs_flow_cmd_new()
1104 reply, info->snd_portid, in ovs_flow_cmd_new()
[all …]
/linux/sound/soc/sof/amd/
H A Dacp-ipc.c99 struct sof_ipc_reply reply; in acp_dsp_ipc_get_reply() local
105 * Sometimes, there is unexpected reply ipc arriving. The reply in acp_dsp_ipc_get_reply()
117 * memory windows are powered off before sending IPC reply, in acp_dsp_ipc_get_reply()
121 reply.error = 0; in acp_dsp_ipc_get_reply()
122 reply.hdr.cmd = SOF_IPC_GLB_REPLY; in acp_dsp_ipc_get_reply()
123 reply.hdr.size = sizeof(reply); in acp_dsp_ipc_get_reply()
124 memcpy(msg->reply_data, &reply, sizeof(reply)); in acp_dsp_ipc_get_reply()
127 /* get IPC reply from DSP in the mailbox */ in acp_dsp_ipc_get_reply()
128 acp_mailbox_read(sdev, offset, &reply, sizeof(reply)); in acp_dsp_ipc_get_reply()
129 if (reply.error < 0) { in acp_dsp_ipc_get_reply()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dcmsg.c60 struct cmsg_reply_map_simple *reply) in nfp_bpf_ctrl_rc_to_errno() argument
74 rc = be32_to_cpu(reply->rc); in nfp_bpf_ctrl_rc_to_errno()
86 struct cmsg_reply_map_alloc_tbl *reply; in nfp_bpf_ctrl_alloc_map() local
104 sizeof(*reply)); in nfp_bpf_ctrl_alloc_map()
108 reply = (void *)skb->data; in nfp_bpf_ctrl_alloc_map()
109 err = nfp_bpf_ctrl_rc_to_errno(bpf, &reply->reply_hdr); in nfp_bpf_ctrl_alloc_map()
113 tid = be32_to_cpu(reply->tid); in nfp_bpf_ctrl_alloc_map()
124 struct cmsg_reply_map_free_tbl *reply; in nfp_bpf_ctrl_free_map() local
139 sizeof(*reply)); in nfp_bpf_ctrl_free_map()
145 reply = (void *)skb->data; in nfp_bpf_ctrl_free_map()
[all …]
/linux/sound/soc/intel/catpt/
H A Dipc.c45 struct catpt_ipc_msg *reply) in catpt_ipc_msg_init() argument
50 ipc->rx.size = reply ? reply->size : 0; in catpt_ipc_msg_init()
79 /* wait for delayed reply */ in catpt_wait_msg_completion()
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()
[all …]
H A Dmessages.c17 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()
24 ret = catpt_dsp_send_msg(cdev, request, &reply); 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()
97 ret = catpt_dsp_send_msg(cdev, request, &reply); 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()
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Drouter_broadcast.sh174 log_info "ping $dip, expected reply from $from"
188 log_test "h1 -> net2: reply from r1 (not forwarding)"
190 log_test "h1 -> net3: reply from r1 (not forwarding)"
192 log_test "h1 -> net1: reply from r1 (not dropping)"
194 log_test "h1 -> 255.255.255.255: reply from r1 (not forwarding)"
197 log_test "h2 -> net1: reply from r1 (not forwarding)"
199 log_test "h2 -> net3: reply from r1 (not forwarding)"
201 log_test "h2 -> net2: reply from r1 (not dropping)"
203 log_test "h2 -> 255.255.255.255: reply from r1 (not forwarding)"
209 log_test "h1 -> net2: reply from h2 (forwarding)"
[all …]
/linux/Documentation/userspace-api/media/cec/
H A Dcec-ioc-receive.rst55 3. the reply to an earlier non-blocking transmit (the ``sequence`` field will
64 of 2-byte messages). Note that the CEC kernel framework will also reply
71 If a non-blocking transmit also specified waiting for a reply, then
72 the reply will arrive in a later message. The ``sequence`` field can
115 filled in by the driver with the length of the reply message if ``reply`` was set.
122 then it will be replaced by 1000 if the ``reply`` is non-zero or
123 ignored if ``reply`` is 0.
131 In addition, if a non-blocking transmit will wait for a reply (ii.e. ``timeout``
132 was not 0), then the ``sequence`` field of the reply will be set to the sequence
143 the payload of the reply message if ``timeout`` was set.
[all …]
/linux/Documentation/netlink/specs/
H A Ddevlink.yaml1245 reply: &get-reply
1253 reply: *get-reply
1269 reply:
1275 reply:
1314 reply:
1372 reply: &sb-get-reply
1378 reply: *sb-get-reply
1395 reply: &sb-pool-get-reply
1401 reply: *sb-pool-get-reply
1437 reply: &sb-port-pool-get-reply
[all …]
/linux/drivers/net/wireless/ath/wil6210/
H A Dwmi.c2040 u16 reply_id, void *reply, u16 reply_size, int to_msec) in wmi_call() argument
2051 wil->reply_buf = reply; in wmi_call()
2135 } __packed reply = { in wmi_led_cfg() local
2153 WMI_LED_CFG_DONE_EVENTID, &reply, sizeof(reply), in wmi_led_cfg()
2158 if (reply.evt.status) { in wmi_led_cfg()
2160 led_id, le32_to_cpu(reply.evt.status)); in wmi_led_cfg()
2180 } __packed reply = { in wmi_rbufcap_cfg() local
2185 WMI_RBUFCAP_CFG_EVENTID, &reply, sizeof(reply), in wmi_rbufcap_cfg()
2190 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_rbufcap_cfg()
2192 reply.evt.status); in wmi_rbufcap_cfg()
[all …]
/linux/drivers/s390/crypto/
H A Dzcrypt_msgtype6.c30 #define CEXXC_MAX_ICA_RESPONSE_SIZE 0x77c /* max size type86 v2 reply */
544 * Copy results from a type 86 ICA reply message back to user space.
547 * @reply: reply AP message.
569 struct ap_message *reply, in convert_type86_ica() argument
573 struct type86x_reply *msg = reply->msg; in convert_type86_ica()
614 * Copy results from a type 86 XCRB reply message back to user space.
617 * @reply: reply AP message.
623 struct ap_message *reply, in convert_type86_xcrb() argument
626 struct type86_fmt2_msg *msg = reply->msg; in convert_type86_xcrb()
627 char *data = reply->msg; in convert_type86_xcrb()
[all …]
H A Dzcrypt_error.h20 * Reply Messages
22 * Error reply messages are of two types:
27 * Request reply messages are of three known types:
28 * 80: Reply from a Type 50 Request (see CEX2A-RELATED STRUCTS)
29 * 84: Reply from a Type 4 Request (see PCICA-RELATED STRUCTS)
30 * 86: Reply from a Type 6 Request (see PCICC/PCIXCC/CEX2C-RELATED STRUCTS)
37 unsigned char reply_code; /* reply code */
79 struct ap_message *reply) in convert_error() argument
81 struct error_hdr *ehdr = reply->msg; in convert_error()
106 } __packed * head = reply->msg; in convert_error()
[all …]
/linux/drivers/mfd/
H A Drave-sp.c93 * struct rave_sp_reply - Reply as per RAVE device protocol
95 * @length: Expected reply length
96 * @data: Buffer to store reply payload in
97 * @code: Expected reply code
98 * @ackid: Expected reply ACK ID
99 * @received: Successful reply reception completion
177 * @ackid: ACK ID used in last reply sent to the device
179 * @reply_lock: Lock protecting @reply
180 * @reply: Pointer to memory to store reply payload
194 struct rave_sp_reply *reply; member
[all …]
/linux/include/uapi/linux/
H A Dcec-funcs.h59 int reply) in cec_msg_request_active_source() argument
64 msg->reply = reply ? CEC_MSG_ACTIVE_SOURCE : 0; in cec_msg_request_active_source()
84 int reply, in cec_msg_routing_change() argument
95 msg->reply = reply ? CEC_MSG_ROUTING_INFORMATION : 0; in cec_msg_routing_change()
131 static inline void cec_msg_record_off(struct cec_msg *msg, int reply) in cec_msg_record_off() argument
135 msg->reply = reply ? CEC_MSG_RECORD_STATUS : 0; in cec_msg_record_off()
293 int reply, in cec_msg_record_on() argument
317 msg->reply = reply ? CEC_MSG_RECORD_STATUS : 0; in cec_msg_record_on()
360 int reply) in cec_msg_record_tv_screen() argument
364 msg->reply = reply ? CEC_MSG_RECORD_ON : 0; in cec_msg_record_tv_screen()
[all …]
/linux/arch/um/drivers/
H A Dmconsole_user.c40 static int mconsole_reply_v0(struct mc_request *req, char *reply) in mconsole_reply_v0() argument
45 iov.iov_base = reply; in mconsole_reply_v0()
46 iov.iov_len = strlen(reply); in mconsole_reply_v0()
136 struct mconsole_reply reply; in mconsole_reply_len() local
140 reply.err = err; in mconsole_reply_len()
147 if (len == total) reply.more = more; in mconsole_reply_len()
148 else reply.more = 1; in mconsole_reply_len()
150 memcpy(reply.data, str, len); in mconsole_reply_len()
151 reply.data[len] = '\0'; in mconsole_reply_len()
154 reply.len = len + 1; in mconsole_reply_len()
[all …]
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_sendto.c48 * RPC server when an RPC Reply is ready to be transmitted to a client.
51 * XDR-encoded RPC Reply message. sendto must construct the RPC-over-RDMA
52 * transport header, post all Write WRs needed for this Reply, then post
56 * svc_rdma_sendto must fully transmit the Reply before returning, as
64 * The I/O that performs Reply transmission is asynchronous, and may
79 * The ownership of all of the Reply's pages are transferred into that
83 * Send completion handler finally releases the Reply's pages.
94 * handler releases the Reply's pages.
96 * the Reply's pages.
394 * svc_rdma_encode_read_list - Encode RPC Reply's Read chunk list
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dmemx.c48 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
87 /* call MEMX process to execute the script, and wait for reply */ in nvkm_memx_fini()
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()
[all …]
/linux/net/ethtool/
H A Deeprom.c54 struct eeprom_reply_data *reply) in eeprom_fallback() argument
56 struct net_device *dev = reply->base.dev; in eeprom_fallback()
78 reply->data = data; in eeprom_fallback()
79 reply->length = eeprom.len; in eeprom_fallback()
113 struct eeprom_reply_data *reply = MODULE_EEPROM_REPDATA(reply_base); in eeprom_prepare_data() local
136 reply->length = ret; in eeprom_prepare_data()
137 reply->data = page_data.data; in eeprom_prepare_data()
148 return eeprom_fallback(request, reply); in eeprom_prepare_data()
209 struct eeprom_reply_data *reply = MODULE_EEPROM_REPDATA(reply_base); in eeprom_fill_reply() local
211 return nla_put(skb, ETHTOOL_A_MODULE_EEPROM_DATA, reply->length, reply->data); in eeprom_fill_reply()
[all …]
/linux/drivers/media/cec/usb/extron-da-hd-4k-plus/
H A Dcec-splitter.c12 * Helper function to reply to a received message with a Feature Abort
21 * Don't reply with CEC_MSG_FEATURE_ABORT to a CEC_MSG_FEATURE_ABORT in cec_feature_abort_reason()
171 struct cec_msg reply = {}; in cec_out_report_current_latency() local
183 /* Return if a port is still waiting for a reply */ in cec_out_report_current_latency()
191 * All ports that can reply, replied, so clear the sequence in cec_out_report_current_latency()
208 /* Reply with the average latency */ in cec_out_report_current_latency()
210 cec_msg_init(&reply, input_adap->log_addrs.log_addr[0], in cec_out_report_current_latency()
212 cec_msg_report_current_latency(&reply, input_adap->phys_addr, in cec_out_report_current_latency()
214 cec_transmit_msg(input_adap, &reply, false); in cec_out_report_current_latency()
267 struct cec_msg reply = {}; in cec_out_report_power_status() local
[all …]
/linux/sound/soc/intel/avs/
H A Dipc.c290 * Response may either be solicited - a reply for a request that has in avs_dsp_process_response()
332 * Firmware did its job, either notification or reply in avs_ipc_wait_busy_completion()
342 /* Reply delayed due to notification. */ in avs_ipc_wait_busy_completion()
357 static void avs_ipc_msg_init(struct avs_ipc *ipc, struct avs_ipc_msg *reply) in avs_ipc_msg_init()
362 ipc->rx.size = reply ? reply->size : 0; in avs_ipc_msg_init()
390 struct avs_ipc_msg *reply, int timeout, const char *name) in avs_dsp_do_send_msg()
401 avs_ipc_msg_init(ipc, reply); in avs_dsp_do_send_msg()
430 if (reply) { in avs_dsp_do_send_msg()
431 reply in avs_dsp_do_send_msg()
355 avs_ipc_msg_init(struct avs_ipc * ipc,struct avs_ipc_msg * reply) avs_ipc_msg_init() argument
385 avs_dsp_do_send_msg(struct avs_dev * adev,struct avs_ipc_msg * request,struct avs_ipc_msg * reply,int timeout,const char * name) avs_dsp_do_send_msg() argument
438 avs_dsp_send_msg_sequence(struct avs_dev * adev,struct avs_ipc_msg * request,struct avs_ipc_msg * reply,int timeout,bool wake_d0i0,bool schedule_d0ix,const char * name) avs_dsp_send_msg_sequence() argument
462 avs_dsp_send_msg_timeout(struct avs_dev * adev,struct avs_ipc_msg * request,struct avs_ipc_msg * reply,int timeout,const char * name) avs_dsp_send_msg_timeout() argument
472 avs_dsp_send_msg(struct avs_dev * adev,struct avs_ipc_msg * request,struct avs_ipc_msg * reply,const char * name) avs_dsp_send_msg() argument
478 avs_dsp_send_pm_msg_timeout(struct avs_dev * adev,struct avs_ipc_msg * request,struct avs_ipc_msg * reply,int timeout,bool wake_d0i0,const char * name) avs_dsp_send_pm_msg_timeout() argument
485 avs_dsp_send_pm_msg(struct avs_dev * adev,struct avs_ipc_msg * request,struct avs_ipc_msg * reply,bool wake_d0i0,const char * name) avs_dsp_send_pm_msg() argument
[all...]
/linux/net/netfilter/
H A Dnf_conntrack_sane.c71 struct sane_reply_net_start *reply; in help() local
109 /* We're interested in the next reply */ in help()
116 /* Is it a reply to an uninteresting command? */ in help()
120 /* It's a reply to SANE_NET_START. */ in help()
124 pr_debug("NET_START reply too short\n"); in help()
130 reply = skb_header_pointer(skb, dataoff, datalen, &buf.repl); in help()
131 if (!reply) in help()
134 if (reply->status != htonl(SANE_STATUS_SUCCESS)) { in help()
137 ntohl(reply->status)); in help()
141 /* Invalid saned reply? Ignore it. */ in help()
[all …]
/linux/sound/soc/sof/
H A Dsof-client-probes-ipc3.c107 struct sof_ipc_probe_info_params *reply; in ipc3_probes_info() local
114 reply = kzalloc(max_msg_size, GFP_KERNEL); in ipc3_probes_info()
115 if (!reply) in ipc3_probes_info()
120 ret = sof_client_ipc_tx_message(cdev, &msg, reply, max_msg_size); in ipc3_probes_info()
121 if (ret < 0 || reply->rhdr.error < 0) in ipc3_probes_info()
124 if (!reply->num_elems) in ipc3_probes_info()
128 bytes = sizeof(reply->dma[0]); in ipc3_probes_info()
130 bytes = sizeof(reply->desc[0]); in ipc3_probes_info()
131 bytes *= reply->num_elems; in ipc3_probes_info()
132 *params = kmemdup(&reply->dma[0], bytes, GFP_KERNEL); in ipc3_probes_info()
[all …]
/linux/sound/soc/sof/intel/
H A Dhda-ipc.c33 * interrupt and send reply msg to dsp in hda_dsp_ipc_host_done()
50 * set DONE bit - tell DSP we have received the reply msg in hda_dsp_ipc_dsp_done()
51 * from DSP, and processed it, don't send more reply to host in hda_dsp_ipc_dsp_done()
134 struct sof_ipc_reply reply; in hda_dsp_ipc_get_reply() local
138 * Sometimes, there is unexpected reply ipc arriving. The reply in hda_dsp_ipc_get_reply()
151 * memory windows are powered off before sending IPC reply, in hda_dsp_ipc_get_reply()
155 reply.error = 0; in hda_dsp_ipc_get_reply()
156 reply.hdr.cmd = SOF_IPC_GLB_REPLY; in hda_dsp_ipc_get_reply()
157 reply.hdr.size = sizeof(reply); in hda_dsp_ipc_get_reply()
158 memcpy(msg->reply_data, &reply, sizeof(reply)); in hda_dsp_ipc_get_reply()
[all …]
/linux/tools/usb/usbip/src/
H A Dusbip_attach.c124 struct op_import_reply reply; in query_import_device() local
129 memset(&reply, 0, sizeof(reply)); in query_import_device()
148 /* receive a 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()
164 /* check the 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/gpu/drm/vmwgfx/
H A Dvmwgfx_msg.c199 * @reply: Pointer to buffer holding reply.
200 * @reply_len: Length of the reply.
205 static unsigned long vmw_port_hb_in(struct rpc_channel *channel, char *reply, in vmw_port_hb_in() argument
217 (uintptr_t) reply, channel->cookie_low, in vmw_port_hb_in()
239 memcpy(reply, &ebx, bytes); in vmw_port_hb_in()
241 reply += bytes; in vmw_port_hb_in()
308 char *reply; in vmw_recv_msg() local
326 DRM_ERROR("Failed to get reply size for host message.\n"); in vmw_recv_msg()
330 /* No reply available. This is okay. */ in vmw_recv_msg()
335 reply = kzalloc(reply_len + 1, GFP_KERNEL); in vmw_recv_msg()
[all …]

12345678910>>...39