Home
last modified time | relevance | path

Searched refs:vhdr (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.15/fs/hfsplus/
Dsuper.c29 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 …]
/Linux-v5.15/samples/bpf/
Dxdp1_kern.c62 struct vlan_hdr *vhdr; in xdp_prog1() local
64 vhdr = data + nh_off; in xdp_prog1()
68 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
72 struct vlan_hdr *vhdr; in xdp_prog1() local
74 vhdr = data + nh_off; in xdp_prog1()
78 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
Dxdp2_kern.c78 struct vlan_hdr *vhdr; in xdp_prog1() local
80 vhdr = data + nh_off; in xdp_prog1()
84 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
88 struct vlan_hdr *vhdr; in xdp_prog1() local
90 vhdr = data + nh_off; in xdp_prog1()
94 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
Dparse_varlen.c127 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()
Dxdp_router_ipv4_kern.c130 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()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c380 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in amdgpu_acpi_vfct_bios() local
388 offset += vhdr->ImageLength; in amdgpu_acpi_vfct_bios()
394 if (vhdr->ImageLength && in amdgpu_acpi_vfct_bios()
395 vhdr->PCIBus == adev->pdev->bus->number && in amdgpu_acpi_vfct_bios()
396 vhdr->PCIDevice == PCI_SLOT(adev->pdev->devfn) && in amdgpu_acpi_vfct_bios()
397 vhdr->PCIFunction == PCI_FUNC(adev->pdev->devfn) && in amdgpu_acpi_vfct_bios()
398 vhdr->VendorID == adev->pdev->vendor && in amdgpu_acpi_vfct_bios()
399 vhdr->DeviceID == adev->pdev->device) { in amdgpu_acpi_vfct_bios()
401 vhdr->ImageLength, in amdgpu_acpi_vfct_bios()
404 if (!check_atom_bios(adev->bios, vhdr->ImageLength)) { in amdgpu_acpi_vfct_bios()
[all …]
/Linux-v5.15/net/8021q/
Dvlan_core.c463 struct vlan_hdr *vhdr; in vlan_gro_receive() local
469 hlen = off_vlan + sizeof(*vhdr); in vlan_gro_receive()
470 vhdr = skb_gro_header_fast(skb, off_vlan); in vlan_gro_receive()
472 vhdr = skb_gro_header_slow(skb, hlen, off_vlan); in vlan_gro_receive()
473 if (unlikely(!vhdr)) in vlan_gro_receive()
477 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_receive()
493 if (compare_vlan_header(vhdr, vhdr2)) in vlan_gro_receive()
497 skb_gro_pull(skb, sizeof(*vhdr)); in vlan_gro_receive()
498 skb_gro_postpull_rcsum(skb, vhdr, sizeof(*vhdr)); in vlan_gro_receive()
514 struct vlan_hdr *vhdr = (struct vlan_hdr *)(skb->data + nhoff); in vlan_gro_complete() local
[all …]
Dvlan_dev.c50 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()
/Linux-v5.15/net/batman-adv/
Dmain.c364 struct vlan_ethhdr *vhdr, vhdr_tmp; in batadv_skb_set_priority() local
377 vhdr = skb_header_pointer(skb, offset + sizeof(*vhdr), in batadv_skb_set_priority()
378 sizeof(*vhdr), &vhdr_tmp); in batadv_skb_set_priority()
379 if (!vhdr) in batadv_skb_set_priority()
381 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; in batadv_skb_set_priority()
626 struct vlan_ethhdr *vhdr; in batadv_get_vid() local
635 vhdr = (struct vlan_ethhdr *)(skb->data + header_len); in batadv_get_vid()
636 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
Dsoft-interface.c191 struct vlan_ethhdr *vhdr; in batadv_interface_tx() local
220 if (!pskb_may_pull(skb, sizeof(*vhdr))) in batadv_interface_tx()
222 vhdr = vlan_eth_hdr(skb); in batadv_interface_tx()
223 proto = vhdr->h_vlan_encapsulated_proto; in batadv_interface_tx()
414 struct vlan_ethhdr *vhdr; in batadv_interface_rx() local
441 vhdr = (struct vlan_ethhdr *)skb->data; in batadv_interface_rx()
444 if (vhdr->h_vlan_encapsulated_proto != htons(ETH_P_BATMAN)) in batadv_interface_rx()
Dgateway_client.c569 struct vlan_ethhdr *vhdr; in batadv_gw_dhcp_recipient_get() local
587 vhdr = vlan_eth_hdr(skb); in batadv_gw_dhcp_recipient_get()
588 proto = vhdr->h_vlan_encapsulated_proto; in batadv_gw_dhcp_recipient_get()
Dbridge_loop_avoidance.c1082 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()
/Linux-v5.15/drivers/gpu/drm/radeon/
Dradeon_bios.c629 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()
/Linux-v5.15/include/linux/
Dif_vlan.h600 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()
/Linux-v5.15/net/netfilter/
Dnfnetlink_queue.c1041 struct nfqnl_msg_verdict_hdr *vhdr; in verdicthdr_get() local
1047 vhdr = nla_data(nfqa[NFQA_VERDICT_HDR]); in verdicthdr_get()
1048 verdict = ntohl(vhdr->verdict) & NF_VERDICT_MASK; in verdicthdr_get()
1051 return vhdr; in verdicthdr_get()
1066 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict_batch() local
1076 vhdr = verdicthdr_get(nfqa); in nfqnl_recv_verdict_batch()
1077 if (!vhdr) in nfqnl_recv_verdict_batch()
1080 verdict = ntohl(vhdr->verdict); in nfqnl_recv_verdict_batch()
1081 maxid = ntohl(vhdr->id); in nfqnl_recv_verdict_batch()
1173 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict() local
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c206 struct vlan_ethhdr *vhdr = (struct vlan_ethhdr *)start; in mlx5e_insert_vlan() local
210 memcpy(vhdr, skb->data, cpy1_sz); in mlx5e_insert_vlan()
211 vhdr->h_vlan_proto = skb->vlan_proto; in mlx5e_insert_vlan()
212 vhdr->h_vlan_TCI = cpu_to_be16(skb_vlan_tag_get(skb)); in mlx5e_insert_vlan()
213 memcpy(&vhdr->h_vlan_encapsulated_proto, skb->data + cpy1_sz, cpy2_sz); in mlx5e_insert_vlan()
/Linux-v5.15/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c525 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()
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c2965 struct vlan_hdr *vhdr, _vhdr; in i40e_tx_prepare_vlan_flags() local
2967 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in i40e_tx_prepare_vlan_flags()
2968 if (!vhdr) in i40e_tx_prepare_vlan_flags()
2971 protocol = vhdr->h_vlan_encapsulated_proto; in i40e_tx_prepare_vlan_flags()
2972 tx_flags |= ntohs(vhdr->h_vlan_TCI) << I40E_TX_FLAGS_VLAN_SHIFT; in i40e_tx_prepare_vlan_flags()
2986 struct vlan_ethhdr *vhdr; in i40e_tx_prepare_vlan_flags() local
2992 vhdr = (struct vlan_ethhdr *)skb->data; in i40e_tx_prepare_vlan_flags()
2993 vhdr->h_vlan_TCI = htons(tx_flags >> in i40e_tx_prepare_vlan_flags()
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1810 struct vlan_hdr *vhdr, _vhdr; in iavf_tx_prepare_vlan_flags() local
1812 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in iavf_tx_prepare_vlan_flags()
1813 if (!vhdr) in iavf_tx_prepare_vlan_flags()
1816 protocol = vhdr->h_vlan_encapsulated_proto; in iavf_tx_prepare_vlan_flags()
1817 tx_flags |= ntohs(vhdr->h_vlan_TCI) << IAVF_TX_FLAGS_VLAN_SHIFT; in iavf_tx_prepare_vlan_flags()
/Linux-v5.15/drivers/net/
Dthunderbolt.c958 struct vlan_hdr *vhdr, vh; in tbnet_xmit_csum_and_map() local
960 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(vh), &vh); in tbnet_xmit_csum_and_map()
961 if (!vhdr) in tbnet_xmit_csum_and_map()
964 protocol = vhdr->h_vlan_encapsulated_proto; in tbnet_xmit_csum_and_map()
/Linux-v5.15/net/core/
Dskbuff.c5653 struct vlan_hdr *vhdr; in skb_vlan_untag() local
5668 vhdr = (struct vlan_hdr *)skb->data; in skb_vlan_untag()
5669 vlan_tci = ntohs(vhdr->h_vlan_TCI); in skb_vlan_untag()
5673 vlan_set_encap_proto(skb, vhdr); in skb_vlan_untag()
5709 struct vlan_hdr *vhdr; in __skb_vlan_pop() local
5725 vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN); in __skb_vlan_pop()
5726 *vlan_tci = ntohs(vhdr->h_vlan_TCI); in __skb_vlan_pop()
5731 vlan_set_encap_proto(skb, vhdr); in __skb_vlan_pop()
/Linux-v5.15/drivers/net/ethernet/freescale/
Dfec_main.c3412 struct vlan_ethhdr *vhdr; in fec_enet_get_raw_vlan_tci() local
3416 vhdr = (struct vlan_ethhdr *)(skb->data); in fec_enet_get_raw_vlan_tci()
3417 vlan_TCI = ntohs(vhdr->h_vlan_TCI); in fec_enet_get_raw_vlan_tci()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8637 struct vlan_hdr *vhdr, _vhdr; in ixgbe_xmit_frame_ring() local
8638 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in ixgbe_xmit_frame_ring()
8639 if (!vhdr) in ixgbe_xmit_frame_ring()
8642 tx_flags |= ntohs(vhdr->h_vlan_TCI) << in ixgbe_xmit_frame_ring()
8682 struct vlan_ethhdr *vhdr; in ixgbe_xmit_frame_ring() local
8686 vhdr = (struct vlan_ethhdr *)skb->data; in ixgbe_xmit_frame_ring()
8687 vhdr->h_vlan_TCI = htons(tx_flags >> in ixgbe_xmit_frame_ring()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c1472 struct vlan_ethhdr *vhdr; in hns3_handle_vtags() local
1519 vhdr = (struct vlan_ethhdr *)skb->data; in hns3_handle_vtags()
1520 vhdr->h_vlan_TCI |= cpu_to_be16((skb->priority << VLAN_PRIO_SHIFT) in hns3_handle_vtags()
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c1926 struct vlan_ethhdr *vhdr = in bnx2x_select_queue() local
1929 ether_type = ntohs(vhdr->h_vlan_encapsulated_proto); in bnx2x_select_queue()