/linux-6.14.4/net/openvswitch/ |
D | meter.c | 232 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 …]
|
D | datapath.c | 72 /* 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-6.14.4/drivers/mfd/ |
D | qnap-mcu.c | 36 * struct qnap_mcu_reply - Reply to a command 38 * @data: Buffer to store reply payload in 39 * @length: Expected reply length, including the checksum 41 * @done: Triggered when the entire reply has been received 55 * @reply: Reply data structure 62 struct qnap_mcu_reply reply; member 103 struct qnap_mcu_reply *reply = &mcu->reply; in qnap_mcu_receive_buf() local 107 if (!reply->length) { in qnap_mcu_receive_buf() 113 reply->data[reply->received] = *src++; in qnap_mcu_receive_buf() 114 reply->received++; in qnap_mcu_receive_buf() [all …]
|
D | rave-sp.c | 93 * 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.14.4/drivers/thunderbolt/ |
D | icm.c | 54 * @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.14.4/net/bridge/ |
D | br_arp_nd_proxy.c | 184 /* 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.14.4/sound/soc/sof/amd/ |
D | acp-ipc.c | 99 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.14.4/tools/testing/selftests/net/forwarding/ |
D | router_broadcast.sh | 174 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.14.4/sound/soc/intel/catpt/ |
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() 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 …]
|
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() 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.14.4/drivers/net/ethernet/netronome/nfp/bpf/ |
D | cmsg.c | 60 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-6.14.4/Documentation/userspace-api/media/cec/ |
D | cec-ioc-receive.rst | 55 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.14.4/Documentation/netlink/specs/ |
D | devlink.yaml | 1245 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.14.4/drivers/net/wireless/ath/wil6210/ |
D | wmi.c | 2040 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.14.4/drivers/s390/crypto/ |
D | zcrypt_msgtype6.c | 30 #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 …]
|
/linux-6.14.4/include/linux/ |
D | turris-omnia-mcu-interface.h | 272 void *reply, unsigned int reply_len); 311 void *reply, unsigned int len) in omnia_cmd_read() argument 313 return omnia_cmd_write_read(client, &cmd, 1, reply, len); in omnia_cmd_read() 330 __le32 reply; in omnia_cmd_read_bits() local 338 err = omnia_cmd_read(client, cmd, &reply, in omnia_cmd_read_bits() 343 *dst = le32_to_cpu(reply) & bits; in omnia_cmd_read_bits() 351 unsigned long reply; in omnia_cmd_read_bit() local 354 err = omnia_cmd_read_bits(client, cmd, bit, &reply); in omnia_cmd_read_bit() 358 return !!reply; in omnia_cmd_read_bit() 364 __le32 reply; in omnia_cmd_read_u32() local [all …]
|
/linux-6.14.4/include/uapi/linux/ |
D | cec-funcs.h | 59 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.14.4/arch/um/drivers/ |
D | mconsole_user.c | 40 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-6.14.4/net/sunrpc/xprtrdma/ |
D | svc_rdma_sendto.c | 48 * 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-6.14.4/net/ethtool/ |
D | eeprom.c | 54 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-6.14.4/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
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 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.14.4/net/netfilter/ |
D | nf_conntrack_sane.c | 71 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.14.4/drivers/platform/cznic/ |
D | turris-omnia-mcu-base.c | 28 void *reply, unsigned int reply_len) in omnia_cmd_write_read() argument 43 msgs[1].buf = reply; in omnia_cmd_write_read() 60 u8 reply[OMNIA_FW_VERSION_LEN]; in omnia_get_version_hash() local 67 reply, sizeof(reply)); in omnia_get_version_hash() 71 p = bin2hex(version, reply, OMNIA_FW_VERSION_LEN); in omnia_get_version_hash() 128 u8 reply; in reset_selector_show() local 132 &reply); in reset_selector_show() 136 return sysfs_emit(buf, "%d\n", reply); in reset_selector_show() 334 u8 reply[1 + OMNIA_BOARD_INFO_LEN]; in omnia_mcu_read_board_info() local 337 err = omnia_cmd_read(mcu->client, OMNIA_CMD_BOARD_INFO_GET, reply, in omnia_mcu_read_board_info() [all …]
|
/linux-6.14.4/drivers/media/cec/usb/extron-da-hd-4k-plus/ |
D | cec-splitter.c | 12 * 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-6.14.4/sound/soc/intel/avs/ |
D | ipc.c | 290 * 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() argument 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() argument 401 avs_ipc_msg_init(ipc, reply); in avs_dsp_do_send_msg() 430 if (reply) { in avs_dsp_do_send_msg() 431 reply->header = ipc->rx.header; in avs_dsp_do_send_msg() 432 reply->size = ipc->rx.size; in avs_dsp_do_send_msg() [all …]
|