/kernel/linux/linux-5.10/fs/dlm/ |
D | midcomms.c | 42 uint16_t msglen; in dlm_process_incoming_buffer() local 51 msglen = get_unaligned_le16(&hd->h_length); in dlm_process_incoming_buffer() 52 if (msglen > DEFAULT_BUFFER_SIZE || in dlm_process_incoming_buffer() 53 msglen < sizeof(struct dlm_header)) { in dlm_process_incoming_buffer() 55 msglen, nodeid); in dlm_process_incoming_buffer() 62 if (msglen > len) in dlm_process_incoming_buffer() 67 if (msglen < sizeof(struct dlm_message)) { in dlm_process_incoming_buffer() 69 msglen); in dlm_process_incoming_buffer() 75 if (msglen < sizeof(struct dlm_rcom)) { in dlm_process_incoming_buffer() 77 msglen); in dlm_process_incoming_buffer() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
D | p80211metastruct.h | 52 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 …]
|
D | p80211msg.h | 56 u32 msglen; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | vendor.c | 29 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()
|
/kernel/linux/linux-5.10/include/linux/avf/ |
D | virtchnl.h | 680 u8 *msg, u16 msglen) in virtchnl_vc_validate_vf_msg() argument 704 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() 716 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() 732 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() 744 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() 763 if (msglen) in virtchnl_vc_validate_vf_msg() 764 valid_len = msglen; in virtchnl_vc_validate_vf_msg() 772 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() 785 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() 793 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() [all …]
|
/kernel/linux/linux-5.10/tools/spi/ |
D | spidev_fdx.c | 110 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()
|
/kernel/linux/linux-5.10/drivers/net/hyperv/ |
D | netvsc.c | 749 u32 msglen = hv_pkt_datalen(desc); in netvsc_send_completion() local 752 if (msglen < sizeof(struct nvsp_message_header)) { in netvsc_send_completion() 753 netdev_err(ndev, "nvsp_message length too small: %u\n", msglen); in netvsc_send_completion() 759 if (msglen < sizeof(struct nvsp_message_header) + in netvsc_send_completion() 762 msglen); in netvsc_send_completion() 768 if (msglen < sizeof(struct nvsp_message_header) + in netvsc_send_completion() 771 msglen); in netvsc_send_completion() 777 if (msglen < sizeof(struct nvsp_message_header) + in netvsc_send_completion() 780 msglen); in netvsc_send_completion() 786 if (msglen < sizeof(struct nvsp_message_header) + in netvsc_send_completion() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_sriov.c | 24 u8 *msg, u16 msglen, struct ice_sq_cd *cd) in ice_aq_send_msg_to_vf() argument 37 if (msglen) in ice_aq_send_msg_to_vf() 40 return ice_sq_send_cmd(hw, &hw->mailboxq, &desc, msg, msglen, cd); in ice_aq_send_msg_to_vf()
|
D | ice_sriov.h | 12 u8 *msg, u16 msglen, struct ice_sq_cd *cd); 20 u16 __always_unused msglen, in ice_aq_send_msg_to_vf() argument
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nfnetlink.c | 380 int msglen, type; in nfnetlink_rcv_batch() local 495 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnetlink_rcv_batch() 496 if (msglen > skb->len) in nfnetlink_rcv_batch() 497 msglen = skb->len; in nfnetlink_rcv_batch() 498 skb_pull(skb, msglen); in nfnetlink_rcv_batch() 552 int msglen, err; in nfnetlink_rcv_skb_batch() local 556 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnetlink_rcv_skb_batch() 557 if (msglen > skb->len) in nfnetlink_rcv_skb_batch() 558 msglen = skb->len; in nfnetlink_rcv_skb_batch() 573 skb_pull(skb, msglen); in nfnetlink_rcv_skb_batch()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | netlink.c | 216 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()
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
D | qmi_interface.c | 529 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()
|
D | qmi_encdec.c | 720 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()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/scsi/ |
D | scsi_netlink.h | 31 __u16 msglen; member 50 …(hdr)->transport = t; (hdr)->magic = SCSI_NL_MAGIC; (hdr)->msgtype = mtype; (hdr)->msglen = mlen; }
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/scsi/ |
D | scsi_netlink.h | 19 uint16_t msglen; member 46 (hdr)->msglen = mlen; \
|
/kernel/linux/linux-5.10/include/uapi/scsi/ |
D | scsi_netlink.h | 33 __u16 msglen; member 105 (hdr)->msglen = mlen; \
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | rtas_flash.c | 391 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()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-imx-lpi2c.c | 102 unsigned int msglen; member 343 remaining = lpi2c_imx->msglen - lpi2c_imx->delivered; in lpi2c_imx_set_rx_watermark() 360 if (lpi2c_imx->delivered == lpi2c_imx->msglen) in lpi2c_imx_write_txfifo() 368 if (lpi2c_imx->delivered < lpi2c_imx->msglen) in lpi2c_imx_write_txfifo() 393 lpi2c_imx->msglen += blocklen; in lpi2c_imx_read_rxfifo() 396 remaining = lpi2c_imx->msglen - lpi2c_imx->delivered; in lpi2c_imx_read_rxfifo() 466 lpi2c_imx->msglen = msgs[i].len; in lpi2c_imx_xfer()
|
/kernel/linux/linux-5.10/drivers/char/tpm/ |
D | tpm_i2c_infineon.c | 110 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()
|
/kernel/linux/linux-5.10/lib/ |
D | digsig.c | 31 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()
|
/kernel/linux/linux-5.10/drivers/staging/hievent/ |
D | hiview_hievent.c | 295 char sn, const char *msg, int msglen) in logbuff_to_exception() argument 298 size_t buf_len = sizeof(int) + sizeof(struct idap_header) + msglen; in logbuff_to_exception() 315 memcpy(buffer + sizeof(int) + sizeof(struct idap_header), msg, msglen); in logbuff_to_exception()
|
/kernel/linux/linux-5.10/drivers/scsi/arm/ |
D | fas216.c | 1052 static void fas216_parse_message(FAS216_Info *info, unsigned char *message, int msglen) in fas216_parse_message() argument 1058 if (msglen != 1) in fas216_parse_message() 1067 if (msglen != 1) in fas216_parse_message() 1086 if (msglen != 1) in fas216_parse_message() 1099 if (msglen != 1) in fas216_parse_message() 1106 if (msglen != 1) in fas216_parse_message() 1124 if (msglen < 3) in fas216_parse_message() 1145 for (i = 0; i < msglen; i++) in fas216_parse_message() 1229 unsigned int msglen = 1; in fas216_message() local 1242 for (msglen = 2; msglen < message[1] + 2; msglen++) { in fas216_message() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/crypto/ |
D | aes-ce-ccm-glue.c | 61 static int ccm_init_mac(struct aead_request *req, u8 maciv[], u32 msglen) in ccm_init_mac() argument 72 if (l < 4 && msglen >> (8 * l)) in ccm_init_mac() 80 n[1] = cpu_to_be32(msglen); in ccm_init_mac()
|
/kernel/linux/linux-5.10/net/qrtr/ |
D | ns.c | 676 ssize_t msglen; in qrtr_ns_worker() local 692 msglen = kernel_recvmsg(qrtr_ns.sock, &msg, &iv, 1, in qrtr_ns_worker() 695 if (msglen == -EAGAIN) in qrtr_ns_worker() 698 if (msglen < 0) { in qrtr_ns_worker() 699 pr_err("error receiving packet: %zd\n", msglen); in qrtr_ns_worker()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | nfs4recover.c | 63 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,
|