Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/hfsplus/
A Dsuper.c103 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()
120 fork = &vhdr->start_file; in hfsplus_system_write_inode()
123 fork = &vhdr->attr_file; in hfsplus_system_write_inode()
291 vhdr->modify_date = hfsp_now2mt(); in hfsplus_put_super()
347 } else if (vhdr->attributes & in hfsplus_remount()
352 } else if (vhdr->attributes & in hfsplus_remount()
376 struct hfsplus_vh *vhdr; in hfsplus_fill_super() local
[all …]
/linux-6.3-rc2/samples/bpf/
A Dxdp1_kern.c67 struct vlan_hdr *vhdr; in xdp_prog1() local
69 vhdr = data + nh_off; in xdp_prog1()
73 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
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()
A Dxdp2_kern.c83 struct vlan_hdr *vhdr; in xdp_prog1() local
85 vhdr = data + nh_off; in xdp_prog1()
89 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
93 struct vlan_hdr *vhdr; in xdp_prog1() local
95 vhdr = data + nh_off; in xdp_prog1()
99 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
A 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()
A 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.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_bios.c381 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in amdgpu_acpi_vfct_bios() local
389 offset += vhdr->ImageLength; in amdgpu_acpi_vfct_bios()
395 if (vhdr->ImageLength && in amdgpu_acpi_vfct_bios()
396 vhdr->PCIBus == adev->pdev->bus->number && in amdgpu_acpi_vfct_bios()
397 vhdr->PCIDevice == PCI_SLOT(adev->pdev->devfn) && in amdgpu_acpi_vfct_bios()
398 vhdr->PCIFunction == PCI_FUNC(adev->pdev->devfn) && in amdgpu_acpi_vfct_bios()
399 vhdr->VendorID == adev->pdev->vendor && in amdgpu_acpi_vfct_bios()
400 vhdr->DeviceID == adev->pdev->device) { in amdgpu_acpi_vfct_bios()
402 vhdr->ImageLength, in amdgpu_acpi_vfct_bios()
405 if (!check_atom_bios(adev->bios, vhdr->ImageLength)) { in amdgpu_acpi_vfct_bios()
[all …]
A Damdgpu_discovery.c415 struct vcn_info_header *vhdr = in amdgpu_discovery_init() local
418 if (le32_to_cpu(vhdr->table_id) != VCN_INFO_TABLE_ID) { in amdgpu_discovery_init()
425 le32_to_cpu(vhdr->size_bytes), checksum)) { in amdgpu_discovery_init()
/linux-6.3-rc2/net/8021q/
A 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(skb, hlen, off_vlan); in vlan_gro_receive()
471 if (unlikely(!vhdr)) in vlan_gro_receive()
474 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_receive()
489 if (compare_vlan_header(vhdr, vhdr2)) in vlan_gro_receive()
493 skb_gro_pull(skb, sizeof(*vhdr)); in vlan_gro_receive()
494 skb_gro_postpull_rcsum(skb, vhdr, sizeof(*vhdr)); in vlan_gro_receive()
508 struct vlan_hdr *vhdr = (struct vlan_hdr *)(skb->data + nhoff); in vlan_gro_complete() local
509 __be16 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_complete()
[all …]
A 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-6.3-rc2/net/batman-adv/
A 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()
A Dsoft-interface.c190 struct vlan_ethhdr *vhdr; in batadv_interface_tx() local
219 if (!pskb_may_pull(skb, sizeof(*vhdr))) in batadv_interface_tx()
221 vhdr = vlan_eth_hdr(skb); in batadv_interface_tx()
222 proto = vhdr->h_vlan_encapsulated_proto; in batadv_interface_tx()
415 struct vlan_ethhdr *vhdr; in batadv_interface_rx() local
442 vhdr = (struct vlan_ethhdr *)skb->data; in batadv_interface_rx()
445 if (vhdr->h_vlan_encapsulated_proto != htons(ETH_P_BATMAN)) in batadv_interface_rx()
A 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()
A 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.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_bios.c631 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in radeon_acpi_vfct_bios() local
639 offset += vhdr->ImageLength; in radeon_acpi_vfct_bios()
645 if (vhdr->ImageLength && in radeon_acpi_vfct_bios()
646 vhdr->PCIBus == rdev->pdev->bus->number && in radeon_acpi_vfct_bios()
647 vhdr->PCIDevice == PCI_SLOT(rdev->pdev->devfn) && in radeon_acpi_vfct_bios()
648 vhdr->PCIFunction == PCI_FUNC(rdev->pdev->devfn) && in radeon_acpi_vfct_bios()
649 vhdr->VendorID == rdev->pdev->vendor && in radeon_acpi_vfct_bios()
650 vhdr->DeviceID == rdev->pdev->device) { in radeon_acpi_vfct_bios()
652 vhdr->ImageLength, in radeon_acpi_vfct_bios()
/linux-6.3-rc2/include/linux/
A Dif_vlan.h602 struct vlan_hdr vhdr, *vh; in __vlan_get_protocol() local
604 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in __vlan_get_protocol()
646 struct vlan_hdr *vhdr) in vlan_set_encap_proto() argument
656 proto = vhdr->h_vlan_encapsulated_proto; in vlan_set_encap_proto()
662 rawp = (unsigned short *)(vhdr + 1); in vlan_set_encap_proto()
/linux-6.3-rc2/net/netfilter/
A Dnfnetlink_queue.c1062 struct nfqnl_msg_verdict_hdr *vhdr; in verdicthdr_get() local
1072 return vhdr; in verdicthdr_get()
1087 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict_batch() local
1097 vhdr = verdicthdr_get(nfqa); in nfqnl_recv_verdict_batch()
1098 if (!vhdr) in nfqnl_recv_verdict_batch()
1101 verdict = ntohl(vhdr->verdict); in nfqnl_recv_verdict_batch()
1102 maxid = ntohl(vhdr->id); in nfqnl_recv_verdict_batch()
1198 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict() local
1211 vhdr = verdicthdr_get(nfqa); in nfqnl_recv_verdict()
1212 if (!vhdr) in nfqnl_recv_verdict()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A 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.3-rc2/drivers/net/ethernet/intel/fm10k/
A 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.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_txrx.c2977 struct vlan_hdr *vhdr, _vhdr; in i40e_tx_prepare_vlan_flags() local
2979 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in i40e_tx_prepare_vlan_flags()
2980 if (!vhdr) in i40e_tx_prepare_vlan_flags()
2983 protocol = vhdr->h_vlan_encapsulated_proto; in i40e_tx_prepare_vlan_flags()
2984 tx_flags |= ntohs(vhdr->h_vlan_TCI) << I40E_TX_FLAGS_VLAN_SHIFT; in i40e_tx_prepare_vlan_flags()
2998 struct vlan_ethhdr *vhdr; in i40e_tx_prepare_vlan_flags() local
3004 vhdr = (struct vlan_ethhdr *)skb->data; in i40e_tx_prepare_vlan_flags()
3005 vhdr->h_vlan_TCI = htons(tx_flags >> in i40e_tx_prepare_vlan_flags()
/linux-6.3-rc2/drivers/net/thunderbolt/
A Dmain.c1018 struct vlan_hdr *vhdr, vh; in tbnet_xmit_csum_and_map() local
1020 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(vh), &vh); in tbnet_xmit_csum_and_map()
1021 if (!vhdr) in tbnet_xmit_csum_and_map()
1024 protocol = vhdr->h_vlan_encapsulated_proto; in tbnet_xmit_csum_and_map()
/linux-6.3-rc2/net/core/
A Dskbuff.c5888 struct vlan_hdr *vhdr; in skb_vlan_untag() local
5903 vhdr = (struct vlan_hdr *)skb->data; in skb_vlan_untag()
5904 vlan_tci = ntohs(vhdr->h_vlan_TCI); in skb_vlan_untag()
5908 vlan_set_encap_proto(skb, vhdr); in skb_vlan_untag()
5944 struct vlan_hdr *vhdr; in __skb_vlan_pop() local
5960 vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN); in __skb_vlan_pop()
5961 *vlan_tci = ntohs(vhdr->h_vlan_TCI); in __skb_vlan_pop()
5966 vlan_set_encap_proto(skb, vhdr); in __skb_vlan_pop()
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_main.c8772 struct vlan_hdr *vhdr, _vhdr; in ixgbe_xmit_frame_ring() local
8773 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in ixgbe_xmit_frame_ring()
8774 if (!vhdr) in ixgbe_xmit_frame_ring()
8777 tx_flags |= ntohs(vhdr->h_vlan_TCI) << in ixgbe_xmit_frame_ring()
8817 struct vlan_ethhdr *vhdr; in ixgbe_xmit_frame_ring() local
8821 vhdr = (struct vlan_ethhdr *)skb->data; in ixgbe_xmit_frame_ring()
8822 vhdr->h_vlan_TCI = htons(tx_flags >> in ixgbe_xmit_frame_ring()
/linux-6.3-rc2/drivers/net/ethernet/freescale/
A Dfec_main.c3704 struct vlan_ethhdr *vhdr; in fec_enet_get_raw_vlan_tci() local
3708 vhdr = (struct vlan_ethhdr *)(skb->data); in fec_enet_get_raw_vlan_tci()
3709 vlan_TCI = ntohs(vhdr->h_vlan_TCI); in fec_enet_get_raw_vlan_tci()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_enet.c1489 struct vlan_ethhdr *vhdr; in hns3_handle_vtags() local
1536 vhdr = (struct vlan_ethhdr *)skb->data; in hns3_handle_vtags()
1537 vhdr->h_vlan_TCI |= cpu_to_be16((skb->priority << VLAN_PRIO_SHIFT) in hns3_handle_vtags()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/
A 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()

Completed in 116 milliseconds