Home
last modified time | relevance | path

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

/linux-4.4.14/fs/hfsplus/
Dsuper.c28 struct hfsplus_vh *vhdr = HFSPLUS_SB(inode->i_sb)->s_vhdr; in hfsplus_system_read_inode() local
32 hfsplus_inode_read_fork(inode, &vhdr->ext_file); in hfsplus_system_read_inode()
36 hfsplus_inode_read_fork(inode, &vhdr->cat_file); in hfsplus_system_read_inode()
40 hfsplus_inode_read_fork(inode, &vhdr->alloc_file); in hfsplus_system_read_inode()
44 hfsplus_inode_read_fork(inode, &vhdr->start_file); in hfsplus_system_read_inode()
47 hfsplus_inode_read_fork(inode, &vhdr->attr_file); in hfsplus_system_read_inode()
101 struct hfsplus_vh *vhdr = sbi->s_vhdr; in hfsplus_system_write_inode() local
107 fork = &vhdr->ext_file; in hfsplus_system_write_inode()
111 fork = &vhdr->cat_file; in hfsplus_system_write_inode()
115 fork = &vhdr->alloc_file; in hfsplus_system_write_inode()
[all …]
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c262 VFCT_IMAGE_HEADER *vhdr; in amdgpu_acpi_vfct_bios() local
278 vhdr = &vbios->VbiosHeader; in amdgpu_acpi_vfct_bios()
280 vhdr->PCIBus, vhdr->PCIDevice, vhdr->PCIFunction, in amdgpu_acpi_vfct_bios()
281 vhdr->VendorID, vhdr->DeviceID, vhdr->ImageLength); in amdgpu_acpi_vfct_bios()
283 if (vhdr->PCIBus != adev->pdev->bus->number || in amdgpu_acpi_vfct_bios()
284 vhdr->PCIDevice != PCI_SLOT(adev->pdev->devfn) || in amdgpu_acpi_vfct_bios()
285 vhdr->PCIFunction != PCI_FUNC(adev->pdev->devfn) || in amdgpu_acpi_vfct_bios()
286 vhdr->VendorID != adev->pdev->vendor || in amdgpu_acpi_vfct_bios()
287 vhdr->DeviceID != adev->pdev->device) { in amdgpu_acpi_vfct_bios()
292 if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) { in amdgpu_acpi_vfct_bios()
[all …]
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_bios.c604 VFCT_IMAGE_HEADER *vhdr; in radeon_acpi_vfct_bios() local
620 vhdr = &vbios->VbiosHeader; in radeon_acpi_vfct_bios()
622 vhdr->PCIBus, vhdr->PCIDevice, vhdr->PCIFunction, in radeon_acpi_vfct_bios()
623 vhdr->VendorID, vhdr->DeviceID, vhdr->ImageLength); in radeon_acpi_vfct_bios()
625 if (vhdr->PCIBus != rdev->pdev->bus->number || in radeon_acpi_vfct_bios()
626 vhdr->PCIDevice != PCI_SLOT(rdev->pdev->devfn) || in radeon_acpi_vfct_bios()
627 vhdr->PCIFunction != PCI_FUNC(rdev->pdev->devfn) || in radeon_acpi_vfct_bios()
628 vhdr->VendorID != rdev->pdev->vendor || in radeon_acpi_vfct_bios()
629 vhdr->DeviceID != rdev->pdev->device) { in radeon_acpi_vfct_bios()
634 if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) { in radeon_acpi_vfct_bios()
[all …]
/linux-4.4.14/net/8021q/
Dvlan.c625 struct vlan_hdr *vhdr; in vlan_gro_receive() local
632 hlen = off_vlan + sizeof(*vhdr); in vlan_gro_receive()
633 vhdr = skb_gro_header_fast(skb, off_vlan); in vlan_gro_receive()
635 vhdr = skb_gro_header_slow(skb, hlen, off_vlan); in vlan_gro_receive()
636 if (unlikely(!vhdr)) in vlan_gro_receive()
640 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_receive()
656 if (compare_vlan_header(vhdr, vhdr2)) in vlan_gro_receive()
660 skb_gro_pull(skb, sizeof(*vhdr)); in vlan_gro_receive()
661 skb_gro_postpull_rcsum(skb, vhdr, sizeof(*vhdr)); in vlan_gro_receive()
674 struct vlan_hdr *vhdr = (struct vlan_hdr *)(skb->data + nhoff); in vlan_gro_complete() local
[all …]
Dvlan_dev.c54 struct vlan_hdr *vhdr; in vlan_dev_hard_header() local
60 vhdr = (struct vlan_hdr *) skb_push(skb, VLAN_HLEN); in vlan_dev_hard_header()
64 vhdr->h_vlan_TCI = htons(vlan_tci); in vlan_dev_hard_header()
71 vhdr->h_vlan_encapsulated_proto = htons(type); in vlan_dev_hard_header()
73 vhdr->h_vlan_encapsulated_proto = htons(len); in vlan_dev_hard_header()
/linux-4.4.14/net/netfilter/
Dnfnetlink_queue.c942 struct nfqnl_msg_verdict_hdr *vhdr; in verdicthdr_get() local
948 vhdr = nla_data(nfqa[NFQA_VERDICT_HDR]); in verdicthdr_get()
949 verdict = ntohl(vhdr->verdict) & NF_VERDICT_MASK; in verdicthdr_get()
952 return vhdr; in verdicthdr_get()
968 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict_batch() local
981 vhdr = verdicthdr_get(nfqa); in nfqnl_recv_verdict_batch()
982 if (!vhdr) in nfqnl_recv_verdict_batch()
985 verdict = ntohl(vhdr->verdict); in nfqnl_recv_verdict_batch()
986 maxid = ntohl(vhdr->id); in nfqnl_recv_verdict_batch()
1040 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict() local
[all …]
/linux-4.4.14/net/batman-adv/
Dmain.c334 struct vlan_ethhdr *vhdr, vhdr_tmp; in batadv_skb_set_priority() local
347 vhdr = skb_header_pointer(skb, offset + sizeof(*vhdr), in batadv_skb_set_priority()
348 sizeof(*vhdr), &vhdr_tmp); in batadv_skb_set_priority()
349 if (!vhdr) in batadv_skb_set_priority()
351 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; in batadv_skb_set_priority()
1204 struct vlan_ethhdr *vhdr; in batadv_get_vid() local
1213 vhdr = (struct vlan_ethhdr *)(skb->data + header_len); in batadv_get_vid()
1214 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
Dsoft-interface.c195 struct vlan_ethhdr *vhdr; in batadv_interface_tx() local
216 vhdr = vlan_eth_hdr(skb); in batadv_interface_tx()
218 if (vhdr->h_vlan_encapsulated_proto != ethertype) { in batadv_interface_tx()
390 struct vlan_ethhdr *vhdr; in batadv_interface_rx() local
421 vhdr = (struct vlan_ethhdr *)skb->data; in batadv_interface_rx()
423 if (vhdr->h_vlan_encapsulated_proto != ethertype) in batadv_interface_rx()
Dgateway_client.c675 struct vlan_ethhdr *vhdr; in batadv_gw_dhcp_recipient_get() local
693 vhdr = vlan_eth_hdr(skb); in batadv_gw_dhcp_recipient_get()
694 proto = vhdr->h_vlan_encapsulated_proto; in batadv_gw_dhcp_recipient_get()
Dbridge_loop_avoidance.c877 struct vlan_hdr *vhdr, vhdr_buf; in batadv_bla_process_claim() local
901 vhdr = skb_header_pointer(skb, headlen, VLAN_HLEN, in batadv_bla_process_claim()
903 if (!vhdr) in batadv_bla_process_claim()
906 proto = vhdr->h_vlan_encapsulated_proto; in batadv_bla_process_claim()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c144 struct vlan_ethhdr *vhdr = (struct vlan_ethhdr *)start; in mlx5e_insert_vlan() local
148 skb_copy_from_linear_data(skb, vhdr, cpy1_sz); in mlx5e_insert_vlan()
150 vhdr->h_vlan_proto = skb->vlan_proto; in mlx5e_insert_vlan()
151 vhdr->h_vlan_TCI = cpu_to_be16(skb_vlan_tag_get(skb)); in mlx5e_insert_vlan()
152 skb_copy_from_linear_data(skb, &vhdr->h_vlan_encapsulated_proto, in mlx5e_insert_vlan()
/linux-4.4.14/include/linux/
Dif_vlan.h531 struct vlan_hdr *vhdr) in vlan_set_encap_proto() argument
541 proto = vhdr->h_vlan_encapsulated_proto; in vlan_set_encap_proto()
547 rawp = (unsigned short *)(vhdr + 1); in vlan_set_encap_proto()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c616 struct vlan_hdr *vhdr; in fm10k_xmit_frame() local
636 vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN); in fm10k_xmit_frame()
641 ntohs(vhdr->h_vlan_TCI)); in fm10k_xmit_frame()
642 proto = vhdr->h_vlan_encapsulated_proto; in fm10k_xmit_frame()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c2145 struct vlan_hdr *vhdr, _vhdr; in i40e_tx_prepare_vlan_flags() local
2147 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in i40e_tx_prepare_vlan_flags()
2148 if (!vhdr) in i40e_tx_prepare_vlan_flags()
2151 protocol = vhdr->h_vlan_encapsulated_proto; in i40e_tx_prepare_vlan_flags()
2152 tx_flags |= ntohs(vhdr->h_vlan_TCI) << I40E_TX_FLAGS_VLAN_SHIFT; in i40e_tx_prepare_vlan_flags()
2166 struct vlan_ethhdr *vhdr; in i40e_tx_prepare_vlan_flags() local
2172 vhdr = (struct vlan_ethhdr *)skb->data; in i40e_tx_prepare_vlan_flags()
2173 vhdr->h_vlan_TCI = htons(tx_flags >> in i40e_tx_prepare_vlan_flags()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c1419 struct vlan_hdr *vhdr, _vhdr; in i40evf_tx_prepare_vlan_flags() local
1421 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in i40evf_tx_prepare_vlan_flags()
1422 if (!vhdr) in i40evf_tx_prepare_vlan_flags()
1425 protocol = vhdr->h_vlan_encapsulated_proto; in i40evf_tx_prepare_vlan_flags()
1426 tx_flags |= ntohs(vhdr->h_vlan_TCI) << I40E_TX_FLAGS_VLAN_SHIFT; in i40evf_tx_prepare_vlan_flags()
/linux-4.4.14/net/core/
Dskbuff.c4300 struct vlan_hdr *vhdr; in skb_vlan_untag() local
4315 vhdr = (struct vlan_hdr *)skb->data; in skb_vlan_untag()
4316 vlan_tci = ntohs(vhdr->h_vlan_TCI); in skb_vlan_untag()
4320 vlan_set_encap_proto(skb, vhdr); in skb_vlan_untag()
4353 struct vlan_hdr *vhdr; in __skb_vlan_pop() local
4364 vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN); in __skb_vlan_pop()
4365 *vlan_tci = ntohs(vhdr->h_vlan_TCI); in __skb_vlan_pop()
4370 vlan_set_encap_proto(skb, vhdr); in __skb_vlan_pop()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c7530 struct vlan_hdr *vhdr, _vhdr; in ixgbe_xmit_frame_ring() local
7531 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in ixgbe_xmit_frame_ring()
7532 if (!vhdr) in ixgbe_xmit_frame_ring()
7535 tx_flags |= ntohs(vhdr->h_vlan_TCI) << in ixgbe_xmit_frame_ring()
7573 struct vlan_ethhdr *vhdr; in ixgbe_xmit_frame_ring() local
7577 vhdr = (struct vlan_ethhdr *)skb->data; in ixgbe_xmit_frame_ring()
7578 vhdr->h_vlan_TCI = htons(tx_flags >> in ixgbe_xmit_frame_ring()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c1940 struct vlan_ethhdr *vhdr = in bnx2x_select_queue() local
1943 ether_type = ntohs(vhdr->h_vlan_encapsulated_proto); in bnx2x_select_queue()