Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/staging/wlan-ng/
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 …]
Dp80211msg.h56 u32 msglen; member
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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.1.9/fs/dlm/
Dmidcomms.c561 uint16_t msglen, int (*cb)(struct midcomms_node *node)) in dlm_midcomms_recv_node_lookup() argument
569 if (msglen < sizeof(struct dlm_rcom)) { in dlm_midcomms_recv_node_lookup()
571 msglen, nodeid); in dlm_midcomms_recv_node_lookup()
628 if (msglen < sizeof(struct dlm_opts)) { in dlm_midcomms_recv_node_lookup()
630 msglen, nodeid); in dlm_midcomms_recv_node_lookup()
672 static int dlm_opts_check_msglen(union dlm_packet *p, uint16_t msglen, int nodeid) in dlm_opts_check_msglen() argument
674 int len = msglen; in dlm_opts_check_msglen()
699 msglen, nodeid); in dlm_opts_check_msglen()
723 uint16_t msglen = le16_to_cpu(p->header.h_length); in dlm_midcomms_receive_buffer_3_2() local
729 node = dlm_midcomms_recv_node_lookup(nodeid, p, msglen, in dlm_midcomms_receive_buffer_3_2()
[all …]
/linux-6.1.9/tools/spi/
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.1.9/drivers/net/hyperv/
Dnetvsc.c851 u32 msglen = hv_pkt_datalen(desc); in netvsc_send_completion() local
856 if (!msglen) { in netvsc_send_completion()
877 if (msglen < sizeof(struct nvsp_message_header)) { in netvsc_send_completion()
878 netdev_err(ndev, "nvsp_message length too small: %u\n", msglen); in netvsc_send_completion()
885 if (msglen < sizeof(struct nvsp_message_header) + in netvsc_send_completion()
888 msglen); in netvsc_send_completion()
894 if (msglen < sizeof(struct nvsp_message_header) + in netvsc_send_completion()
897 msglen); in netvsc_send_completion()
903 if (msglen < sizeof(struct nvsp_message_header) + in netvsc_send_completion()
906 msglen); in netvsc_send_completion()
[all …]
/linux-6.1.9/include/linux/avf/
Dvirtchnl.h1353 u8 *msg, u16 msglen) in virtchnl_vc_validate_vf_msg() argument
1377 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
1389 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
1405 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
1417 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
1436 if (msglen) in virtchnl_vc_validate_vf_msg()
1437 valid_len = msglen; in virtchnl_vc_validate_vf_msg()
1445 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
1458 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
1466 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg()
[all …]
/linux-6.1.9/drivers/infiniband/core/
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.1.9/drivers/soc/qcom/
Dqmi_interface.c529 ssize_t msglen; in qmi_data_ready_work() local
537 msglen = kernel_recvmsg(qmi->sock, &msg, &iv, 1, in qmi_data_ready_work()
540 msglen = -EPIPE; in qmi_data_ready_work()
542 if (msglen == -EAGAIN) in qmi_data_ready_work()
545 if (msglen == -ENETRESET) { in qmi_data_ready_work()
552 if (msglen < 0) { in qmi_data_ready_work()
553 pr_err("qmi recvmsg failed: %zd\n", msglen); in qmi_data_ready_work()
559 qmi_recv_ctrl_pkt(qmi, qmi->recv_buf, msglen); in qmi_data_ready_work()
561 ops->msg_handler(qmi, &sq, qmi->recv_buf, msglen); in qmi_data_ready_work()
563 qmi_handle_message(qmi, &sq, qmi->recv_buf, msglen); in qmi_data_ready_work()
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.1.9/net/netfilter/
Dnfnetlink.c430 int msglen, type; in nfnetlink_rcv_batch() local
554 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnetlink_rcv_batch()
555 if (msglen > skb->len) in nfnetlink_rcv_batch()
556 msglen = skb->len; in nfnetlink_rcv_batch()
557 skb_pull(skb, msglen); in nfnetlink_rcv_batch()
611 int msglen, err; in nfnetlink_rcv_skb_batch() local
615 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnetlink_rcv_skb_batch()
616 if (msglen > skb->len) in nfnetlink_rcv_skb_batch()
617 msglen = skb->len; in nfnetlink_rcv_skb_batch()
632 skb_pull(skb, msglen); in nfnetlink_rcv_skb_batch()
/linux-6.1.9/include/uapi/scsi/
Dscsi_netlink.h33 __u16 msglen; member
105 (hdr)->msglen = mlen; \
/linux-6.1.9/arch/powerpc/kernel/
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.1.9/drivers/net/ethernet/intel/ice/
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
Dice_virtchnl.h60 enum virtchnl_status_code v_retval, u8 *msg, u16 msglen);
71 enum virtchnl_status_code v_retval, u8 *msg, u16 msglen) in ice_vc_send_msg_to_vf() argument
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()
/linux-6.1.9/drivers/i2c/busses/
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.1.9/drivers/char/tpm/
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.1.9/lib/
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.1.9/arch/arm64/crypto/
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.1.9/net/mctp/
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.1.9/drivers/scsi/arm/
Dfas216.c1055 static void fas216_parse_message(FAS216_Info *info, unsigned char *message, int msglen) in fas216_parse_message() argument
1062 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()
[all …]
/linux-6.1.9/net/qrtr/
Dns.c668 ssize_t msglen; in qrtr_ns_worker() local
684 msglen = kernel_recvmsg(qrtr_ns.sock, &msg, &iv, 1, in qrtr_ns_worker()
687 if (msglen == -EAGAIN) in qrtr_ns_worker()
690 if (msglen < 0) { in qrtr_ns_worker()
691 pr_err("error receiving packet: %zd\n", msglen); in qrtr_ns_worker()
/linux-6.1.9/fs/nfsd/
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,
/linux-6.1.9/drivers/scsi/
Dscsi_netlink.c71 if (nlh->nlmsg_len < (sizeof(*nlh) + hdr->msglen)) { in scsi_nl_rcv_msg()

123