/kernel/linux/linux-5.10/fs/hfsplus/ |
D | super.c | 29 struct hfsplus_vh *vhdr = HFSPLUS_SB(inode->i_sb)->s_vhdr; in hfsplus_system_read_inode() local 33 hfsplus_inode_read_fork(inode, &vhdr->ext_file); in hfsplus_system_read_inode() 37 hfsplus_inode_read_fork(inode, &vhdr->cat_file); in hfsplus_system_read_inode() 41 hfsplus_inode_read_fork(inode, &vhdr->alloc_file); in hfsplus_system_read_inode() 45 hfsplus_inode_read_fork(inode, &vhdr->start_file); in hfsplus_system_read_inode() 48 hfsplus_inode_read_fork(inode, &vhdr->attr_file); in hfsplus_system_read_inode() 103 struct hfsplus_vh *vhdr = sbi->s_vhdr; in hfsplus_system_write_inode() local 109 fork = &vhdr->ext_file; in hfsplus_system_write_inode() 113 fork = &vhdr->cat_file; in hfsplus_system_write_inode() 117 fork = &vhdr->alloc_file; in hfsplus_system_write_inode() [all …]
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | xdp1_kern.c | 61 struct vlan_hdr *vhdr; in xdp_prog1() local 63 vhdr = data + nh_off; in xdp_prog1() 67 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1() 70 struct vlan_hdr *vhdr; in xdp_prog1() local 72 vhdr = data + nh_off; in xdp_prog1() 76 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
|
D | xdp2_kern.c | 77 struct vlan_hdr *vhdr; in xdp_prog1() local 79 vhdr = data + nh_off; in xdp_prog1() 83 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1() 86 struct vlan_hdr *vhdr; in xdp_prog1() local 88 vhdr = data + nh_off; in xdp_prog1() 92 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
|
D | parse_varlen.c | 127 struct vlan_hdr *vhdr; in handle_ingress() local 129 vhdr = data + nh_off; in handle_ingress() 133 h_proto = vhdr->h_vlan_encapsulated_proto; in handle_ingress() 136 struct vlan_hdr *vhdr; in handle_ingress() local 138 vhdr = data + nh_off; in handle_ingress() 142 h_proto = vhdr->h_vlan_encapsulated_proto; in handle_ingress()
|
D | xdp_router_ipv4_kern.c | 130 struct vlan_hdr *vhdr; in xdp_router_ipv4_prog() local 132 vhdr = data + nh_off; in xdp_router_ipv4_prog() 136 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_router_ipv4_prog()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_bios.c | 375 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in amdgpu_acpi_vfct_bios() local 383 offset += vhdr->ImageLength; in amdgpu_acpi_vfct_bios() 389 if (vhdr->ImageLength && in amdgpu_acpi_vfct_bios() 390 vhdr->PCIBus == adev->pdev->bus->number && in amdgpu_acpi_vfct_bios() 391 vhdr->PCIDevice == PCI_SLOT(adev->pdev->devfn) && in amdgpu_acpi_vfct_bios() 392 vhdr->PCIFunction == PCI_FUNC(adev->pdev->devfn) && in amdgpu_acpi_vfct_bios() 393 vhdr->VendorID == adev->pdev->vendor && in amdgpu_acpi_vfct_bios() 394 vhdr->DeviceID == adev->pdev->device) { in amdgpu_acpi_vfct_bios() 396 vhdr->ImageLength, in amdgpu_acpi_vfct_bios() 399 if (!check_atom_bios(adev->bios, vhdr->ImageLength)) { in amdgpu_acpi_vfct_bios() [all …]
|
/kernel/linux/linux-5.10/net/8021q/ |
D | vlan_core.c | 462 struct vlan_hdr *vhdr; in vlan_gro_receive() local 468 hlen = off_vlan + sizeof(*vhdr); in vlan_gro_receive() 469 vhdr = skb_gro_header_fast(skb, off_vlan); in vlan_gro_receive() 471 vhdr = skb_gro_header_slow(skb, hlen, off_vlan); in vlan_gro_receive() 472 if (unlikely(!vhdr)) in vlan_gro_receive() 476 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_receive() 492 if (compare_vlan_header(vhdr, vhdr2)) in vlan_gro_receive() 496 skb_gro_pull(skb, sizeof(*vhdr)); in vlan_gro_receive() 497 skb_gro_postpull_rcsum(skb, vhdr, sizeof(*vhdr)); in vlan_gro_receive() 510 struct vlan_hdr *vhdr = (struct vlan_hdr *)(skb->data + nhoff); in vlan_gro_complete() local [all …]
|
D | vlan_dev.c | 50 struct vlan_hdr *vhdr; in vlan_dev_hard_header() local 56 vhdr = skb_push(skb, VLAN_HLEN); in vlan_dev_hard_header() 60 vhdr->h_vlan_TCI = htons(vlan_tci); in vlan_dev_hard_header() 67 vhdr->h_vlan_encapsulated_proto = htons(type); in vlan_dev_hard_header() 69 vhdr->h_vlan_encapsulated_proto = htons(len); in vlan_dev_hard_header()
|
/kernel/linux/linux-5.10/net/batman-adv/ |
D | main.c | 408 struct vlan_ethhdr *vhdr, vhdr_tmp; in batadv_skb_set_priority() local 421 vhdr = skb_header_pointer(skb, offset + sizeof(*vhdr), in batadv_skb_set_priority() 422 sizeof(*vhdr), &vhdr_tmp); in batadv_skb_set_priority() 423 if (!vhdr) in batadv_skb_set_priority() 425 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; in batadv_skb_set_priority() 670 struct vlan_ethhdr *vhdr; in batadv_get_vid() local 679 vhdr = (struct vlan_ethhdr *)(skb->data + header_len); in batadv_get_vid() 680 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
|
D | soft-interface.c | 193 struct vlan_ethhdr *vhdr; in batadv_interface_tx() local 223 if (!pskb_may_pull(skb, sizeof(*vhdr))) in batadv_interface_tx() 225 vhdr = vlan_eth_hdr(skb); in batadv_interface_tx() 226 proto = vhdr->h_vlan_encapsulated_proto; in batadv_interface_tx() 427 struct vlan_ethhdr *vhdr; in batadv_interface_rx() local 454 vhdr = (struct vlan_ethhdr *)skb->data; in batadv_interface_rx() 457 if (vhdr->h_vlan_encapsulated_proto != htons(ETH_P_BATMAN)) in batadv_interface_rx()
|
D | gateway_client.c | 629 struct vlan_ethhdr *vhdr; in batadv_gw_dhcp_recipient_get() local 647 vhdr = vlan_eth_hdr(skb); in batadv_gw_dhcp_recipient_get() 648 proto = vhdr->h_vlan_encapsulated_proto; in batadv_gw_dhcp_recipient_get()
|
D | bridge_loop_avoidance.c | 1082 struct vlan_hdr *vhdr, vhdr_buf; in batadv_bla_process_claim() local 1106 vhdr = skb_header_pointer(skb, headlen, VLAN_HLEN, in batadv_bla_process_claim() 1108 if (!vhdr) in batadv_bla_process_claim() 1111 proto = vhdr->h_vlan_encapsulated_proto; in batadv_bla_process_claim()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_bios.c | 629 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in radeon_acpi_vfct_bios() local 637 offset += vhdr->ImageLength; in radeon_acpi_vfct_bios() 643 if (vhdr->ImageLength && in radeon_acpi_vfct_bios() 644 vhdr->PCIBus == rdev->pdev->bus->number && in radeon_acpi_vfct_bios() 645 vhdr->PCIDevice == PCI_SLOT(rdev->pdev->devfn) && in radeon_acpi_vfct_bios() 646 vhdr->PCIFunction == PCI_FUNC(rdev->pdev->devfn) && in radeon_acpi_vfct_bios() 647 vhdr->VendorID == rdev->pdev->vendor && in radeon_acpi_vfct_bios() 648 vhdr->DeviceID == rdev->pdev->device) { in radeon_acpi_vfct_bios() 650 vhdr->ImageLength, in radeon_acpi_vfct_bios()
|
/kernel/linux/linux-5.10/include/linux/ |
D | if_vlan.h | 600 struct vlan_hdr vhdr, *vh; in __vlan_get_protocol() local 602 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in __vlan_get_protocol() 644 struct vlan_hdr *vhdr) in vlan_set_encap_proto() argument 654 proto = vhdr->h_vlan_encapsulated_proto; in vlan_set_encap_proto() 660 rawp = (unsigned short *)(vhdr + 1); in vlan_set_encap_proto()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nfnetlink_queue.c | 1039 struct nfqnl_msg_verdict_hdr *vhdr; in verdicthdr_get() local 1045 vhdr = nla_data(nfqa[NFQA_VERDICT_HDR]); in verdicthdr_get() 1046 verdict = ntohl(vhdr->verdict) & NF_VERDICT_MASK; in verdicthdr_get() 1049 return vhdr; in verdicthdr_get() 1066 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict_batch() local 1077 vhdr = verdicthdr_get(nfqa); in nfqnl_recv_verdict_batch() 1078 if (!vhdr) in nfqnl_recv_verdict_batch() 1081 verdict = ntohl(vhdr->verdict); in nfqnl_recv_verdict_batch() 1082 maxid = ntohl(vhdr->id); in nfqnl_recv_verdict_batch() 1173 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict() local [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 137 struct vlan_ethhdr *vhdr = (struct vlan_ethhdr *)start; in mlx5e_insert_vlan() local 141 memcpy(vhdr, skb->data, cpy1_sz); in mlx5e_insert_vlan() 142 vhdr->h_vlan_proto = skb->vlan_proto; in mlx5e_insert_vlan() 143 vhdr->h_vlan_TCI = cpu_to_be16(skb_vlan_tag_get(skb)); in mlx5e_insert_vlan() 144 memcpy(&vhdr->h_vlan_encapsulated_proto, skb->data + cpy1_sz, cpy2_sz); in mlx5e_insert_vlan()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 525 struct vlan_hdr *vhdr; in fm10k_xmit_frame() local 545 vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN); in fm10k_xmit_frame() 550 ntohs(vhdr->h_vlan_TCI)); in fm10k_xmit_frame() 551 proto = vhdr->h_vlan_encapsulated_proto; in fm10k_xmit_frame()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | thunderbolt.c | 930 struct vlan_hdr *vhdr, vh; in tbnet_xmit_csum_and_map() local 932 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(vh), &vh); in tbnet_xmit_csum_and_map() 933 if (!vhdr) in tbnet_xmit_csum_and_map() 936 protocol = vhdr->h_vlan_encapsulated_proto; in tbnet_xmit_csum_and_map()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 2858 struct vlan_hdr *vhdr, _vhdr; in i40e_tx_prepare_vlan_flags() local 2860 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in i40e_tx_prepare_vlan_flags() 2861 if (!vhdr) in i40e_tx_prepare_vlan_flags() 2864 protocol = vhdr->h_vlan_encapsulated_proto; in i40e_tx_prepare_vlan_flags() 2865 tx_flags |= ntohs(vhdr->h_vlan_TCI) << I40E_TX_FLAGS_VLAN_SHIFT; in i40e_tx_prepare_vlan_flags() 2879 struct vlan_ethhdr *vhdr; in i40e_tx_prepare_vlan_flags() local 2885 vhdr = (struct vlan_ethhdr *)skb->data; in i40e_tx_prepare_vlan_flags() 2886 vhdr->h_vlan_TCI = htons(tx_flags >> in i40e_tx_prepare_vlan_flags()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 1823 struct vlan_hdr *vhdr, _vhdr; in iavf_tx_prepare_vlan_flags() local 1825 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in iavf_tx_prepare_vlan_flags() 1826 if (!vhdr) in iavf_tx_prepare_vlan_flags() 1829 protocol = vhdr->h_vlan_encapsulated_proto; in iavf_tx_prepare_vlan_flags() 1830 tx_flags |= ntohs(vhdr->h_vlan_TCI) << IAVF_TX_FLAGS_VLAN_SHIFT; in iavf_tx_prepare_vlan_flags()
|
/kernel/linux/linux-5.10/net/core/ |
D | skbuff.c | 5460 struct vlan_hdr *vhdr; in skb_vlan_untag() local 5475 vhdr = (struct vlan_hdr *)skb->data; in skb_vlan_untag() 5476 vlan_tci = ntohs(vhdr->h_vlan_TCI); in skb_vlan_untag() 5480 vlan_set_encap_proto(skb, vhdr); in skb_vlan_untag() 5515 struct vlan_hdr *vhdr; in __skb_vlan_pop() local 5531 vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN); in __skb_vlan_pop() 5532 *vlan_tci = ntohs(vhdr->h_vlan_TCI); in __skb_vlan_pop() 5537 vlan_set_encap_proto(skb, vhdr); in __skb_vlan_pop()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | fec_main.c | 3229 struct vlan_ethhdr *vhdr; in fec_enet_get_raw_vlan_tci() local 3233 vhdr = (struct vlan_ethhdr *)(skb->data); in fec_enet_get_raw_vlan_tci() 3234 vlan_TCI = ntohs(vhdr->h_vlan_TCI); in fec_enet_get_raw_vlan_tci()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 8675 struct vlan_hdr *vhdr, _vhdr; in ixgbe_xmit_frame_ring() local 8676 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in ixgbe_xmit_frame_ring() 8677 if (!vhdr) in ixgbe_xmit_frame_ring() 8680 tx_flags |= ntohs(vhdr->h_vlan_TCI) << in ixgbe_xmit_frame_ring() 8720 struct vlan_ethhdr *vhdr; in ixgbe_xmit_frame_ring() local 8724 vhdr = (struct vlan_ethhdr *)skb->data; in ixgbe_xmit_frame_ring() 8725 vhdr->h_vlan_TCI = htons(tx_flags >> in ixgbe_xmit_frame_ring()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 961 struct vlan_ethhdr *vhdr; in hns3_handle_vtags() local 1005 vhdr = (struct vlan_ethhdr *)skb->data; in hns3_handle_vtags() 1006 vhdr->h_vlan_TCI |= cpu_to_be16((skb->priority << VLAN_PRIO_SHIFT) in hns3_handle_vtags()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 1927 struct vlan_ethhdr *vhdr = in bnx2x_select_queue() local 1930 ether_type = ntohs(vhdr->h_vlan_encapsulated_proto); in bnx2x_select_queue()
|