/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | super.c | 29 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 in hfsplus_system_write_inode() 179 struct hfsplus_vh *vhdr = sbi->s_vhdr; hfsplus_sync_fs() local 289 struct hfsplus_vh *vhdr = sbi->s_vhdr; hfsplus_put_super() local 335 struct hfsplus_vh *vhdr = HFSPLUS_SB(sb)->s_vhdr; hfsplus_remount() local 376 struct hfsplus_vh *vhdr; hfsplus_fill_super() local [all...] |
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | super.c | 29 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 in hfsplus_system_write_inode() 179 struct hfsplus_vh *vhdr = sbi->s_vhdr; hfsplus_sync_fs() local 289 struct hfsplus_vh *vhdr = sbi->s_vhdr; hfsplus_put_super() local 335 struct hfsplus_vh *vhdr = HFSPLUS_SB(sb)->s_vhdr; hfsplus_remount() local 376 struct hfsplus_vh *vhdr; hfsplus_fill_super() local [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdp1_kern.c | 61 struct vlan_hdr *vhdr; in xdp_prog1() local 63 vhdr = data + nh_off; in xdp_prog1() 67 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1() 70 struct vlan_hdr *vhdr; in xdp_prog1() local 72 vhdr = data + nh_off; in xdp_prog1() 76 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
|
H A D | xdp2_kern.c | 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() 86 struct vlan_hdr *vhdr; in xdp_prog1() local 88 vhdr = data + nh_off; in xdp_prog1() 92 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_prog1()
|
H A D | parse_varlen.c | 127 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()
|
H A D | xdp_router_ipv4_kern.c | 130 struct vlan_hdr *vhdr; in xdp_router_ipv4_prog() local 132 vhdr = data + nh_off; in xdp_router_ipv4_prog() 136 h_proto = vhdr->h_vlan_encapsulated_proto; in xdp_router_ipv4_prog()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_bios.c | 381 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 in amdgpu_acpi_vfct_bios() [all...] |
/kernel/linux/linux-5.10/net/8021q/ |
H A D | vlan_core.c | 469 struct vlan_hdr *vhdr; in vlan_gro_receive() local 475 hlen = off_vlan + sizeof(*vhdr); in vlan_gro_receive() 476 vhdr = skb_gro_header_fast(skb, off_vlan); in vlan_gro_receive() 478 vhdr = skb_gro_header_slow(skb, hlen, off_vlan); in vlan_gro_receive() 479 if (unlikely(!vhdr)) in vlan_gro_receive() 483 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_receive() 499 if (compare_vlan_header(vhdr, vhdr2)) in vlan_gro_receive() 503 skb_gro_pull(skb, sizeof(*vhdr)); in vlan_gro_receive() 504 skb_gro_postpull_rcsum(skb, vhdr, sizeof(*vhdr)); in vlan_gro_receive() 517 struct vlan_hdr *vhdr = (struct vlan_hdr *)(skb->data + nhoff); vlan_gro_complete() local [all...] |
H A D | vlan_dev.c | 50 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()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | parse_varlen.c | 127 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()
|
H A D | xdp_router_ipv4.bpf.c | 94 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()
|
/kernel/linux/linux-6.6/net/8021q/ |
H A D | vlan_core.c | 470 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() 481 type = vhdr->h_vlan_encapsulated_proto; in vlan_gro_receive() 496 if (compare_vlan_header(vhdr, vhdr2)) in vlan_gro_receive() 500 skb_gro_pull(skb, sizeof(*vhdr)); in vlan_gro_receive() 501 skb_gro_postpull_rcsum(skb, vhdr, sizeof(*vhdr)); in vlan_gro_receive() 515 struct vlan_hdr *vhdr in vlan_gro_complete() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_bios.c | 384 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in amdgpu_acpi_vfct_bios() local 392 offset += vhdr->ImageLength; in amdgpu_acpi_vfct_bios() 398 if (vhdr->ImageLength && in amdgpu_acpi_vfct_bios() 399 vhdr->PCIBus == adev->pdev->bus->number && in amdgpu_acpi_vfct_bios() 400 vhdr->PCIDevice == PCI_SLOT(adev->pdev->devfn) && in amdgpu_acpi_vfct_bios() 401 vhdr->PCIFunction == PCI_FUNC(adev->pdev->devfn) && in amdgpu_acpi_vfct_bios() 402 vhdr->VendorID == adev->pdev->vendor && in amdgpu_acpi_vfct_bios() 403 vhdr->DeviceID == adev->pdev->device) { in amdgpu_acpi_vfct_bios() 405 vhdr->ImageLength, in amdgpu_acpi_vfct_bios() 408 if (!check_atom_bios(adev->bios, vhdr in amdgpu_acpi_vfct_bios() [all...] |
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | main.c | 408 struct vlan_ethhdr *vhdr, vhdr_tmp; in batadv_skb_set_priority() local 421 vhdr = skb_header_pointer(skb, offset + sizeof(*vhdr), in batadv_skb_set_priority() 422 sizeof(*vhdr), &vhdr_tmp); in batadv_skb_set_priority() 423 if (!vhdr) in batadv_skb_set_priority() 425 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; in batadv_skb_set_priority() 670 struct vlan_ethhdr *vhdr; in batadv_get_vid() local 679 vhdr = (struct vlan_ethhdr *)(skb->data + header_len); in batadv_get_vid() 680 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
|
H A D | soft-interface.c | 196 struct vlan_ethhdr *vhdr; in batadv_interface_tx() local 226 if (!pskb_may_pull(skb, sizeof(*vhdr))) in batadv_interface_tx() 228 vhdr = vlan_eth_hdr(skb); in batadv_interface_tx() 229 proto = vhdr->h_vlan_encapsulated_proto; in batadv_interface_tx() 430 struct vlan_ethhdr *vhdr; in batadv_interface_rx() local 457 vhdr = skb_vlan_eth_hdr(skb); in batadv_interface_rx() 460 if (vhdr->h_vlan_encapsulated_proto != htons(ETH_P_BATMAN)) in batadv_interface_rx()
|
H A D | gateway_client.c | 619 struct vlan_ethhdr *vhdr; in batadv_gw_dhcp_recipient_get() local 637 vhdr = vlan_eth_hdr(skb); in batadv_gw_dhcp_recipient_get() 638 proto = vhdr->h_vlan_encapsulated_proto; in batadv_gw_dhcp_recipient_get()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | if_vlan.h | 611 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() 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() 671 vlan_set_encap_proto(struct sk_buff *skb, struct vlan_hdr *vhdr) vlan_set_encap_proto() argument
|
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | main.c | 364 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()
|
H A D | soft-interface.c | 193 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() 418 struct vlan_ethhdr *vhdr; in batadv_interface_rx() local 445 vhdr = skb_vlan_eth_hdr(skb); in batadv_interface_rx() 448 if (vhdr->h_vlan_encapsulated_proto != htons(ETH_P_BATMAN)) in batadv_interface_rx()
|
H A D | gateway_client.c | 570 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_bios.c | 631 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | radeon_bios.c | 631 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()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | if_vlan.h | 608 struct vlan_hdr vhdr, *vh; in __vlan_get_protocol() local 610 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in __vlan_get_protocol() 669 struct vlan_hdr *vhdr) in vlan_set_encap_proto() 679 proto = vhdr->h_vlan_encapsulated_proto; in vlan_set_encap_proto() 685 rawp = (unsigned short *)(vhdr + 1); in vlan_set_encap_proto() 668 vlan_set_encap_proto(struct sk_buff *skb, struct vlan_hdr *vhdr) vlan_set_encap_proto() argument
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nfnetlink_queue.c | 1043 struct nfqnl_msg_verdict_hdr *vhdr; in verdicthdr_get() local 1049 vhdr = nla_data(nfqa[NFQA_VERDICT_HDR]); in verdicthdr_get() 1050 verdict = ntohl(vhdr->verdict) & NF_VERDICT_MASK; in verdicthdr_get() 1053 return vhdr; in verdicthdr_get() 1070 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict_batch() local 1081 vhdr = verdicthdr_get(nfqa); in nfqnl_recv_verdict_batch() 1082 if (!vhdr) in nfqnl_recv_verdict_batch() 1085 verdict = ntohl(vhdr->verdict); in nfqnl_recv_verdict_batch() 1086 maxid = ntohl(vhdr->id); in nfqnl_recv_verdict_batch() 1177 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict() local [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nfnetlink_queue.c | 1083 struct nfqnl_msg_verdict_hdr *vhdr; in verdicthdr_get() local 1089 vhdr = nla_data(nfqa[NFQA_VERDICT_HDR]); in verdicthdr_get() 1090 verdict = ntohl(vhdr->verdict) & NF_VERDICT_MASK; in verdicthdr_get() 1093 return vhdr; in verdicthdr_get() 1108 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict_batch() local 1118 vhdr = verdicthdr_get(nfqa); in nfqnl_recv_verdict_batch() 1119 if (!vhdr) in nfqnl_recv_verdict_batch() 1122 verdict = ntohl(vhdr->verdict); in nfqnl_recv_verdict_batch() 1123 maxid = ntohl(vhdr->id); in nfqnl_recv_verdict_batch() 1219 struct nfqnl_msg_verdict_hdr *vhdr; in nfqnl_recv_verdict() local [all...] |