Home
last modified time | relevance | path

Searched refs:offsetofend (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v4.19/net/core/
Dsecure_seq.c69 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/
Dvfio_spapr_eeh.c54 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()
Dvfio_iommu_spapr_tce.c827 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/
Dvfio_ccw_ops.c323 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/
Dstddef.h36 #define offsetofend(TYPE, MEMBER) \ macro
/Linux-v4.19/drivers/fpga/
Ddfl-afu-main.c320 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()
Ddfl-fme-pr.c80 minsz = offsetofend(struct dfl_fpga_fme_port_pr, buffer_address); in fme_pr()
/Linux-v4.19/net/sctp/
Dstream_sched.c169 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/
Dvfio_platform_common.c312 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/
Dvfio_pci.c622 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/
Dasm-offsets_32.c57 offsetofend(struct cpu_entry_area, entry_stack_page.stack)); in foo()
/Linux-v4.19/samples/vfio-mdev/
Dmdpy.c526 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()
Dmbochs.c1097 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()
Dmtty.c1172 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/
Dinit.c151 BUILD_BUG_ON(sizeof(TYPE) != ALIGN(offsetofend(TYPE, MEMBER), \
/Linux-v4.19/arch/x86/mm/
Dcpu_entry_area.c132 offsetofend(struct tss_struct, x86_tss)) & PAGE_MASK); in setup_cpu_entry_area()
/Linux-v4.19/include/net/
Dip_tunnels.h31 #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/
Dfirmware.c165 crc32_start = offsetofend(struct gvt_firmware_header, crc32); in verify_firmware()
Dkvmgt.c1125 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/
Drx.h575 #define IWL_RX_DESC_SIZE_V1 offsetofend(struct iwl_rx_mpdu_desc, v1)
/Linux-v4.19/include/uapi/linux/
Dgfs2_ondisk.h435 #define LH_V1_SIZE (offsetofend(struct gfs2_log_header, lh_hash))
/Linux-v4.19/net/wireless/
Dreg.c662 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/
Dsyncookies.c64 return siphash(&combined, offsetofend(typeof(combined), dport), in cookie_hash()
/Linux-v4.19/net/dccp/
Dipv4.c252 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/
Dllcp_sock.c80 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()

12