Home
last modified time | relevance | path

Searched refs:msg_sz (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/fs/smb/server/
Dtransport_ipc.c68 unsigned int msg_sz; member
245 size_t msg_sz = sz + sizeof(struct ksmbd_ipc_msg); in ipc_msg_alloc() local
247 msg = kvzalloc(msg_sz, GFP_KERNEL); in ipc_msg_alloc()
293 entry->msg_sz = sz; in handle_response()
474 unsigned int msg_sz = entry->msg_sz; in ipc_validate_msg() local
481 msg_sz = sizeof(struct ksmbd_rpc_command) + resp->payload_sz; in ipc_validate_msg()
488 msg_sz = sizeof(struct ksmbd_spnego_authen_response) + in ipc_validate_msg()
500 msg_sz = sizeof(struct ksmbd_share_config_response) + in ipc_validate_msg()
510 msg_sz = sizeof(struct ksmbd_login_response_ext) + in ipc_validate_msg()
516 return entry->msg_sz != msg_sz ? -EINVAL : 0; in ipc_validate_msg()
/linux-6.12.1/drivers/input/serio/
Dhyperv-keyboard.c188 u32 msg_sz; in hv_kbd_handle_received_packet() local
214 msg_sz = bytes_recvd - (desc->offset8 << 3); in hv_kbd_handle_received_packet()
215 if (msg_sz <= sizeof(struct synth_kbd_msg_hdr)) { in hv_kbd_handle_received_packet()
222 desc->type, req_id, msg_sz); in hv_kbd_handle_received_packet()
227 hv_kbd_on_receive(hv_dev, msg, msg_sz); in hv_kbd_handle_received_packet()
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ctrl_net.c360 static u16 msg_sz = sizeof(union octep_ctrl_net_max_data); in octep_ctrl_net_recv_fw_messages() local
365 msg.hdr.s.sz = msg_sz; in octep_ctrl_net_recv_fw_messages()
367 msg.sg_list[0].sz = msg_sz; in octep_ctrl_net_recv_fw_messages()
371 msg.hdr.s.sz = msg_sz; in octep_ctrl_net_recv_fw_messages()
/linux-6.12.1/drivers/virt/coco/sev-guest/
Dsev-guest.c247 sg_set_buf(&src[1], src_buf, hdr->msg_sz); in enc_dec_message()
252 sg_set_buf(&dst[1], dst_buf, hdr->msg_sz); in enc_dec_message()
301 resp_msg_hdr->msg_sz); in verify_and_dec_payload()
319 if (unlikely((resp_msg_hdr->msg_sz + crypto->a_len) > sz)) in verify_and_dec_payload()
323 return dec_payload(snp_dev, resp_msg, payload, resp_msg_hdr->msg_sz + crypto->a_len); in verify_and_dec_payload()
341 hdr->msg_sz = sz; in enc_payload()
348 hdr->msg_seqno, hdr->msg_type, hdr->msg_version, hdr->msg_sz); in enc_payload()
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_hdcp_gsc_message.h40 size_t *msg_sz);
Dintel_hdcp_gsc_message.c74 size_t *msg_sz) in intel_hdcp_gsc_verify_receiver_cert_prepare_km() argument
82 if (!dev || !data || !rx_cert || !km_stored || !ek_pub_km || !msg_sz) in intel_hdcp_gsc_verify_receiver_cert_prepare_km()
125 *msg_sz = sizeof(struct hdcp2_ake_stored_km); in intel_hdcp_gsc_verify_receiver_cert_prepare_km()
128 *msg_sz = sizeof(struct hdcp2_ake_no_stored_km); in intel_hdcp_gsc_verify_receiver_cert_prepare_km()
Dintel_hdmi.c1630 ssize_t *msg_sz) in hdcp2_detect_msg_availability() argument
1643 *msg_sz = ((HDCP_2_2_HDMI_RXSTATUS_MSG_SZ_HI(rx_status[1]) << 8) | in hdcp2_detect_msg_availability()
1648 *msg_sz); in hdcp2_detect_msg_availability()
1650 *msg_ready = *msg_sz; in hdcp2_detect_msg_availability()
1662 ssize_t msg_sz = 0; in intel_hdmi_hdcp2_wait_for_msg() local
1670 &msg_sz), in intel_hdmi_hdcp2_wait_for_msg()
1671 !ret && msg_ready && msg_sz, timeout * 1000, in intel_hdmi_hdcp2_wait_for_msg()
1678 return ret ? ret : msg_sz; in intel_hdmi_hdcp2_wait_for_msg()
Dintel_hdcp.c1230 size_t *msg_sz) in hdcp2_verify_rx_cert_prepare_km() argument
1248 ek_pub_km, msg_sz); in hdcp2_verify_rx_cert_prepare_km()
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/
Dkey-management.c890 const size_t msg_sz, const size_t msg_nr) in run_client() argument
921 if (test_client_verify(sk, msg_sz, msg_nr, TEST_TIMEOUT_SEC)) { in run_client()
935 const size_t msg_sz, const size_t msg_nr) in start_client() argument
941 rnext_index, before, msg_sz, msg_nr); in start_client()
1027 const size_t msg_sz, const size_t msg_nr) in client_non_matching() argument
1043 rnext_index, NULL, msg_sz, msg_nr); in client_non_matching()
/linux-6.12.1/drivers/misc/mei/hdcp/
Dmei_hdcp.c112 size_t *msg_sz) in mei_hdcp_verify_receiver_cert_prepare_km() argument
119 if (!dev || !data || !rx_cert || !km_stored || !ek_pub_km || !msg_sz) in mei_hdcp_verify_receiver_cert_prepare_km()
162 *msg_sz = sizeof(struct hdcp2_ake_stored_km); in mei_hdcp_verify_receiver_cert_prepare_km()
165 *msg_sz = sizeof(struct hdcp2_ake_no_stored_km); in mei_hdcp_verify_receiver_cert_prepare_km()
/linux-6.12.1/include/drm/intel/
Di915_hdcp_interface.h138 size_t *msg_sz);
/linux-6.12.1/arch/x86/include/asm/
Dsev.h159 u16 msg_sz; member
/linux-6.12.1/drivers/staging/fieldbus/anybuss/
Dhost.c813 size_t msg_sz = max(msg_in_sz, msg_out_sz); in _anybus_mbox_cmd() local
817 if (msg_sz > MAX_MBOX_MSG_SZ) in _anybus_mbox_cmd()
/linux-6.12.1/drivers/misc/
Dfastrpc.c241 u64 msg_sz; member
955 ctx->msg_sz = pkt_size; in fastrpc_get_args()
1128 msg->size = roundup(ctx->msg_sz, PAGE_SIZE); in fastrpc_invoke_send()