Home
last modified time | relevance | path

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

12345678910>>...45

/linux-6.8/net/openvswitch/
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 …]
Ddatapath.c73 /* Check if need to build a reply message.
74 * OVS userspace sets the NLM_F_ECHO flag if it needs the reply. */
973 struct sk_buff *reply; in ovs_flow_cmd_new() local
1031 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new()
1033 if (IS_ERR(reply)) { in ovs_flow_cmd_new()
1034 error = PTR_ERR(reply); in ovs_flow_cmd_new()
1060 if (unlikely(reply)) { in ovs_flow_cmd_new()
1063 reply, info->snd_portid, in ovs_flow_cmd_new()
1102 if (unlikely(reply)) { in ovs_flow_cmd_new()
1105 reply, info->snd_portid, in ovs_flow_cmd_new()
[all …]
/linux-6.8/drivers/thunderbolt/
Dicm.c54 * @reply: Reply from ICM firmware is placed here
59 struct icm_usb4_switch_op_response reply; member
458 struct icm_fr_pkg_driver_ready_response reply; in icm_fr_driver_ready() local
464 memset(&reply, 0, sizeof(reply)); in icm_fr_driver_ready()
465 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_driver_ready()
471 *security_level = reply.security_level & ICM_FR_SLEVEL_MASK; in icm_fr_driver_ready()
479 struct icm_fr_pkg_approve_device reply; in icm_fr_approve_switch() local
488 memset(&reply, 0, sizeof(reply)); in icm_fr_approve_switch()
490 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_approve_switch()
495 if (reply.hdr.flags & ICM_FLAGS_ERROR) { in icm_fr_approve_switch()
[all …]
/linux-6.8/net/bridge/
Dbr_arp_nd_proxy.c184 /* its our local ip, so don't proxy reply in br_do_proxy_suppress_arp()
255 struct sk_buff *reply; in br_nd_send() local
270 reply = alloc_skb(len, GFP_ATOMIC); in br_nd_send()
271 if (!reply) in br_nd_send()
274 reply->protocol = htons(ETH_P_IPV6); in br_nd_send()
275 reply->dev = dev; in br_nd_send()
276 skb_reserve(reply, LL_RESERVED_SPACE(dev)); in br_nd_send()
277 skb_push(reply, sizeof(struct ethhdr)); in br_nd_send()
278 skb_set_mac_header(reply, 0); in br_nd_send()
287 kfree_skb(reply); in br_nd_send()
[all …]
/linux-6.8/tools/testing/selftests/net/forwarding/
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-6.8/sound/soc/intel/catpt/
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 …]
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-6.8/sound/soc/sof/amd/
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-6.8/drivers/net/ethernet/netronome/nfp/bpf/
Dcmsg.c58 struct cmsg_reply_map_simple *reply) in nfp_bpf_ctrl_rc_to_errno() argument
72 rc = be32_to_cpu(reply->rc); in nfp_bpf_ctrl_rc_to_errno()
84 struct cmsg_reply_map_alloc_tbl *reply; in nfp_bpf_ctrl_alloc_map() local
102 sizeof(*reply)); in nfp_bpf_ctrl_alloc_map()
106 reply = (void *)skb->data; in nfp_bpf_ctrl_alloc_map()
107 err = nfp_bpf_ctrl_rc_to_errno(bpf, &reply->reply_hdr); in nfp_bpf_ctrl_alloc_map()
111 tid = be32_to_cpu(reply->tid); in nfp_bpf_ctrl_alloc_map()
122 struct cmsg_reply_map_free_tbl *reply; in nfp_bpf_ctrl_free_map() local
137 sizeof(*reply)); in nfp_bpf_ctrl_free_map()
143 reply = (void *)skb->data; in nfp_bpf_ctrl_free_map()
[all …]
/linux-6.8/Documentation/netlink/specs/
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-6.8/Documentation/userspace-api/media/cec/
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-6.8/drivers/net/wireless/ath/wil6210/
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-6.8/drivers/mfd/
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-6.8/drivers/s390/crypto/
Dzcrypt_msgtype6.c30 #define CEXXC_MAX_ICA_RESPONSE_SIZE 0x77c /* max size type86 v2 reply */
545 * Copy results from a type 86 ICA reply message back to user space.
548 * @reply: reply AP message.
570 struct ap_message *reply, in convert_type86_ica() argument
574 struct type86x_reply *msg = reply->msg; in convert_type86_ica()
615 * Copy results from a type 86 XCRB reply message back to user space.
618 * @reply: reply AP message.
624 struct ap_message *reply, in convert_type86_xcrb() argument
627 struct type86_fmt2_msg *msg = reply->msg; in convert_type86_xcrb()
628 char *data = reply->msg; in convert_type86_xcrb()
[all …]
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-6.8/sound/soc/sof/intel/
Dhda-ipc.c27 * interrupt and send reply msg to dsp in hda_dsp_ipc_host_done()
44 * set DONE bit - tell DSP we have received the reply msg in hda_dsp_ipc_dsp_done()
45 * from DSP, and processed it, don't send more reply to host in hda_dsp_ipc_dsp_done()
125 struct sof_ipc_reply reply; in hda_dsp_ipc_get_reply() local
129 * Sometimes, there is unexpected reply ipc arriving. The reply in hda_dsp_ipc_get_reply()
142 * memory windows are powered off before sending IPC reply, in hda_dsp_ipc_get_reply()
146 reply.error = 0; in hda_dsp_ipc_get_reply()
147 reply.hdr.cmd = SOF_IPC_GLB_REPLY; in hda_dsp_ipc_get_reply()
148 reply.hdr.size = sizeof(reply); in hda_dsp_ipc_get_reply()
149 memcpy(msg->reply_data, &reply, sizeof(reply)); in hda_dsp_ipc_get_reply()
[all …]
/linux-6.8/include/uapi/linux/
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-6.8/arch/um/drivers/
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()
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()
[all …]
/linux-6.8/net/sunrpc/xprtrdma/
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.
363 * svc_rdma_encode_read_list - Encode RPC Reply's Read chunk list
[all …]
/linux-6.8/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
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-6.8/net/ethtool/
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()
107 struct eeprom_reply_data *reply = MODULE_EEPROM_REPDATA(reply_base); in eeprom_prepare_data() local
130 reply->length = ret; in eeprom_prepare_data()
131 reply->data = page_data.data; in eeprom_prepare_data()
142 return eeprom_fallback(request, reply); in eeprom_prepare_data()
203 struct eeprom_reply_data *reply = MODULE_EEPROM_REPDATA(reply_base); in eeprom_fill_reply() local
205 return nla_put(skb, ETHTOOL_A_MODULE_EEPROM_DATA, reply->length, reply->data); in eeprom_fill_reply()
[all …]
/linux-6.8/net/netfilter/
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-6.8/tools/net/ynl/
Dethtool.py39 def print_field(reply, *desc): argument
41 Pretty-print a set of fields from the reply. desc specifies the
45 return print_field(reply, *zip(reply.keys(), reply.keys()))
54 value = reply.get(field, None)
90 reply = ynl.dump(op_name, { 'header': {} } | extra)
91 if not reply:
94 for msg in reply:
223 reply = dumpit(ynl, args, 'features-get')
224 available = bits_to_dict(reply['hw'])
225 requested = bits_to_dict(reply['wanted']).keys()
[all …]
/linux-6.8/sound/soc/sof/
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-6.8/sound/soc/intel/avs/
Dipc.c288 * Response may either be solicited - a reply for a request that has in avs_dsp_process_response()
404 * Firmware did its job, either notification or reply in avs_ipc_wait_busy_completion()
414 /* Reply delayed due to notification. */ in avs_ipc_wait_busy_completion()
429 static void avs_ipc_msg_init(struct avs_ipc *ipc, struct avs_ipc_msg *reply) in avs_ipc_msg_init() argument
434 ipc->rx.size = reply ? reply->size : 0; in avs_ipc_msg_init()
458 struct avs_ipc_msg *reply, int timeout, const char *name) in avs_dsp_do_send_msg() argument
469 avs_ipc_msg_init(ipc, reply); in avs_dsp_do_send_msg()
498 if (reply) { in avs_dsp_do_send_msg()
499 reply->header = ipc->rx.header; in avs_dsp_do_send_msg()
500 reply->size = ipc->rx.size; in avs_dsp_do_send_msg()
[all …]

12345678910>>...45