Searched refs:vhdr (Results 1 - 23 of 23) sorted by relevance

/linux-master/fs/hfsplus/
H A Dsuper.c29 struct hfsplus_vh *vhdr = HFSPLUS_SB(inode->i_sb)->s_vhdr; local
33 hfsplus_inode_read_fork(inode, &vhdr->ext_file);
37 hfsplus_inode_read_fork(inode, &vhdr->cat_file);
41 hfsplus_inode_read_fork(inode, &vhdr->alloc_file);
45 hfsplus_inode_read_fork(inode, &vhdr->start_file);
48 hfsplus_inode_read_fork(inode, &vhdr->attr_file);
103 struct hfsplus_vh *vhdr = sbi->s_vhdr; local
109 fork = &vhdr->ext_file;
113 fork = &vhdr->cat_file;
117 fork = &vhdr
179 struct hfsplus_vh *vhdr = sbi->s_vhdr; local
297 struct hfsplus_vh *vhdr = sbi->s_vhdr; local
341 struct hfsplus_vh *vhdr = HFSPLUS_SB(sb)->s_vhdr; local
382 struct hfsplus_vh *vhdr; local
[all...]
/linux-master/samples/bpf/
H A Dparse_varlen.c127 struct vlan_hdr *vhdr; local
129 vhdr = data + nh_off;
133 h_proto = vhdr->h_vlan_encapsulated_proto;
136 struct vlan_hdr *vhdr; local
138 vhdr = data + nh_off;
142 h_proto = vhdr->h_vlan_encapsulated_proto;
H A Dxdp_router_ipv4.bpf.c94 struct vlan_hdr *vhdr; local
96 vhdr = data + nh_off;
101 h_proto = vhdr->h_vlan_encapsulated_proto;
/linux-master/net/8021q/
H A Dvlan_core.c470 struct vlan_hdr *vhdr; local
476 hlen = off_vlan + sizeof(*vhdr);
477 vhdr = skb_gro_header(skb, hlen, off_vlan);
478 if (unlikely(!vhdr))
481 type = vhdr->h_vlan_encapsulated_proto;
496 if (compare_vlan_header(vhdr, vhdr2))
500 skb_gro_pull(skb, sizeof(*vhdr));
501 skb_gro_postpull_rcsum(skb, vhdr, sizeof(*vhdr));
515 struct vlan_hdr *vhdr local
[all...]
H A Dvlan_dev.c51 struct vlan_hdr *vhdr; local
57 vhdr = skb_push(skb, VLAN_HLEN);
61 vhdr->h_vlan_TCI = htons(vlan_tci);
68 vhdr->h_vlan_encapsulated_proto = htons(type);
70 vhdr->h_vlan_encapsulated_proto = htons(len);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bios.c374 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; local
382 offset += vhdr->ImageLength;
388 if (vhdr->ImageLength &&
389 vhdr->PCIBus == adev->pdev->bus->number &&
390 vhdr->PCIDevice == PCI_SLOT(adev->pdev->devfn) &&
391 vhdr->PCIFunction == PCI_FUNC(adev->pdev->devfn) &&
392 vhdr->VendorID == adev->pdev->vendor &&
393 vhdr->DeviceID == adev->pdev->device) {
395 vhdr->ImageLength,
398 if (!check_atom_bios(adev->bios, vhdr
[all...]
H A Damdgpu_discovery.c485 struct vcn_info_header *vhdr = local
488 if (le32_to_cpu(vhdr->table_id) != VCN_INFO_TABLE_ID) {
495 le32_to_cpu(vhdr->size_bytes), checksum)) {
/linux-master/include/linux/
H A Dif_vlan.h611 struct vlan_hdr vhdr, *vh; local
613 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr);
672 struct vlan_hdr *vhdr)
682 proto = vhdr->h_vlan_encapsulated_proto;
688 rawp = (unsigned short *)(vhdr + 1);
717 struct vlan_hdr *vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN); local
719 *vlan_tci = ntohs(vhdr->h_vlan_TCI);
722 vlan_set_encap_proto(skb, vhdr);
671 vlan_set_encap_proto(struct sk_buff *skb, struct vlan_hdr *vhdr) argument
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_bios.c621 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; local
629 offset += vhdr->ImageLength;
635 if (vhdr->ImageLength &&
636 vhdr->PCIBus == rdev->pdev->bus->number &&
637 vhdr->PCIDevice == PCI_SLOT(rdev->pdev->devfn) &&
638 vhdr->PCIFunction == PCI_FUNC(rdev->pdev->devfn) &&
639 vhdr->VendorID == rdev->pdev->vendor &&
640 vhdr->DeviceID == rdev->pdev->device) {
642 vhdr->ImageLength,
/linux-master/net/batman-adv/
H A Dmain.c365 struct vlan_ethhdr *vhdr, vhdr_tmp; local
378 vhdr = skb_header_pointer(skb, offset + sizeof(*vhdr),
379 sizeof(*vhdr), &vhdr_tmp);
380 if (!vhdr)
382 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK;
629 struct vlan_ethhdr *vhdr; local
638 vhdr = (struct vlan_ethhdr *)(skb->data + header_len);
639 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK;
H A Dsoft-interface.c193 struct vlan_ethhdr *vhdr; local
222 if (!pskb_may_pull(skb, sizeof(*vhdr)))
224 vhdr = vlan_eth_hdr(skb);
225 proto = vhdr->h_vlan_encapsulated_proto;
421 struct vlan_ethhdr *vhdr; local
448 vhdr = skb_vlan_eth_hdr(skb);
451 if (vhdr->h_vlan_encapsulated_proto != htons(ETH_P_BATMAN))
H A Dgateway_client.c570 struct vlan_ethhdr *vhdr; local
588 vhdr = vlan_eth_hdr(skb);
589 proto = vhdr->h_vlan_encapsulated_proto;
H A Dbridge_loop_avoidance.c1083 struct vlan_hdr *vhdr, vhdr_buf; local
1107 vhdr = skb_header_pointer(skb, headlen, VLAN_HLEN,
1109 if (!vhdr)
1112 proto = vhdr->h_vlan_encapsulated_proto;
/linux-master/net/netfilter/
H A Dnfnetlink_queue.c1235 struct nfqnl_msg_verdict_hdr *vhdr; local
1241 vhdr = nla_data(nfqa[NFQA_VERDICT_HDR]);
1242 verdict = ntohl(vhdr->verdict) & NF_VERDICT_MASK;
1245 return vhdr;
1260 struct nfqnl_msg_verdict_hdr *vhdr; local
1270 vhdr = verdicthdr_get(nfqa);
1271 if (!vhdr)
1274 verdict = ntohl(vhdr->verdict);
1275 maxid = ntohl(vhdr->id);
1371 struct nfqnl_msg_verdict_hdr *vhdr; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c105 struct vlan_ethhdr *vhdr = (struct vlan_ethhdr *)start; local
109 memcpy(&vhdr->addrs, skb->data, cpy1_sz);
110 vhdr->h_vlan_proto = skb->vlan_proto;
111 vhdr->h_vlan_TCI = cpu_to_be16(skb_vlan_tag_get(skb));
112 unsafe_memcpy(&vhdr->h_vlan_encapsulated_proto,
/linux-master/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_netdev.c525 struct vlan_hdr *vhdr; local
545 vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN);
550 ntohs(vhdr->h_vlan_TCI));
551 proto = vhdr->h_vlan_encapsulated_proto;
/linux-master/drivers/net/thunderbolt/
H A Dmain.c1021 struct vlan_hdr *vhdr, vh; local
1023 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(vh), &vh);
1024 if (!vhdr)
1027 protocol = vhdr->h_vlan_encapsulated_proto;
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c3067 struct vlan_hdr *vhdr, _vhdr; local
3069 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr);
3070 if (!vhdr)
3073 protocol = vhdr->h_vlan_encapsulated_proto;
3074 tx_flags |= ntohs(vhdr->h_vlan_TCI) << I40E_TX_FLAGS_VLAN_SHIFT;
3088 struct vlan_ethhdr *vhdr; local
3094 vhdr = skb_vlan_eth_hdr(skb);
3095 vhdr->h_vlan_TCI = htons(tx_flags >>
/linux-master/net/core/
H A Dskbuff.c6059 struct vlan_hdr *vhdr; local
6074 vhdr = (struct vlan_hdr *)skb->data;
6075 vlan_tci = ntohs(vhdr->h_vlan_TCI);
6079 vlan_set_encap_proto(skb, vhdr);
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c8782 struct vlan_hdr *vhdr, _vhdr; local
8783 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(_vhdr), &_vhdr);
8784 if (!vhdr)
8787 tx_flags |= ntohs(vhdr->h_vlan_TCI) <<
8827 struct vlan_ethhdr *vhdr; local
8831 vhdr = skb_vlan_eth_hdr(skb);
8832 vhdr->h_vlan_TCI = htons(tx_flags >>
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c1489 struct vlan_ethhdr *vhdr; local
1536 vhdr = skb_vlan_eth_hdr(skb);
1537 vhdr->h_vlan_TCI |= cpu_to_be16((skb->priority << VLAN_PRIO_SHIFT)
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c1939 struct vlan_ethhdr *vhdr = skb_vlan_eth_hdr(skb); local
1941 ether_type = ntohs(vhdr->h_vlan_encapsulated_proto);
/linux-master/drivers/net/ethernet/freescale/
H A Dfec_main.c3750 struct vlan_ethhdr *vhdr = skb_vlan_eth_hdr(skb); local
3752 vlan_tag = ntohs(vhdr->h_vlan_TCI);

Completed in 395 milliseconds