Lines Matching refs:msg_len
111 u32 xid = 0, msg_len, request_id, msg_type, rsp, in rndis_command() local
133 buf, le32_to_cpu(buf->msg_len), in rndis_command()
164 msg_len = le32_to_cpu(buf->msg_len); in rndis_command()
191 msg->msg_len = cpu_to_le32(sizeof *msg); in rndis_command()
209 le32_to_cpu(buf->msg_type), msg_len); in rndis_command()
256 u.get->msg_len = cpu_to_le32(sizeof *u.get + in_len); in rndis_query()
329 u.init->msg_len = cpu_to_le32(sizeof *u.init); in generic_rndis_bind()
436 u.set->msg_len = cpu_to_le32(4 + sizeof *u.set); in generic_rndis_bind()
456 u.halt->msg_len = cpu_to_le32(sizeof *u.halt); in generic_rndis_bind()
481 halt->msg_len = cpu_to_le32(sizeof *halt); in rndis_unbind()
503 u32 msg_type, msg_len, data_offset, data_len; in rndis_rx_fixup() local
506 msg_len = le32_to_cpu(hdr->msg_len); in rndis_rx_fixup()
511 if (unlikely(msg_type != RNDIS_MSG_PACKET || skb->len < msg_len in rndis_rx_fixup()
512 || (data_offset + data_len + 8) > msg_len)) { in rndis_rx_fixup()
516 msg_len, data_offset, data_len, skb->len); in rndis_rx_fixup()
531 skb_pull(skb, msg_len - sizeof *hdr); in rndis_rx_fixup()
579 hdr->msg_len = cpu_to_le32(skb->len); in rndis_tx_fixup()