| /Linux-v4.19/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()
|
| /Linux-v4.19/drivers/vfio/ |
| D | vfio_spapr_eeh.c | 54 minsz = offsetofend(struct vfio_eeh_pe_op, op); in vfio_spapr_iommu_eeh_ioctl() 89 minsz = offsetofend(struct vfio_eeh_pe_op, err.mask); in vfio_spapr_iommu_eeh_ioctl()
|
| D | vfio_iommu_spapr_tce.c | 827 minsz = offsetofend(struct vfio_iommu_spapr_tce_info, in tce_iommu_ioctl() 850 ddwsz = offsetofend(struct vfio_iommu_spapr_tce_info, ddw); in tce_iommu_ioctl() 869 minsz = offsetofend(struct vfio_iommu_type1_dma_map, size); in tce_iommu_ioctl() 935 minsz = offsetofend(struct vfio_iommu_type1_dma_unmap, in tce_iommu_ioctl() 977 minsz = offsetofend(struct vfio_iommu_spapr_register_memory, in tce_iommu_ioctl() 1010 minsz = offsetofend(struct vfio_iommu_spapr_register_memory, in tce_iommu_ioctl() 1075 minsz = offsetofend(struct vfio_iommu_spapr_tce_create, in tce_iommu_ioctl() 1116 minsz = offsetofend(struct vfio_iommu_spapr_tce_remove, in tce_iommu_ioctl()
|
| /Linux-v4.19/drivers/s390/cio/ |
| D | vfio_ccw_ops.c | 323 minsz = offsetofend(struct vfio_device_info, num_irqs); in vfio_ccw_mdev_ioctl() 343 minsz = offsetofend(struct vfio_region_info, offset); in vfio_ccw_mdev_ioctl() 362 minsz = offsetofend(struct vfio_irq_info, count); in vfio_ccw_mdev_ioctl() 385 minsz = offsetofend(struct vfio_irq_set, count); in vfio_ccw_mdev_ioctl()
|
| /Linux-v4.19/include/linux/ |
| D | stddef.h | 36 #define offsetofend(TYPE, MEMBER) \ macro
|
| /Linux-v4.19/drivers/fpga/ |
| D | dfl-afu-main.c | 320 minsz = offsetofend(struct dfl_fpga_port_info, num_umsgs); in afu_ioctl_get_info() 349 minsz = offsetofend(struct dfl_fpga_port_region_info, offset); in afu_ioctl_get_region_info() 378 minsz = offsetofend(struct dfl_fpga_port_dma_map, iova); in afu_ioctl_dma_map() 409 minsz = offsetofend(struct dfl_fpga_port_dma_unmap, iova); in afu_ioctl_dma_unmap()
|
| D | dfl-fme-pr.c | 80 minsz = offsetofend(struct dfl_fpga_fme_port_pr, buffer_address); in fme_pr()
|
| /Linux-v4.19/net/sctp/ |
| D | stream_sched.c | 169 p += offsetofend(struct sctp_stream_out_ext, outq); in sctp_sched_set_sched() 171 offsetofend(struct sctp_stream_out_ext, outq)); in sctp_sched_set_sched()
|
| /Linux-v4.19/drivers/vfio/platform/ |
| D | vfio_platform_common.c | 312 minsz = offsetofend(struct vfio_device_info, num_irqs); in vfio_platform_ioctl() 332 minsz = offsetofend(struct vfio_region_info, offset); in vfio_platform_ioctl() 354 minsz = offsetofend(struct vfio_irq_info, count); in vfio_platform_ioctl() 377 minsz = offsetofend(struct vfio_irq_set, count); in vfio_platform_ioctl()
|
| /Linux-v4.19/drivers/vfio/pci/ |
| D | vfio_pci.c | 622 minsz = offsetofend(struct vfio_device_info, num_irqs); in vfio_pci_ioctl() 647 minsz = offsetofend(struct vfio_region_info, offset); in vfio_pci_ioctl() 777 minsz = offsetofend(struct vfio_irq_info, count); in vfio_pci_ioctl() 816 minsz = offsetofend(struct vfio_irq_set, count); in vfio_pci_ioctl() 856 minsz = offsetofend(struct vfio_pci_hot_reset_info, count); in vfio_pci_ioctl() 930 minsz = offsetofend(struct vfio_pci_hot_reset, count); in vfio_pci_ioctl() 1029 minsz = offsetofend(struct vfio_device_ioeventfd, fd); in vfio_pci_ioctl()
|
| /Linux-v4.19/arch/x86/kernel/ |
| D | asm-offsets_32.c | 57 offsetofend(struct cpu_entry_area, entry_stack_page.stack)); in foo()
|
| /Linux-v4.19/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()
|
| D | mbochs.c | 1097 minsz = offsetofend(struct vfio_device_info, num_irqs); in mbochs_ioctl() 1122 minsz = offsetofend(struct vfio_region_info, offset); in mbochs_ioctl() 1145 minsz = offsetofend(struct vfio_irq_info, count); in mbochs_ioctl() 1168 minsz = offsetofend(struct vfio_device_gfx_plane_info, in mbochs_ioctl()
|
| D | mtty.c | 1172 minsz = offsetofend(struct vfio_device_info, num_irqs); in mtty_ioctl() 1197 minsz = offsetofend(struct vfio_region_info, offset); in mtty_ioctl() 1220 minsz = offsetofend(struct vfio_irq_info, count); in mtty_ioctl() 1244 minsz = offsetofend(struct vfio_irq_set, count); in mtty_ioctl()
|
| /Linux-v4.19/arch/x86/kernel/fpu/ |
| D | init.c | 151 BUILD_BUG_ON(sizeof(TYPE) != ALIGN(offsetofend(TYPE, MEMBER), \
|
| /Linux-v4.19/arch/x86/mm/ |
| D | cpu_entry_area.c | 132 offsetofend(struct tss_struct, x86_tss)) & PAGE_MASK); in setup_cpu_entry_area()
|
| /Linux-v4.19/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)
|
| /Linux-v4.19/drivers/gpu/drm/i915/gvt/ |
| D | firmware.c | 165 crc32_start = offsetofend(struct gvt_firmware_header, crc32); in verify_firmware()
|
| D | kvmgt.c | 1125 minsz = offsetofend(struct vfio_device_info, num_irqs); in intel_vgpu_ioctl() 1152 minsz = offsetofend(struct vfio_region_info, offset); in intel_vgpu_ioctl() 1298 minsz = offsetofend(struct vfio_irq_info, count); in intel_vgpu_ioctl() 1332 minsz = offsetofend(struct vfio_irq_set, count); in intel_vgpu_ioctl() 1366 minsz = offsetofend(struct vfio_device_gfx_plane_info, in intel_vgpu_ioctl()
|
| /Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| D | rx.h | 575 #define IWL_RX_DESC_SIZE_V1 offsetofend(struct iwl_rx_mpdu_desc, v1)
|
| /Linux-v4.19/include/uapi/linux/ |
| D | gfs2_ondisk.h | 435 #define LH_V1_SIZE (offsetofend(struct gfs2_log_header, lh_hash))
|
| /Linux-v4.19/net/wireless/ |
| D | reg.c | 662 if (rule->len < offsetofend(struct fwdb_rule, max_bw)) in valid_rule() 664 if (rule->len >= offsetofend(struct fwdb_rule, wmm_ptr)) { in valid_rule() 688 if ((u8 *)coll + offsetofend(typeof(*coll), n_rules) > data + size) in valid_country() 697 if (coll->len < offsetofend(struct fwdb_collection, dfs_region)) in valid_country() 886 if (rrule->len < offsetofend(struct fwdb_rule, wmm_ptr)) in __regdb_query_wmm() 972 if (rule->len >= offsetofend(struct fwdb_rule, cac_timeout)) in regdb_query_country() 975 if (rule->len >= offsetofend(struct fwdb_rule, wmm_ptr)) { in regdb_query_country()
|
| /Linux-v4.19/net/ipv6/ |
| D | syncookies.c | 64 return siphash(&combined, offsetofend(typeof(combined), dport), in cookie_hash()
|
| /Linux-v4.19/net/dccp/ |
| D | ipv4.c | 252 BUILD_BUG_ON(offsetofend(struct dccp_hdr, dccph_sport) > 8); in dccp_v4_err() 253 BUILD_BUG_ON(offsetofend(struct dccp_hdr, dccph_dport) > 8); in dccp_v4_err()
|
| /Linux-v4.19/net/nfc/ |
| D | llcp_sock.c | 80 if (!addr || alen < offsetofend(struct sockaddr, sa_family) || in llcp_sock_bind() 155 if (!addr || alen < offsetofend(struct sockaddr, sa_family) || in llcp_raw_sock_bind()
|