/linux-4.1.27/fs/hfsplus/ |
D | super.c | 27 struct hfsplus_vh *vhdr = HFSPLUS_SB(inode->i_sb)->s_vhdr; in hfsplus_system_read_inode() local 31 hfsplus_inode_read_fork(inode, &vhdr->ext_file); in hfsplus_system_read_inode() 35 hfsplus_inode_read_fork(inode, &vhdr->cat_file); in hfsplus_system_read_inode() 39 hfsplus_inode_read_fork(inode, &vhdr->alloc_file); in hfsplus_system_read_inode() 43 hfsplus_inode_read_fork(inode, &vhdr->start_file); in hfsplus_system_read_inode() 46 hfsplus_inode_read_fork(inode, &vhdr->attr_file); in hfsplus_system_read_inode() 100 struct hfsplus_vh *vhdr = sbi->s_vhdr; in hfsplus_system_write_inode() local 106 fork = &vhdr->ext_file; in hfsplus_system_write_inode() 110 fork = &vhdr->cat_file; in hfsplus_system_write_inode() 114 fork = &vhdr->alloc_file; in hfsplus_system_write_inode() [all …]
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_bios.c | 605 VFCT_IMAGE_HEADER *vhdr; in radeon_acpi_vfct_bios() local 621 vhdr = &vbios->VbiosHeader; in radeon_acpi_vfct_bios() 623 vhdr->PCIBus, vhdr->PCIDevice, vhdr->PCIFunction, in radeon_acpi_vfct_bios() 624 vhdr->VendorID, vhdr->DeviceID, vhdr->ImageLength); in radeon_acpi_vfct_bios() 626 if (vhdr->PCIBus != rdev->pdev->bus->number || in radeon_acpi_vfct_bios() 627 vhdr->PCIDevice != PCI_SLOT(rdev->pdev->devfn) || in radeon_acpi_vfct_bios() 628 vhdr->PCIFunction != PCI_FUNC(rdev->pdev->devfn) || in radeon_acpi_vfct_bios() 629 vhdr->VendorID != rdev->pdev->vendor || in radeon_acpi_vfct_bios() 630 vhdr->DeviceID != rdev->pdev->device) { in radeon_acpi_vfct_bios() 635 if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) { in radeon_acpi_vfct_bios() [all …]
|
/linux-4.1.27/net/netfilter/ |
D | nfnetlink_queue_core.c | 910 struct nfqnl_msg_verdict_hdr *vhdr; in verdicthdr_get() local 916 vhdr = nla_data(nfqa[NFQA_VERDICT_HDR]); in verdicthdr_get() 917 verdict = ntohl(vhdr->verdict) & NF_VERDICT_MASK; in verdicthdr_get() 920 return vhdr; in verdicthdr_get() 936 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict_batch() local 949 vhdr = verdicthdr_get(nfqa); in nfqnl_recv_verdict_batch() 950 if (!vhdr) in nfqnl_recv_verdict_batch() 953 verdict = ntohl(vhdr->verdict); in nfqnl_recv_verdict_batch() 954 maxid = ntohl(vhdr->id); in nfqnl_recv_verdict_batch() 986 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict() local [all …]
|
/linux-4.1.27/net/batman-adv/ |
D | main.c | 308 struct vlan_ethhdr *vhdr, vhdr_tmp; in batadv_skb_set_priority() local 321 vhdr = skb_header_pointer(skb, offset + sizeof(*vhdr), in batadv_skb_set_priority() 322 sizeof(*vhdr), &vhdr_tmp); in batadv_skb_set_priority() 323 if (!vhdr) in batadv_skb_set_priority() 325 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; in batadv_skb_set_priority() 1185 struct vlan_ethhdr *vhdr; in batadv_get_vid() local 1194 vhdr = (struct vlan_ethhdr *)(skb->data + header_len); in batadv_get_vid() 1195 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
|
D | soft-interface.c | 165 struct vlan_ethhdr *vhdr; in batadv_interface_tx() local 186 vhdr = vlan_eth_hdr(skb); in batadv_interface_tx() 188 if (vhdr->h_vlan_encapsulated_proto != ethertype) { in batadv_interface_tx() 360 struct vlan_ethhdr *vhdr; in batadv_interface_rx() local 385 vhdr = (struct vlan_ethhdr *)skb->data; in batadv_interface_rx() 387 if (vhdr->h_vlan_encapsulated_proto != ethertype) in batadv_interface_rx()
|
D | gateway_client.c | 680 struct vlan_ethhdr *vhdr; in batadv_gw_dhcp_recipient_get() local 698 vhdr = vlan_eth_hdr(skb); in batadv_gw_dhcp_recipient_get() 699 proto = vhdr->h_vlan_encapsulated_proto; in batadv_gw_dhcp_recipient_get()
|
D | bridge_loop_avoidance.c | 863 struct vlan_hdr *vhdr, vhdr_buf; in batadv_bla_process_claim() local 887 vhdr = skb_header_pointer(skb, headlen, VLAN_HLEN, in batadv_bla_process_claim() 889 if (!vhdr) in batadv_bla_process_claim() 892 proto = vhdr->h_vlan_encapsulated_proto; in batadv_bla_process_claim()
|
/linux-4.1.27/include/linux/ |
D | if_vlan.h | 531 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.1.27/net/8021q/ |
D | vlan_dev.c | 54 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.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 2079 struct vlan_hdr *vhdr, _vhdr; in i40e_tx_prepare_vlan_flags() local 2080 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in i40e_tx_prepare_vlan_flags() 2081 if (!vhdr) in i40e_tx_prepare_vlan_flags() 2084 protocol = vhdr->h_vlan_encapsulated_proto; in i40e_tx_prepare_vlan_flags() 2085 tx_flags |= ntohs(vhdr->h_vlan_TCI) << I40E_TX_FLAGS_VLAN_SHIFT; in i40e_tx_prepare_vlan_flags() 2099 struct vlan_ethhdr *vhdr; in i40e_tx_prepare_vlan_flags() local 2105 vhdr = (struct vlan_ethhdr *)skb->data; in i40e_tx_prepare_vlan_flags() 2106 vhdr->h_vlan_TCI = htons(tx_flags >> in i40e_tx_prepare_vlan_flags()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 616 struct vlan_hdr *vhdr; in fm10k_xmit_frame() local 634 vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN); in fm10k_xmit_frame() 639 ntohs(vhdr->h_vlan_TCI)); in fm10k_xmit_frame() 640 proto = vhdr->h_vlan_encapsulated_proto; in fm10k_xmit_frame()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 1392 struct vlan_hdr *vhdr, _vhdr; in i40e_tx_prepare_vlan_flags() local 1393 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in i40e_tx_prepare_vlan_flags() 1394 if (!vhdr) in i40e_tx_prepare_vlan_flags() 1397 protocol = vhdr->h_vlan_encapsulated_proto; in i40e_tx_prepare_vlan_flags() 1398 tx_flags |= ntohs(vhdr->h_vlan_TCI) << I40E_TX_FLAGS_VLAN_SHIFT; in i40e_tx_prepare_vlan_flags()
|
/linux-4.1.27/net/core/ |
D | skbuff.c | 4214 struct vlan_hdr *vhdr; in skb_vlan_untag() local 4229 vhdr = (struct vlan_hdr *)skb->data; in skb_vlan_untag() 4230 vlan_tci = ntohs(vhdr->h_vlan_TCI); in skb_vlan_untag() 4234 vlan_set_encap_proto(skb, vhdr); in skb_vlan_untag() 4267 struct vlan_hdr *vhdr; in __skb_vlan_pop() local 4278 vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN); in __skb_vlan_pop() 4279 *vlan_tci = ntohs(vhdr->h_vlan_TCI); in __skb_vlan_pop() 4284 vlan_set_encap_proto(skb, vhdr); in __skb_vlan_pop()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 7320 struct vlan_hdr *vhdr, _vhdr; in ixgbe_xmit_frame_ring() local 7321 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr); in ixgbe_xmit_frame_ring() 7322 if (!vhdr) in ixgbe_xmit_frame_ring() 7325 tx_flags |= ntohs(vhdr->h_vlan_TCI) << in ixgbe_xmit_frame_ring() 7363 struct vlan_ethhdr *vhdr; in ixgbe_xmit_frame_ring() local 7367 vhdr = (struct vlan_ethhdr *)skb->data; in ixgbe_xmit_frame_ring() 7368 vhdr->h_vlan_TCI = htons(tx_flags >> in ixgbe_xmit_frame_ring()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 1920 struct vlan_ethhdr *vhdr = in bnx2x_select_queue() local 1923 ether_type = ntohs(vhdr->h_vlan_encapsulated_proto); in bnx2x_select_queue()
|