Home
last modified time | relevance | path

Searched refs:msglen (Results 1 – 25 of 66) sorted by relevance

123

/linux-6.3-rc2/drivers/staging/wlan-ng/
A Dp80211metastruct.h52 u32 msglen; member
60 u32 msglen; member
68 u32 msglen; member
88 u32 msglen; member
137 u32 msglen; member
175 u32 msglen; member
183 u32 msglen; member
197 u32 msglen; member
206 u32 msglen; member
218 u32 msglen; member
[all …]
A Dp80211msg.h56 u32 msglen; member
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dvendor.c29 u16 msglen, maxmsglen = PAGE_SIZE - 0x100; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local
78 msglen = ret_len > maxmsglen ? maxmsglen : ret_len; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
79 ret_len -= msglen; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
80 payload = msglen + sizeof(msglen); 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()
98 wr_pointer += msglen; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
/linux-6.3-rc2/fs/dlm/
A Dmidcomms.c677 int len = msglen; in dlm_opts_check_msglen()
885 uint16_t msglen; in dlm_validate_incoming_buffer() local
913 if (msglen > len) in dlm_validate_incoming_buffer()
916 ret += msglen; in dlm_validate_incoming_buffer()
917 len -= msglen; in dlm_validate_incoming_buffer()
918 ptr += msglen; in dlm_validate_incoming_buffer()
932 uint16_t msglen; in dlm_process_incoming_buffer() local
939 if (msglen > len) in dlm_process_incoming_buffer()
955 ret += msglen; in dlm_process_incoming_buffer()
956 len -= msglen; in dlm_process_incoming_buffer()
[all …]
/linux-6.3-rc2/tools/spi/
A Dspidev_fdx.c110 int msglen = 0; in main() local
117 msglen = atoi(optarg); in main()
118 if (msglen < 0) in main()
151 if (msglen) in main()
152 do_msg(fd, msglen); in main()
/linux-6.3-rc2/drivers/net/hyperv/
A Dnetvsc.c851 u32 msglen = hv_pkt_datalen(desc); in netvsc_send_completion() local
857 if (!msglen) { in netvsc_send_completion()
889 msglen); in netvsc_send_completion()
898 msglen); in netvsc_send_completion()
907 msglen); in netvsc_send_completion()
916 msglen); in netvsc_send_completion()
930 msglen); in netvsc_send_completion()
1443 msglen); in netvsc_receive()
1538 u32 msglen) in netvsc_send_table() argument
1569 if (msglen < count * sizeof(u32) || offset > msglen - count * sizeof(u32)) { in netvsc_send_table()
[all …]
/linux-6.3-rc2/include/linux/avf/
A Dvirtchnl.h1381 u8 *msg, u16 msglen) in virtchnl_vc_validate_vf_msg() argument
1405 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
1417 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
1433 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
1445 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
1464 if (msglen) in virtchnl_vc_validate_vf_msg()
1465 valid_len = msglen; in virtchnl_vc_validate_vf_msg()
1473 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
1483 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
1491 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
[all …]
/linux-6.3-rc2/drivers/infiniband/core/
A Dnetlink.c216 int msglen; in rdma_nl_rcv_skb() local
248 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in rdma_nl_rcv_skb()
249 if (msglen > skb->len) in rdma_nl_rcv_skb()
250 msglen = skb->len; in rdma_nl_rcv_skb()
251 skb_pull(skb, msglen); in rdma_nl_rcv_skb()
/linux-6.3-rc2/drivers/soc/qcom/
A Dqmi_interface.c530 ssize_t msglen; in qmi_data_ready_work() local
538 msglen = kernel_recvmsg(qmi->sock, &msg, &iv, 1, in qmi_data_ready_work()
541 msglen = -EPIPE; in qmi_data_ready_work()
543 if (msglen == -EAGAIN) in qmi_data_ready_work()
546 if (msglen == -ENETRESET) { in qmi_data_ready_work()
553 if (msglen < 0) { in qmi_data_ready_work()
554 pr_err("qmi recvmsg failed: %zd\n", msglen); in qmi_data_ready_work()
560 qmi_recv_ctrl_pkt(qmi, qmi->recv_buf, msglen); in qmi_data_ready_work()
562 ops->msg_handler(qmi, &sq, qmi->recv_buf, msglen); in qmi_data_ready_work()
564 qmi_handle_message(qmi, &sq, qmi->recv_buf, msglen); in qmi_data_ready_work()
A Dqmi_encdec.c720 ssize_t msglen = 0; in qmi_encode_message() local
740 msglen = qmi_encode(ei, msg + sizeof(*hdr), c_struct, *len, 1); in qmi_encode_message()
741 if (msglen < 0) { in qmi_encode_message()
743 return ERR_PTR(msglen); in qmi_encode_message()
751 hdr->msg_len = msglen; in qmi_encode_message()
753 *len = sizeof(*hdr) + msglen; in qmi_encode_message()
/linux-6.3-rc2/net/netfilter/
A Dnfnetlink.c431 int msglen, type; in nfnetlink_rcv_batch() local
555 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnetlink_rcv_batch()
556 if (msglen > skb->len) in nfnetlink_rcv_batch()
557 msglen = skb->len; in nfnetlink_rcv_batch()
558 skb_pull(skb, msglen); in nfnetlink_rcv_batch()
612 int msglen, err; in nfnetlink_rcv_skb_batch() local
616 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnetlink_rcv_skb_batch()
617 if (msglen > skb->len) in nfnetlink_rcv_skb_batch()
618 msglen = skb->len; in nfnetlink_rcv_skb_batch()
633 skb_pull(skb, msglen); in nfnetlink_rcv_skb_batch()
/linux-6.3-rc2/include/uapi/scsi/
A Dscsi_netlink.h33 __u16 msglen; member
105 (hdr)->msglen = mlen; \
/linux-6.3-rc2/arch/powerpc/kernel/
A Drtas_flash.c391 int msglen, status; in manage_flash_read() local
397 msglen = sprintf(msg, "%d\n", status); in manage_flash_read()
398 return simple_read_from_buffer(buf, count, ppos, msg, msglen); in manage_flash_read()
466 char *msg, int msglen) in get_validate_flash_msg() argument
474 n += snprintf(msg + n, msglen - n, "%s\n", in get_validate_flash_msg()
488 int msglen; in validate_flash_read() local
491 msglen = get_validate_flash_msg(args_buf, msg, VALIDATE_MSG_LEN); in validate_flash_read()
494 return simple_read_from_buffer(buf, count, ppos, msg, msglen); in validate_flash_read()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_vf_mbx.h19 u8 *msg, u16 msglen, struct ice_sq_cd *cd);
38 u16 __always_unused msglen, in ice_aq_send_msg_to_vf() argument
A Dice_vf_mbx.c23 u8 *msg, u16 msglen, struct ice_sq_cd *cd) in ice_aq_send_msg_to_vf() argument
36 if (msglen) in ice_aq_send_msg_to_vf()
39 return ice_sq_send_cmd(hw, &hw->mailboxq, &desc, msg, msglen, cd); in ice_aq_send_msg_to_vf()
A Dice_virtchnl.h64 enum virtchnl_status_code v_retval, u8 *msg, u16 msglen);
75 enum virtchnl_status_code v_retval, u8 *msg, u16 msglen) in ice_vc_send_msg_to_vf() argument
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-imx-lpi2c.c103 unsigned int msglen; member
344 remaining = lpi2c_imx->msglen - lpi2c_imx->delivered; in lpi2c_imx_set_rx_watermark()
361 if (lpi2c_imx->delivered == lpi2c_imx->msglen) in lpi2c_imx_write_txfifo()
369 if (lpi2c_imx->delivered < lpi2c_imx->msglen) in lpi2c_imx_write_txfifo()
394 lpi2c_imx->msglen += blocklen; in lpi2c_imx_read_rxfifo()
397 remaining = lpi2c_imx->msglen - lpi2c_imx->delivered; in lpi2c_imx_read_rxfifo()
467 lpi2c_imx->msglen = msgs[i].len; in lpi2c_imx_xfer()
/linux-6.3-rc2/drivers/char/tpm/
A Dtpm_i2c_infineon.c110 unsigned int msglen = len; in iic_tpm_read() local
155 msglen = min_t(unsigned int, in iic_tpm_read()
158 msg2.len = msglen; in iic_tpm_read()
168 if (msglen > len) in iic_tpm_read()
171 len -= msglen; in iic_tpm_read()
172 msg2.buf += msglen; in iic_tpm_read()
/linux-6.3-rc2/lib/
A Ddigsig.c31 unsigned long msglen, in pkcs_1_v1_5_decode_emsa() argument
40 if ((msglen > modulus_len) || (modulus_len < 11)) in pkcs_1_v1_5_decode_emsa()
59 *outlen = (msglen - (2 + ps_len + 1)); in pkcs_1_v1_5_decode_emsa()
/linux-6.3-rc2/arch/arm64/crypto/
A Dsm4-ce-ccm-glue.c54 unsigned int msglen) in ccm_format_input() argument
64 if (l < 4 && msglen >> (8 * l)) in ccm_format_input()
85 len = cpu_to_be32(msglen); in ccm_format_input()
A Daes-ce-ccm-glue.c59 static int ccm_init_mac(struct aead_request *req, u8 maciv[], u32 msglen) in ccm_init_mac() argument
70 if (l < 4 && msglen >> (8 * l)) in ccm_init_mac()
78 n[1] = cpu_to_be32(msglen); in ccm_init_mac()
/linux-6.3-rc2/net/mctp/
A Daf_mctp.c212 size_t msglen; in mctp_recvmsg() local
230 msglen = skb->len - 1; in mctp_recvmsg()
232 if (len < msglen) in mctp_recvmsg()
235 len = msglen; in mctp_recvmsg()
274 rc = msglen; in mctp_recvmsg()
/linux-6.3-rc2/drivers/scsi/arm/
A Dfas216.c1062 if (msglen != 1) in fas216_parse_message()
1071 if (msglen != 1) in fas216_parse_message()
1091 if (msglen != 1) in fas216_parse_message()
1104 if (msglen != 1) in fas216_parse_message()
1111 if (msglen != 1) in fas216_parse_message()
1129 if (msglen < 3) in fas216_parse_message()
1150 for (i = 0; i < msglen; i++) in fas216_parse_message()
1234 unsigned int msglen = 1; in fas216_message() local
1247 for (msglen = 2; msglen < message[1] + 2; msglen++) { in fas216_message()
1251 message[msglen] = msgbyte; in fas216_message()
[all …]
/linux-6.3-rc2/net/qrtr/
A Dns.c672 ssize_t msglen; in qrtr_ns_worker() local
688 msglen = kernel_recvmsg(qrtr_ns.sock, &msg, &iv, 1, in qrtr_ns_worker()
691 if (msglen == -EAGAIN) in qrtr_ns_worker()
694 if (msglen < 0) { in qrtr_ns_worker()
695 pr_err("error receiving packet: %zd\n", msglen); in qrtr_ns_worker()
/linux-6.3-rc2/fs/nfsd/
A Dnfs4recover.c63 size_t msglen; member
721 .msglen = 0,
758 msg.len = nn->client_tracking_ops->msglen; in __cld_pipe_upcall()
846 return nn->client_tracking_ops->msglen; in __cld_pipe_inprogress_downcall()
863 if (mlen != nn->client_tracking_ops->msglen) { in cld_pipe_downcall()
865 nn->client_tracking_ops->msglen); in cld_pipe_downcall()
1639 .msglen = sizeof(struct cld_msg),
1651 .msglen = sizeof(struct cld_msg),
1663 .msglen = sizeof(struct cld_msg_v2),
2007 .msglen = 0,

Completed in 58 milliseconds

123