packet_len 313 arch/um/drivers/vector_kern.c int packet_len; packet_len 323 arch/um/drivers/vector_kern.c packet_len = skb->len; packet_len 347 arch/um/drivers/vector_kern.c packet_len = skb->len; packet_len 349 arch/um/drivers/vector_kern.c netdev_completed_queue(qi->dev, 1, packet_len); packet_len 192 drivers/ata/sata_nv.c u8 packet_len; packet_len 1307 drivers/ata/sata_nv.c aprd->packet_len = 0; packet_len 3816 drivers/gpu/drm/omapdrm/dss/dsi.c unsigned int packet_len; packet_len 3840 drivers/gpu/drm/omapdrm/dss/dsi.c packet_len = packet_payload + 1; /* 1 byte for DCS cmd */ packet_len 3841 drivers/gpu/drm/omapdrm/dss/dsi.c total_len = (bytespf / packet_payload) * packet_len; packet_len 3850 drivers/gpu/drm/omapdrm/dss/dsi.c packet_len, 0); packet_len 3151 drivers/infiniband/hw/hfi1/sdma.c pad_len = tx->packet_len & (sizeof(u32) - 1); packet_len 3156 drivers/infiniband/hw/hfi1/sdma.c tx->packet_len += pad_len; packet_len 3218 drivers/infiniband/hw/hfi1/sdma.c sizeof(u32) - (tx->packet_len & (sizeof(u32) - 1))); packet_len 561 drivers/infiniband/hw/hfi1/sdma.h tx->packet_len = tlen; packet_len 562 drivers/infiniband/hw/hfi1/sdma.h tx->tlen = tx->packet_len; packet_len 702 drivers/infiniband/hw/hfi1/sdma.h if (tx->packet_len & (sizeof(u32) - 1)) { packet_len 114 drivers/infiniband/hw/hfi1/sdma_txreq.h u16 packet_len; packet_len 165 drivers/input/mouse/vsxxxaa.c static int vsxxxaa_check_packet(struct vsxxxaa *mouse, int packet_len) packet_len 171 drivers/input/mouse/vsxxxaa.c DBG("vsck: len=%d, 1st=0x%02x\n", packet_len, mouse->buf[0]); packet_len 176 drivers/input/mouse/vsxxxaa.c for (i = 1; i < packet_len; i++) { packet_len 182 drivers/input/mouse/vsxxxaa.c packet_len, i, mouse->buf[i]); packet_len 453 drivers/media/usb/dvb-usb/af9005.c int ret, i, packet_len; packet_len 468 drivers/media/usb/dvb-usb/af9005.c packet_len = wlen + 5; packet_len 472 drivers/media/usb/dvb-usb/af9005.c st->data[0] = (u8) (packet_len & 0xff); packet_len 473 drivers/media/usb/dvb-usb/af9005.c st->data[1] = (u8) ((packet_len & 0xff00) >> 8); packet_len 1187 drivers/media/usb/usbvision/usbvision-core.c int packet_len = urb->iso_frame_desc[i].actual_length; packet_len 1194 drivers/media/usb/usbvision/usbvision-core.c PDEBUG(DBG_ISOC, "data error: [%d] len=%d, status=%X", i, packet_len, packet_stat); packet_len 1200 drivers/media/usb/usbvision/usbvision-core.c if (packet_len < 0) { packet_len 1204 drivers/media/usb/usbvision/usbvision-core.c } else if (packet_len == 0) { /* Frame end ????? */ packet_len 1209 drivers/media/usb/usbvision/usbvision-core.c } else if (packet_len > usbvision->isoc_packet_size) { packet_len 1215 drivers/media/usb/usbvision/usbvision-core.c PDEBUG(DBG_ISOC, "packet ok [%d] len=%d", i, packet_len); packet_len 1232 drivers/media/usb/usbvision/usbvision-core.c if (scratch_free(usbvision) < packet_len) { packet_len 1235 drivers/media/usb/usbvision/usbvision-core.c scratch_len(usbvision), packet_len); packet_len 1236 drivers/media/usb/usbvision/usbvision-core.c scratch_rm_old(usbvision, packet_len - scratch_free(usbvision)); packet_len 1240 drivers/media/usb/usbvision/usbvision-core.c scratch_put(usbvision, packet_data, packet_len); packet_len 1241 drivers/media/usb/usbvision/usbvision-core.c totlen += packet_len; packet_len 1242 drivers/media/usb/usbvision/usbvision-core.c usbvision->isoc_data_count += packet_len; packet_len 179 drivers/net/can/usb/peak_usb/pcan_usb_fd.c int packet_len; packet_len 196 drivers/net/can/usb/peak_usb/pcan_usb_fd.c packet_len = cmd_len; packet_len 200 drivers/net/can/usb/peak_usb/pcan_usb_fd.c packet_len = min(packet_len, PCAN_UFD_LOSPD_PKT_SIZE); packet_len 206 drivers/net/can/usb/peak_usb/pcan_usb_fd.c packet_ptr, packet_len, packet_len 214 drivers/net/can/usb/peak_usb/pcan_usb_fd.c packet_ptr += packet_len; packet_len 215 drivers/net/can/usb/peak_usb/pcan_usb_fd.c cmd_len -= packet_len; packet_len 218 drivers/net/can/usb/peak_usb/pcan_usb_fd.c packet_len = cmd_len; packet_len 220 drivers/net/can/usb/peak_usb/pcan_usb_fd.c } while (packet_len > 0); packet_len 4983 drivers/net/ethernet/micrel/ksz884x.c int packet_len; packet_len 4991 drivers/net/ethernet/micrel/ksz884x.c packet_len = status.rx.frame_len - 4; packet_len 4995 drivers/net/ethernet/micrel/ksz884x.c hw_priv->pdev, dma_buf->dma, packet_len + 4, packet_len 5000 drivers/net/ethernet/micrel/ksz884x.c skb = netdev_alloc_skb(dev, packet_len + 2); packet_len 5012 drivers/net/ethernet/micrel/ksz884x.c skb_put_data(skb, dma_buf->skb->data, packet_len); packet_len 5022 drivers/net/ethernet/micrel/ksz884x.c dev->stats.rx_bytes += packet_len; packet_len 316 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c u32 packet_len; packet_len 322 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c packet_len = ntohs(maph->pkt_len) + sizeof(struct rmnet_map_header); packet_len 325 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c packet_len += sizeof(struct rmnet_map_dl_csum_trailer); packet_len 327 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c if (((int)skb->len - (int)packet_len) < 0) packet_len 334 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c skbn = alloc_skb(packet_len + RMNET_MAP_DEAGGR_SPACING, GFP_ATOMIC); packet_len 339 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c skb_put(skbn, packet_len); packet_len 340 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c memcpy(skbn->data, skb->data, packet_len); packet_len 341 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c skb_pull(skb, packet_len); packet_len 402 drivers/net/ethernet/smsc/smc91x.c unsigned int packet_number, status, packet_len; packet_len 416 drivers/net/ethernet/smsc/smc91x.c SMC_GET_PKT_HDR(lp, status, packet_len); packet_len 417 drivers/net/ethernet/smsc/smc91x.c packet_len &= 0x07ff; /* mask off top bits */ packet_len 419 drivers/net/ethernet/smsc/smc91x.c packet_number, status, packet_len, packet_len); packet_len 422 drivers/net/ethernet/smsc/smc91x.c if (unlikely(packet_len < 6 || status & RS_ERRORS)) { packet_len 423 drivers/net/ethernet/smsc/smc91x.c if (status & RS_TOOLONG && packet_len <= (1514 + 4 + 6)) { packet_len 428 drivers/net/ethernet/smsc/smc91x.c if (packet_len < 6) { packet_len 431 drivers/net/ethernet/smsc/smc91x.c packet_len, status); packet_len 460 drivers/net/ethernet/smsc/smc91x.c skb = netdev_alloc_skb(dev, packet_len); packet_len 480 drivers/net/ethernet/smsc/smc91x.c data_len = packet_len - ((status & RS_ODDFRAME) ? 5 : 6); packet_len 482 drivers/net/ethernet/smsc/smc91x.c SMC_PULL_DATA(lp, data, packet_len - 4); packet_len 487 drivers/net/ethernet/smsc/smc91x.c PRINT_PKT(data, packet_len - 4); packet_len 222 drivers/net/usb/asix_common.c u32 packet_len; packet_len 259 drivers/net/usb/asix_common.c packet_len = ((skb->len ^ 0x0000ffff) << 16) + skb->len; packet_len 261 drivers/net/usb/asix_common.c put_unaligned_le32(packet_len, ptr); packet_len 143 drivers/net/usb/gl620a.c __le32 *packet_len; packet_len 166 drivers/net/usb/gl620a.c packet_len = packet_count + 1; packet_len 169 drivers/net/usb/gl620a.c *packet_len = cpu_to_le32(length); packet_len 101 drivers/net/usb/lg-vl600.c int packet_len, count; packet_len 163 drivers/net/usb/lg-vl600.c packet_len = sizeof(*packet) + le32_to_cpup(&packet->len); packet_len 164 drivers/net/usb/lg-vl600.c if (packet_len > buf->len) { packet_len 204 drivers/net/usb/lg-vl600.c skb_trim(clone, packet_len); packet_len 207 drivers/net/usb/lg-vl600.c skb_pull(buf, (packet_len + 3) & ~3); packet_len 209 drivers/net/usb/lg-vl600.c skb_trim(buf, packet_len); packet_len 46 drivers/net/usb/net1080.c __le16 packet_len; // payload size (including ethhdr) packet_len 344 drivers/net/usb/net1080.c u16 hdr_len, packet_len; packet_len 361 drivers/net/usb/net1080.c packet_len = le16_to_cpup(&header->packet_len); packet_len 362 drivers/net/usb/net1080.c if (FRAMED_SIZE(packet_len) > NC_MAX_PACKET) { packet_len 364 drivers/net/usb/net1080.c netdev_dbg(dev->net, "packet too big, %d\n", packet_len); packet_len 384 drivers/net/usb/net1080.c if ((packet_len & 0x01) == 0) { packet_len 385 drivers/net/usb/net1080.c if (skb->data [packet_len] != PAD_BYTE) { packet_len 392 drivers/net/usb/net1080.c if (skb->len != packet_len) { packet_len 395 drivers/net/usb/net1080.c skb->len, packet_len); packet_len 408 drivers/net/usb/net1080.c header->packet_len, header->packet_id); packet_len 459 drivers/net/usb/net1080.c header->packet_len = cpu_to_le16(len); packet_len 469 drivers/net/usb/net1080.c header->hdr_len, header->packet_len, packet_len 116 drivers/net/usb/sr9800.c u32 packet_len; packet_len 138 drivers/net/usb/sr9800.c packet_len = (((skb->len - 4) ^ 0x0000ffff) << 16) + (skb->len - 4); packet_len 139 drivers/net/usb/sr9800.c put_unaligned_le32(packet_len, ptr); packet_len 2743 drivers/net/virtio_net.c unsigned int packet_len = vi->big_packets ? IP_MAX_MTU : vi->dev->max_mtu; packet_len 2744 drivers/net/virtio_net.c unsigned int buf_len = hdr_len + ETH_HLEN + VLAN_HLEN + packet_len; packet_len 390 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c u32 packet_len) packet_len 411 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c datalen + sizeof(*event_packet) > packet_len) packet_len 322 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h u32 packet_len); packet_len 1229 drivers/net/wireless/intel/iwlwifi/mvm/d3.c wakeup.packet_len = pkt->len - truncated; packet_len 1244 drivers/net/wireless/intel/iwlwifi/mvm/d3.c wakeup.packet_len = pktlen - truncated; packet_len 56 drivers/platform/chrome/cros_ec_i2c.c int packet_len; packet_len 72 drivers/platform/chrome/cros_ec_i2c.c packet_len = msg->insize + response_header_size; packet_len 73 drivers/platform/chrome/cros_ec_i2c.c BUG_ON(packet_len > ec_dev->din_size); packet_len 75 drivers/platform/chrome/cros_ec_i2c.c i2c_msg[1].len = packet_len; packet_len 78 drivers/platform/chrome/cros_ec_i2c.c packet_len = msg->outsize + request_header_size; packet_len 79 drivers/platform/chrome/cros_ec_i2c.c BUG_ON(packet_len > ec_dev->dout_size); packet_len 81 drivers/platform/chrome/cros_ec_i2c.c i2c_msg[0].len = packet_len; packet_len 185 drivers/platform/chrome/cros_ec_i2c.c int packet_len; packet_len 200 drivers/platform/chrome/cros_ec_i2c.c packet_len = msg->insize + 3; packet_len 201 drivers/platform/chrome/cros_ec_i2c.c in_buf = kzalloc(packet_len, GFP_KERNEL); packet_len 204 drivers/platform/chrome/cros_ec_i2c.c i2c_msg[1].len = packet_len; packet_len 211 drivers/platform/chrome/cros_ec_i2c.c packet_len = msg->outsize + 4; packet_len 212 drivers/platform/chrome/cros_ec_i2c.c out_buf = kzalloc(packet_len, GFP_KERNEL); packet_len 215 drivers/platform/chrome/cros_ec_i2c.c i2c_msg[0].len = packet_len; packet_len 2018 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u32 packet_len = precv_frame->pkt->len; packet_len 2024 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c len = packet_len - sizeof(struct ieee80211_hdr_3addr); packet_len 810 drivers/staging/rtl8188eu/core/rtw_wlan_util.c int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len) packet_len 832 drivers/staging/rtl8188eu/core/rtw_wlan_util.c len = packet_len - sizeof(struct ieee80211_hdr_3addr); packet_len 508 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len); packet_len 4418 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u32 packet_len = precv_frame->u.hdr.len; packet_len 4425 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c len = packet_len - sizeof(struct ieee80211_hdr_3addr); packet_len 1275 drivers/staging/rtl8723bs/core/rtw_wlan_util.c int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len) packet_len 1300 drivers/staging/rtl8723bs/core/rtw_wlan_util.c len = packet_len - sizeof(struct ieee80211_hdr_3addr); packet_len 620 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len); packet_len 3906 drivers/video/fbdev/omap2/omapfb/dss/dsi.c unsigned packet_len; packet_len 3930 drivers/video/fbdev/omap2/omapfb/dss/dsi.c packet_len = packet_payload + 1; /* 1 byte for DCS cmd */ packet_len 3931 drivers/video/fbdev/omap2/omapfb/dss/dsi.c total_len = (bytespf / packet_payload) * packet_len; packet_len 3940 drivers/video/fbdev/omap2/omapfb/dss/dsi.c packet_len, 0); packet_len 145 fs/ecryptfs/keystore.c char **packet, size_t *packet_len) packet_len 193 fs/ecryptfs/keystore.c *packet_len = i; packet_len 287 fs/ecryptfs/keystore.c size_t *packet_len) packet_len 340 fs/ecryptfs/keystore.c *packet_len = i; packet_len 2466 include/linux/mlx5/mlx5_ifc.h u8 packet_len[0x10]; packet_len 2799 include/net/cfg80211.h u32 packet_present_len, packet_len; packet_len 315 net/batman-adv/bat_iv_ogm.c batadv_iv_ogm_aggr_packet(int buff_pos, int packet_len, packet_len 322 net/batman-adv/bat_iv_ogm.c if (next_buff_pos > packet_len) packet_len 328 net/batman-adv/bat_iv_ogm.c return (next_buff_pos <= packet_len) && packet_len 353 net/batman-adv/bat_iv_ogm.c while (batadv_iv_ogm_aggr_packet(buff_pos, forw_packet->packet_len, packet_len 439 net/batman-adv/bat_iv_ogm.c int packet_len, unsigned long send_time, packet_len 446 net/batman-adv/bat_iv_ogm.c int aggregated_bytes = forw_packet->packet_len + packet_len; packet_len 537 net/batman-adv/bat_iv_ogm.c int packet_len, unsigned long send_time, packet_len 551 net/batman-adv/bat_iv_ogm.c packet_len < BATADV_MAX_AGGREGATION_BYTES) packet_len 554 net/batman-adv/bat_iv_ogm.c skb_size = packet_len; packet_len 572 net/batman-adv/bat_iv_ogm.c skb_buff = skb_put(forw_packet_aggr->skb, packet_len); packet_len 573 net/batman-adv/bat_iv_ogm.c forw_packet_aggr->packet_len = packet_len; packet_len 574 net/batman-adv/bat_iv_ogm.c memcpy(skb_buff, packet_buff, packet_len); packet_len 593 net/batman-adv/bat_iv_ogm.c int packet_len, bool direct_link) packet_len 597 net/batman-adv/bat_iv_ogm.c skb_put_data(forw_packet_aggr->skb, packet_buff, packet_len); packet_len 598 net/batman-adv/bat_iv_ogm.c forw_packet_aggr->packet_len += packet_len; packet_len 620 net/batman-adv/bat_iv_ogm.c int packet_len, packet_len 645 net/batman-adv/bat_iv_ogm.c bat_priv, packet_len, packet_len 670 net/batman-adv/bat_iv_ogm.c batadv_iv_ogm_aggregate_new(packet_buff, packet_len, packet_len 676 net/batman-adv/bat_iv_ogm.c packet_len, direct_link); packet_len 525 net/batman-adv/bat_v_ogm.c size_t packet_len; packet_len 560 net/batman-adv/bat_v_ogm.c packet_len = BATADV_OGM2_HLEN + tvlv_len; packet_len 562 net/batman-adv/bat_v_ogm.c ETH_HLEN + packet_len); packet_len 567 net/batman-adv/bat_v_ogm.c skb_buff = skb_put_data(skb, ogm_received, packet_len); packet_len 833 net/batman-adv/bat_v_ogm.c batadv_v_ogm_aggr_packet(int buff_pos, int packet_len, packet_len 840 net/batman-adv/bat_v_ogm.c if (next_buff_pos > packet_len) packet_len 846 net/batman-adv/bat_v_ogm.c return (next_buff_pos <= packet_len) && packet_len 129 net/batman-adv/icmp_socket.c size_t packet_len; packet_len 156 net/batman-adv/icmp_socket.c packet_len = min(count, socket_packet->icmp_len); packet_len 157 net/batman-adv/icmp_socket.c error = copy_to_user(buf, &socket_packet->icmp_packet, packet_len); packet_len 164 net/batman-adv/icmp_socket.c return packet_len; packet_len 178 net/batman-adv/icmp_socket.c size_t packet_len = sizeof(struct batadv_icmp_packet); packet_len 195 net/batman-adv/icmp_socket.c packet_len = BATADV_ICMP_MAX_PACKET_SIZE; packet_len 197 net/batman-adv/icmp_socket.c packet_len = len; packet_len 199 net/batman-adv/icmp_socket.c skb = netdev_alloc_skb_ip_align(NULL, packet_len + ETH_HLEN); packet_len 207 net/batman-adv/icmp_socket.c icmp_header = skb_put(skb, packet_len); packet_len 209 net/batman-adv/icmp_socket.c if (copy_from_user(icmp_header, buff, packet_len)) { packet_len 249 net/batman-adv/icmp_socket.c if (packet_len == sizeof(*icmp_packet_rr)) { packet_len 268 net/batman-adv/icmp_socket.c packet_len); packet_len 279 net/batman-adv/icmp_socket.c batadv_socket_add_packet(socket_client, icmp_header, packet_len); packet_len 630 net/batman-adv/tp_meter.c size_t packet_len, mss; packet_len 634 net/batman-adv/tp_meter.c packet_len = BATADV_TP_PLEN; packet_len 636 net/batman-adv/tp_meter.c packet_len += sizeof(struct batadv_unicast_packet); packet_len 683 net/batman-adv/tp_meter.c orig_node, recv_ack, packet_len, packet_len 723 net/batman-adv/tp_meter.c packet_len, icmp->session, packet_len 810 net/batman-adv/tp_meter.c size_t payload_len, packet_len; packet_len 857 net/batman-adv/tp_meter.c packet_len = payload_len + sizeof(struct batadv_unicast_packet); packet_len 861 net/batman-adv/tp_meter.c packet_len, packet_len 2152 net/batman-adv/types.h u16 packet_len; packet_len 119 net/ipv6/exthdrs_core.c int packet_len = skb_tail_pointer(skb) - skb_network_header(skb); packet_len 123 net/ipv6/exthdrs_core.c if (offset + 2 > packet_len) packet_len 128 net/ipv6/exthdrs_core.c if (offset + len > packet_len) packet_len 257 net/ipv6/mip6.c unsigned int packet_len = skb_tail_pointer(skb) - packet_len 263 net/ipv6/mip6.c while (offset + 1 <= packet_len) { packet_len 393 net/ipv6/mip6.c unsigned int packet_len = skb_tail_pointer(skb) - packet_len 399 net/ipv6/mip6.c while (offset + 1 <= packet_len) { packet_len 405 net/ipv6/mip6.c if (offset + 3 <= packet_len) { packet_len 85 net/ipv6/output_core.c unsigned int packet_len = skb_tail_pointer(skb) - packet_len 90 net/ipv6/output_core.c while (offset <= packet_len) { packet_len 112 net/ipv6/output_core.c if (offset + sizeof(struct ipv6_opt_hdr) > packet_len) packet_len 395 net/rose/rose_subr.c int rose_parse_facilities(unsigned char *p, unsigned packet_len, packet_len 402 net/rose/rose_subr.c if (facilities_len == 0 || (unsigned int)facilities_len > packet_len) packet_len 16661 net/wireless/nl80211.c if (wakeup->packet_len && packet_len 16662 net/wireless/nl80211.c nla_put_u32(msg, len_attr, wakeup->packet_len)) packet_len 3307 net/wireless/trace.h __field(u32, packet_len) packet_len 3322 net/wireless/trace.h __entry->packet_len = wakeup ? wakeup->packet_len : false; packet_len 373 tools/testing/selftests/net/psock_tpacket.c size_t packet_len; packet_len 416 tools/testing/selftests/net/psock_tpacket.c create_payload(packet, &packet_len); packet_len 427 tools/testing/selftests/net/psock_tpacket.c ppd.v1->tp_h.tp_snaplen = packet_len; packet_len 428 tools/testing/selftests/net/psock_tpacket.c ppd.v1->tp_h.tp_len = packet_len; packet_len 432 tools/testing/selftests/net/psock_tpacket.c packet_len); packet_len 437 tools/testing/selftests/net/psock_tpacket.c ppd.v2->tp_h.tp_snaplen = packet_len; packet_len 438 tools/testing/selftests/net/psock_tpacket.c ppd.v2->tp_h.tp_len = packet_len; packet_len 442 tools/testing/selftests/net/psock_tpacket.c packet_len); packet_len 448 tools/testing/selftests/net/psock_tpacket.c tx->tp_snaplen = packet_len; packet_len 449 tools/testing/selftests/net/psock_tpacket.c tx->tp_len = packet_len; packet_len 454 tools/testing/selftests/net/psock_tpacket.c packet_len);