/linux/drivers/staging/wlan-ng/ |
A 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 …]
|
A D | p80211msg.h | 56 u32 msglen; member
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A 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()
|
/linux/fs/dlm/ |
A D | midcomms.c | 566 msglen, nodeid); in dlm_midcomms_recv_node_lookup() 669 int len = msglen; in dlm_opts_check_msglen() 694 msglen, nodeid); in dlm_opts_check_msglen() 761 msglen, nodeid); in dlm_midcomms_receive_buffer_3_2() 797 msglen, nodeid); in dlm_midcomms_receive_buffer_3_2() 858 msglen, nodeid); in dlm_midcomms_receive_buffer_3_1() 881 uint16_t msglen; in dlm_process_incoming_buffer() local 909 if (msglen > len) in dlm_process_incoming_buffer() 925 ret += msglen; in dlm_process_incoming_buffer() 926 len -= msglen; in dlm_process_incoming_buffer() [all …]
|
/linux/tools/spi/ |
A 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()
|
/linux/drivers/net/hyperv/ |
A D | netvsc.c | 813 u32 msglen = hv_pkt_datalen(desc); in netvsc_send_completion() local 818 if (!msglen) { in netvsc_send_completion() 850 msglen); in netvsc_send_completion() 859 msglen); in netvsc_send_completion() 868 msglen); in netvsc_send_completion() 877 msglen); in netvsc_send_completion() 1288 u32 msglen = hv_pkt_datalen(desc); in netvsc_receive() local 1299 msglen); in netvsc_receive() 1394 u32 msglen) in netvsc_send_table() argument 1425 if (msglen < count * sizeof(u32) || offset > msglen - count * sizeof(u32)) { in netvsc_send_table() [all …]
|
/linux/include/linux/avf/ |
A D | virtchnl.h | 1000 u8 *msg, u16 msglen) in virtchnl_vc_validate_vf_msg() argument 1024 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() 1036 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() 1052 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() 1064 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() 1083 if (msglen) in virtchnl_vc_validate_vf_msg() 1084 valid_len = msglen; in virtchnl_vc_validate_vf_msg() 1092 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() 1105 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() 1113 if (msglen >= valid_len) { in virtchnl_vc_validate_vf_msg() [all …]
|
/linux/net/netfilter/ |
A D | nfnetlink.c | 425 int msglen, type; in nfnetlink_rcv_batch() local 549 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnetlink_rcv_batch() 550 if (msglen > skb->len) in nfnetlink_rcv_batch() 551 msglen = skb->len; in nfnetlink_rcv_batch() 552 skb_pull(skb, msglen); in nfnetlink_rcv_batch() 606 int msglen, err; in nfnetlink_rcv_skb_batch() local 610 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnetlink_rcv_skb_batch() 611 if (msglen > skb->len) in nfnetlink_rcv_skb_batch() 612 msglen = skb->len; in nfnetlink_rcv_skb_batch() 627 skb_pull(skb, msglen); in nfnetlink_rcv_skb_batch()
|
A D | nf_conntrack_sip.c | 1533 unsigned int msglen, origlen; in sip_help_tcp() local 1583 msglen = origlen = end - dptr; in sip_help_tcp() 1584 if (msglen > datalen) in sip_help_tcp() 1588 &dptr, &msglen); in sip_help_tcp() 1592 diff = msglen - origlen; in sip_help_tcp() 1595 dataoff += msglen; in sip_help_tcp() 1596 dptr += msglen; in sip_help_tcp() 1597 datalen = datalen + diff - msglen; in sip_help_tcp()
|
/linux/drivers/infiniband/core/ |
A 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()
|
/linux/drivers/soc/qcom/ |
A 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()
|
A 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()
|
/linux/arch/powerpc/kernel/ |
A 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()
|
/linux/include/uapi/scsi/ |
A D | scsi_netlink.h | 33 __u16 msglen; member 105 (hdr)->msglen = mlen; \
|
/linux/drivers/i2c/busses/ |
A 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()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_sriov.h | 19 u8 *msg, u16 msglen, struct ice_sq_cd *cd); 38 u16 __always_unused msglen, in ice_aq_send_msg_to_vf() argument
|
A D | ice_sriov.c | 23 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/drivers/char/tpm/ |
A 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()
|
/linux/lib/ |
A 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()
|
/linux/net/mctp/ |
A D | af_mctp.c | 182 size_t msglen; in mctp_recvmsg() local 200 msglen = skb->len - 1; in mctp_recvmsg() 202 if (len < msglen) in mctp_recvmsg() 205 len = msglen; in mctp_recvmsg() 244 rc = msglen; in mctp_recvmsg()
|
/linux/arch/arm64/crypto/ |
A D | aes-ce-ccm-glue.c | 59 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/drivers/scsi/arm/ |
A D | fas216.c | 1057 if (msglen != 1) in fas216_parse_message() 1066 if (msglen != 1) in fas216_parse_message() 1085 if (msglen != 1) in fas216_parse_message() 1098 if (msglen != 1) in fas216_parse_message() 1105 if (msglen != 1) in fas216_parse_message() 1123 if (msglen < 3) in fas216_parse_message() 1144 for (i = 0; i < msglen; i++) in fas216_parse_message() 1228 unsigned int msglen = 1; in fas216_message() local 1241 for (msglen = 2; msglen < message[1] + 2; msglen++) { in fas216_message() 1245 message[msglen] = msgbyte; in fas216_message() [all …]
|
/linux/net/qrtr/ |
A D | ns.c | 668 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/fs/nfsd/ |
A D | nfs4recover.c | 63 size_t msglen; member 721 .msglen = 0, 758 msg.len = nn->client_tracking_ops->msglen; in __cld_pipe_upcall() 844 return nn->client_tracking_ops->msglen; in __cld_pipe_inprogress_downcall() 861 if (mlen != nn->client_tracking_ops->msglen) { in cld_pipe_downcall() 863 nn->client_tracking_ops->msglen); in cld_pipe_downcall() 1637 .msglen = sizeof(struct cld_msg), 1649 .msglen = sizeof(struct cld_msg), 1661 .msglen = sizeof(struct cld_msg_v2), 2005 .msglen = 0,
|
/linux/drivers/scsi/sym53c8xx_2/ |
A D | sym_hipd.c | 1411 int msglen = 0; local 1434 msglen += spi_populate_sync_msg(msgptr + msglen, goal->period, 1438 msglen += spi_populate_width_msg(msgptr + msglen, goal->width); 1441 msglen += spi_populate_ppr_msg(msgptr + msglen, goal->period, 1461 return msglen; 3035 int msglen; local 3097 msglen = 1; 3110 msglen += sym_prepare_nego(np, cp, &cp->scsi_smsg2[msglen]); 5136 u_int msglen; local 5158 msglen = 0; [all …]
|