Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/samples/bpf/
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.bpf.c94 struct vlan_hdr *vhdr; in xdp_router_ipv4_prog() local
96 vhdr = data + nh_off; in xdp_router_ipv4_prog()
101 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_router_ipv4_prog()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c368 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in amdgpu_acpi_vfct_bios() local
376 offset += vhdr->ImageLength; in amdgpu_acpi_vfct_bios()
382 if (vhdr->ImageLength && in amdgpu_acpi_vfct_bios()
383 vhdr->PCIBus == adev->pdev->bus->number && in amdgpu_acpi_vfct_bios()
384 vhdr->PCIDevice == PCI_SLOT(adev->pdev->devfn) && in amdgpu_acpi_vfct_bios()
385 vhdr->PCIFunction == PCI_FUNC(adev->pdev->devfn) && in amdgpu_acpi_vfct_bios()
386 vhdr->VendorID == adev->pdev->vendor && in amdgpu_acpi_vfct_bios()
387 vhdr->DeviceID == adev->pdev->device) { in amdgpu_acpi_vfct_bios()
389 vhdr->ImageLength, in amdgpu_acpi_vfct_bios()
392 if (!check_atom_bios(adev->bios, vhdr->ImageLength)) { in amdgpu_acpi_vfct_bios()
[all …]
Damdgpu_discovery.c529 struct vcn_info_header *vhdr = in amdgpu_discovery_init() local
532 if (le32_to_cpu(vhdr->table_id) != VCN_INFO_TABLE_ID) { in amdgpu_discovery_init()
539 le32_to_cpu(vhdr->size_bytes), checksum)) { in amdgpu_discovery_init()
/linux-6.12.1/net/8021q/
Dvlan_core.c470 struct vlan_hdr *vhdr; in vlan_gro_receive() local
476 hlen = off_vlan + sizeof(*vhdr); in vlan_gro_receive()
477 vhdr = skb_gro_header(skb, hlen, off_vlan); in vlan_gro_receive()
478 if (unlikely(!vhdr)) in vlan_gro_receive()
483 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_receive()
498 if (compare_vlan_header(vhdr, vhdr2)) in vlan_gro_receive()
502 skb_gro_pull(skb, sizeof(*vhdr)); in vlan_gro_receive()
503 skb_gro_postpull_rcsum(skb, vhdr, sizeof(*vhdr)); in vlan_gro_receive()
517 struct vlan_hdr *vhdr = (struct vlan_hdr *)(skb->data + nhoff); in vlan_gro_complete() local
518 __be16 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_complete()
[all …]
Dvlan_dev.c51 struct vlan_hdr *vhdr; in vlan_dev_hard_header() local
57 vhdr = skb_push(skb, VLAN_HLEN); in vlan_dev_hard_header()
61 vhdr->h_vlan_TCI = htons(vlan_tci); in vlan_dev_hard_header()
68 vhdr->h_vlan_encapsulated_proto = htons(type); in vlan_dev_hard_header()
70 vhdr->h_vlan_encapsulated_proto = htons(len); in vlan_dev_hard_header()
/linux-6.12.1/include/linux/
Dif_vlan.h611 struct vlan_hdr vhdr, *vh; in __vlan_get_protocol() local
613 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in __vlan_get_protocol()
672 struct vlan_hdr *vhdr) in vlan_set_encap_proto() argument
682 proto = vhdr->h_vlan_encapsulated_proto; in vlan_set_encap_proto()
688 rawp = (unsigned short *)(vhdr + 1); in vlan_set_encap_proto()
717 struct vlan_hdr *vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN); in vlan_remove_tag() local
719 *vlan_tci = ntohs(vhdr->h_vlan_TCI); in vlan_remove_tag()
722 vlan_set_encap_proto(skb, vhdr); in vlan_remove_tag()
/linux-6.12.1/net/batman-adv/
Dmain.c365 struct vlan_ethhdr *vhdr, vhdr_tmp; in batadv_skb_set_priority() local
378 vhdr = skb_header_pointer(skb, offset + sizeof(*vhdr), in batadv_skb_set_priority()
379 sizeof(*vhdr), &vhdr_tmp); in batadv_skb_set_priority()
380 if (!vhdr) in batadv_skb_set_priority()
382 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; in batadv_skb_set_priority()
629 struct vlan_ethhdr *vhdr; in batadv_get_vid() local
638 vhdr = (struct vlan_ethhdr *)(skb->data + header_len); in batadv_get_vid()
639 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
Dsoft-interface.c193 struct vlan_ethhdr *vhdr; in batadv_interface_tx() local
222 if (!pskb_may_pull(skb, sizeof(*vhdr))) in batadv_interface_tx()
224 vhdr = vlan_eth_hdr(skb); in batadv_interface_tx()
225 proto = vhdr->h_vlan_encapsulated_proto; in batadv_interface_tx()
421 struct vlan_ethhdr *vhdr; in batadv_interface_rx() local
448 vhdr = skb_vlan_eth_hdr(skb); in batadv_interface_rx()
451 if (vhdr->h_vlan_encapsulated_proto != htons(ETH_P_BATMAN)) in batadv_interface_rx()
Dgateway_client.c570 struct vlan_ethhdr *vhdr; in batadv_gw_dhcp_recipient_get() local
588 vhdr = vlan_eth_hdr(skb); in batadv_gw_dhcp_recipient_get()
589 proto = vhdr->h_vlan_encapsulated_proto; in batadv_gw_dhcp_recipient_get()
Dbridge_loop_avoidance.c1083 struct vlan_hdr *vhdr, vhdr_buf; in batadv_bla_process_claim() local
1107 vhdr = skb_header_pointer(skb, headlen, VLAN_HLEN, in batadv_bla_process_claim()
1109 if (!vhdr) in batadv_bla_process_claim()
1112 proto = vhdr->h_vlan_encapsulated_proto; in batadv_bla_process_claim()
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_bios.c621 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in radeon_acpi_vfct_bios() local
629 offset += vhdr->ImageLength; in radeon_acpi_vfct_bios()
635 if (vhdr->ImageLength && in radeon_acpi_vfct_bios()
636 vhdr->PCIBus == rdev->pdev->bus->number && in radeon_acpi_vfct_bios()
637 vhdr->PCIDevice == PCI_SLOT(rdev->pdev->devfn) && in radeon_acpi_vfct_bios()
638 vhdr->PCIFunction == PCI_FUNC(rdev->pdev->devfn) && in radeon_acpi_vfct_bios()
639 vhdr->VendorID == rdev->pdev->vendor && in radeon_acpi_vfct_bios()
640 vhdr->DeviceID == rdev->pdev->device) { in radeon_acpi_vfct_bios()
642 vhdr->ImageLength, in radeon_acpi_vfct_bios()
/linux-6.12.1/net/netfilter/
Dnfnetlink_queue.c1276 struct nfqnl_msg_verdict_hdr *vhdr; in verdicthdr_get() local
1282 vhdr = nla_data(nfqa[NFQA_VERDICT_HDR]); in verdicthdr_get()
1283 verdict = ntohl(vhdr->verdict) & NF_VERDICT_MASK; in verdicthdr_get()
1286 return vhdr; in verdicthdr_get()
1301 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict_batch() local
1311 vhdr = verdicthdr_get(nfqa); in nfqnl_recv_verdict_batch()
1312 if (!vhdr) in nfqnl_recv_verdict_batch()
1315 verdict = ntohl(vhdr->verdict); in nfqnl_recv_verdict_batch()
1316 maxid = ntohl(vhdr->id); in nfqnl_recv_verdict_batch()
1412 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict() local
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c105 struct vlan_ethhdr *vhdr = (struct vlan_ethhdr *)start; in mlx5e_insert_vlan() local
109 memcpy(&vhdr->addrs, skb->data, cpy1_sz); in mlx5e_insert_vlan()
110 vhdr->h_vlan_proto = skb->vlan_proto; in mlx5e_insert_vlan()
111 vhdr->h_vlan_TCI = cpu_to_be16(skb_vlan_tag_get(skb)); in mlx5e_insert_vlan()
112 unsafe_memcpy(&vhdr->h_vlan_encapsulated_proto, in mlx5e_insert_vlan()
/linux-6.12.1/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-6.12.1/drivers/net/thunderbolt/
Dmain.c1021 struct vlan_hdr *vhdr, vh; in tbnet_xmit_csum_and_map() local
1023 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(vh), &vh); in tbnet_xmit_csum_and_map()
1024 if (!vhdr) in tbnet_xmit_csum_and_map()
1027 protocol = vhdr->h_vlan_encapsulated_proto; in tbnet_xmit_csum_and_map()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3029 struct vlan_hdr *vhdr, _vhdr; in i40e_tx_prepare_vlan_flags() local
3031 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in i40e_tx_prepare_vlan_flags()
3032 if (!vhdr) in i40e_tx_prepare_vlan_flags()
3035 protocol = vhdr->h_vlan_encapsulated_proto; in i40e_tx_prepare_vlan_flags()
3036 tx_flags |= ntohs(vhdr->h_vlan_TCI) << I40E_TX_FLAGS_VLAN_SHIFT; in i40e_tx_prepare_vlan_flags()
3050 struct vlan_ethhdr *vhdr; in i40e_tx_prepare_vlan_flags() local
3056 vhdr = skb_vlan_eth_hdr(skb); in i40e_tx_prepare_vlan_flags()
3057 vhdr->h_vlan_TCI = htons(tx_flags >> in i40e_tx_prepare_vlan_flags()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8779 struct vlan_hdr *vhdr, _vhdr; in ixgbe_xmit_frame_ring() local
8780 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in ixgbe_xmit_frame_ring()
8781 if (!vhdr) in ixgbe_xmit_frame_ring()
8784 tx_flags |= ntohs(vhdr->h_vlan_TCI) << in ixgbe_xmit_frame_ring()
8824 struct vlan_ethhdr *vhdr; in ixgbe_xmit_frame_ring() local
8828 vhdr = skb_vlan_eth_hdr(skb); in ixgbe_xmit_frame_ring()
8829 vhdr->h_vlan_TCI = htons(tx_flags >> in ixgbe_xmit_frame_ring()
/linux-6.12.1/net/core/
Dskbuff.c6164 struct vlan_hdr *vhdr; in skb_vlan_untag() local
6179 vhdr = (struct vlan_hdr *)skb->data; in skb_vlan_untag()
6180 vlan_tci = ntohs(vhdr->h_vlan_TCI); in skb_vlan_untag()
6184 vlan_set_encap_proto(skb, vhdr); in skb_vlan_untag()
/linux-6.12.1/net/packet/
Daf_packet.c545 struct vlan_hdr vhdr, *vh; in vlan_get_tci() local
566 vh = skb_header_pointer(skb, header_len, sizeof(vhdr), &vhdr); in vlan_get_tci()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c1489 struct vlan_ethhdr *vhdr; in hns3_handle_vtags() local
1536 vhdr = skb_vlan_eth_hdr(skb); in hns3_handle_vtags()
1537 vhdr->h_vlan_TCI |= cpu_to_be16((skb->priority << VLAN_PRIO_SHIFT) in hns3_handle_vtags()
/linux-6.12.1/drivers/net/ethernet/freescale/
Dfec_main.c3740 struct vlan_ethhdr *vhdr = skb_vlan_eth_hdr(skb); in fec_enet_select_queue() local
3742 vlan_tag = ntohs(vhdr->h_vlan_TCI); in fec_enet_select_queue()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c1939 struct vlan_ethhdr *vhdr = skb_vlan_eth_hdr(skb); in bnx2x_select_queue() local
1941 ether_type = ntohs(vhdr->h_vlan_encapsulated_proto); in bnx2x_select_queue()