/kernel/linux/linux-5.10/net/ipv4/ |
D | bpf_tcp_ca.c | 114 end = offsetofend(struct inet_connection_sock, icsk_ca_priv); in bpf_tcp_ca_btf_struct_access() 117 end = offsetofend(struct inet_connection_sock, in bpf_tcp_ca_btf_struct_access() 121 end = offsetofend(struct tcp_sock, snd_cwnd); in bpf_tcp_ca_btf_struct_access() 124 end = offsetofend(struct tcp_sock, snd_cwnd_cnt); in bpf_tcp_ca_btf_struct_access() 127 end = offsetofend(struct tcp_sock, snd_ssthresh); in bpf_tcp_ca_btf_struct_access() 130 end = offsetofend(struct tcp_sock, ecn_flags); in bpf_tcp_ca_btf_struct_access()
|
/kernel/linux/linux-5.10/net/core/ |
D | secure_seq.c | 69 return siphash(&combined, offsetofend(typeof(combined), daddr), in secure_tcpv6_ts_off() 91 hash = siphash(&combined, offsetofend(typeof(combined), dport), in secure_tcpv6_seq() 110 return siphash(&combined, offsetofend(typeof(combined), dport), in secure_ipv6_port_ephemeral() 186 seq = siphash(&combined, offsetofend(typeof(combined), dport), in secure_dccpv6_sequence_number()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | bpf_util.h | 38 #ifndef offsetofend 39 #define offsetofend(TYPE, MEMBER) \ macro
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | libbpf_internal.h | 47 #ifndef offsetofend 48 # define offsetofend(TYPE, FIELD) \ macro 136 offsetofend(struct type, \ 140 ((opts) && opts->sz >= offsetofend(typeof(*(opts)), field))
|
/kernel/linux/linux-5.10/drivers/vfio/ |
D | vfio_spapr_eeh.c | 51 minsz = offsetofend(struct vfio_eeh_pe_op, op); in vfio_spapr_iommu_eeh_ioctl() 86 minsz = offsetofend(struct vfio_eeh_pe_op, err.mask); in vfio_spapr_iommu_eeh_ioctl()
|
D | vfio_iommu_spapr_tce.c | 822 minsz = offsetofend(struct vfio_iommu_spapr_tce_info, in tce_iommu_ioctl() 845 ddwsz = offsetofend(struct vfio_iommu_spapr_tce_info, ddw); in tce_iommu_ioctl() 864 minsz = offsetofend(struct vfio_iommu_type1_dma_map, size); in tce_iommu_ioctl() 930 minsz = offsetofend(struct vfio_iommu_type1_dma_unmap, in tce_iommu_ioctl() 972 minsz = offsetofend(struct vfio_iommu_spapr_register_memory, in tce_iommu_ioctl() 1005 minsz = offsetofend(struct vfio_iommu_spapr_register_memory, in tce_iommu_ioctl() 1070 minsz = offsetofend(struct vfio_iommu_spapr_tce_create, in tce_iommu_ioctl() 1111 minsz = offsetofend(struct vfio_iommu_spapr_tce_remove, in tce_iommu_ioctl()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_vma_types.h | 133 BUILD_BUG_ON(offsetofend(struct intel_remapped_info, plane[1]) != in assert_i915_gem_gtt_types() 134 offsetofend(struct intel_rotation_info, plane[1])); in assert_i915_gem_gtt_types()
|
/kernel/linux/linux-5.10/net/bpf/ |
D | test_run.c | 410 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, mark), in convert___skb_to_skb() 416 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, priority), in convert___skb_to_skb() 422 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, ifindex), in convert___skb_to_skb() 428 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, cb), in convert___skb_to_skb() 436 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_segs), in convert___skb_to_skb() 442 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_size), in convert___skb_to_skb() 680 if (!range_is_zero(ctx, offsetofend(struct bpf_flow_keys, flags), in verify_user_bpf_flow_keys()
|
/kernel/linux/linux-5.10/include/linux/ |
D | stddef.h | 36 #define offsetofend(TYPE, MEMBER) \ macro
|
/kernel/linux/linux-5.10/drivers/s390/cio/ |
D | vfio_ccw_ops.c | 528 minsz = offsetofend(struct vfio_device_info, num_irqs); in vfio_ccw_mdev_ioctl() 546 minsz = offsetofend(struct vfio_region_info, offset); in vfio_ccw_mdev_ioctl() 564 minsz = offsetofend(struct vfio_irq_info, count); in vfio_ccw_mdev_ioctl() 587 minsz = offsetofend(struct vfio_irq_set, count); in vfio_ccw_mdev_ioctl()
|
/kernel/linux/linux-5.10/fs/crypto/ |
D | fname.c | 62 #define FSCRYPT_NOKEY_NAME_MAX offsetofend(struct fscrypt_nokey_name, sha256) 341 BUILD_BUG_ON(offsetofend(struct fscrypt_nokey_name, dirhash) != in fscrypt_fname_disk_to_usr() 343 BUILD_BUG_ON(offsetofend(struct fscrypt_nokey_name, bytes) != in fscrypt_fname_disk_to_usr()
|
/kernel/linux/linux-5.10/net/sctp/ |
D | stream_sched.c | 154 p += offsetofend(struct sctp_stream_out_ext, outq); in sctp_sched_set_sched() 156 offsetofend(struct sctp_stream_out_ext, outq)); in sctp_sched_set_sched()
|
/kernel/linux/linux-5.10/drivers/vfio/platform/ |
D | vfio_platform_common.c | 305 minsz = offsetofend(struct vfio_device_info, num_irqs); in vfio_platform_ioctl() 325 minsz = offsetofend(struct vfio_region_info, offset); in vfio_platform_ioctl() 347 minsz = offsetofend(struct vfio_irq_info, count); in vfio_platform_ioctl() 370 minsz = offsetofend(struct vfio_irq_set, count); in vfio_platform_ioctl()
|
/kernel/linux/linux-5.10/drivers/vfio/fsl-mc/ |
D | vfio_fsl_mc.c | 212 minsz = offsetofend(struct vfio_device_info, num_irqs); in vfio_fsl_mc_ioctl() 235 minsz = offsetofend(struct vfio_region_info, offset); in vfio_fsl_mc_ioctl() 259 minsz = offsetofend(struct vfio_irq_info, count); in vfio_fsl_mc_ioctl() 283 minsz = offsetofend(struct vfio_irq_set, count); in vfio_fsl_mc_ioctl()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | asm-offsets_32.c | 54 offsetofend(struct cpu_entry_area, entry_stack_page.stack)); in foo()
|
/kernel/linux/linux-5.10/samples/vfio-mdev/ |
D | mdpy.c | 526 minsz = offsetofend(struct vfio_device_info, num_irqs); in mdpy_ioctl() 551 minsz = offsetofend(struct vfio_region_info, offset); in mdpy_ioctl() 574 minsz = offsetofend(struct vfio_irq_info, count); in mdpy_ioctl() 597 minsz = offsetofend(struct vfio_device_gfx_plane_info, in mdpy_ioctl()
|
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/ |
D | init.c | 151 BUILD_BUG_ON(sizeof(TYPE) != ALIGN(offsetofend(TYPE, MEMBER), \
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | cpumap.c | 95 (value_size != offsetofend(struct bpf_cpumap_val, qsize) && in cpu_map_alloc() 96 value_size != offsetofend(struct bpf_cpumap_val, bpf_prog.fd)) || in cpu_map_alloc() 392 map->value_size != offsetofend(struct bpf_cpumap_val, qsize); in cpu_map_prog_allowed()
|
D | devmap.c | 120 (valsize != offsetofend(struct bpf_devmap_val, ifindex) && in dev_map_init_map() 121 valsize != offsetofend(struct bpf_devmap_val, bpf_prog.fd)) || in dev_map_init_map() 338 map->value_size != offsetofend(struct bpf_devmap_val, ifindex)) in dev_map_can_have_prog()
|
/kernel/linux/linux-5.10/drivers/fpga/ |
D | dfl-afu-main.c | 644 minsz = offsetofend(struct dfl_fpga_port_info, num_umsgs); in afu_ioctl_get_info() 673 minsz = offsetofend(struct dfl_fpga_port_region_info, offset); in afu_ioctl_get_region_info() 702 minsz = offsetofend(struct dfl_fpga_port_dma_map, iova); in afu_ioctl_dma_map() 733 minsz = offsetofend(struct dfl_fpga_port_dma_unmap, iova); in afu_ioctl_dma_unmap()
|
/kernel/linux/linux-5.10/drivers/vfio/pci/ |
D | vfio_pci.c | 811 minsz = offsetofend(struct vfio_device_info, num_irqs); in vfio_pci_ioctl() 814 capsz = offsetofend(struct vfio_iommu_type1_info, cap_offset); in vfio_pci_ioctl() 871 minsz = offsetofend(struct vfio_region_info, offset); in vfio_pci_ioctl() 1013 minsz = offsetofend(struct vfio_irq_info, count); in vfio_pci_ioctl() 1052 minsz = offsetofend(struct vfio_irq_set, count); in vfio_pci_ioctl() 1100 minsz = offsetofend(struct vfio_pci_hot_reset_info, count); in vfio_pci_ioctl() 1175 minsz = offsetofend(struct vfio_pci_hot_reset, count); in vfio_pci_ioctl() 1325 minsz = offsetofend(struct vfio_device_ioeventfd, fd); in vfio_pci_ioctl() 1347 minsz = offsetofend(struct vfio_device_feature, flags); in vfio_pci_ioctl()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_cq.c | 182 udata->outlen >= offsetofend(typeof(*resp), cap_flags)) { in alloc_cq_db() 233 if (udata->inlen >= offsetofend(typeof(*ucmd), cqe_size)) in set_cqe_size()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | ah.c | 110 offsetofend(struct mlx5_ib_create_ah_resp, dmac); in mlx5_ib_create_ah()
|
/kernel/linux/linux-5.10/include/net/ |
D | ip_tunnels.h | 31 #define IP_TUNNEL_KEY_SIZE offsetofend(struct ip_tunnel_key, tp_dst) 34 #define IP_TUNNEL_KEY_IPV4_PAD offsetofend(struct ip_tunnel_key, u.ipv4.dst)
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | cpu_entry_area.c | 225 offsetofend(struct tss_struct, x86_tss)) & PAGE_MASK); in setup_cpu_entry_area()
|