| /linux/net/ipv4/ |
| H A D | bpf_tcp_ca.c | 76 end = offsetofend(struct sock, sk_pacing_rate); in bpf_tcp_ca_btf_struct_access() 79 end = offsetofend(struct sock, sk_pacing_status); in bpf_tcp_ca_btf_struct_access() 82 end = offsetofend(struct inet_connection_sock, icsk_ca_priv); in bpf_tcp_ca_btf_struct_access() 85 end = offsetofend(struct inet_connection_sock, in bpf_tcp_ca_btf_struct_access() 89 end = offsetofend(struct tcp_sock, snd_cwnd); in bpf_tcp_ca_btf_struct_access() 92 end = offsetofend(struct tcp_sock, snd_cwnd_cnt); in bpf_tcp_ca_btf_struct_access() 95 end = offsetofend(struct tcp_sock, snd_cwnd_stamp); in bpf_tcp_ca_btf_struct_access() 98 end = offsetofend(struct tcp_sock, snd_ssthresh); in bpf_tcp_ca_btf_struct_access() 101 end = offsetofend(struct tcp_sock, ecn_flags); in bpf_tcp_ca_btf_struct_access() 104 end = offsetofend(struct tcp_sock, app_limited); in bpf_tcp_ca_btf_struct_access()
|
| /linux/net/sched/ |
| H A D | bpf_qdisc.c | 60 *end = offsetofend(struct Qdisc, limit); in bpf_qdisc_qdisc_access() 63 *end = offsetof(struct Qdisc, q) + offsetofend(struct qdisc_skb_head, qlen); in bpf_qdisc_qdisc_access() 65 case offsetof(struct Qdisc, qstats) ... offsetofend(struct Qdisc, qstats) - 1: in bpf_qdisc_qdisc_access() 66 *end = offsetofend(struct Qdisc, qstats); in bpf_qdisc_qdisc_access() 81 *end = offsetofend(struct sk_buff, tstamp); in bpf_qdisc_sk_buff_access() 87 offsetofend(struct qdisc_skb_cb, data[QDISC_CB_PRIV_LEN - 1]); in bpf_qdisc_sk_buff_access()
|
| /linux/net/wireless/tests/ |
| H A D | util.h | 61 offsetofend(type, member), \ 62 offsetofend(type, member)); \
|
| /linux/include/net/libeth/ |
| H A D | cache.h | 18 offsetofend(type, __cacheline_group_begin__##grp) == \ 25 offsetofend(type, __cacheline_group_begin__##grp) <= \
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_util.h | 77 #ifndef offsetofend 78 #define offsetofend(TYPE, MEMBER) \ macro
|
| /linux/drivers/vfio/ |
| H A D | vfio_iommu_spapr_tce.c | 788 minsz = offsetofend(struct vfio_eeh_pe_op, op); in vfio_spapr_ioctl_eeh_pe_op() 815 minsz = offsetofend(struct vfio_eeh_pe_op, err.mask); in vfio_spapr_ioctl_eeh_pe_op() 872 minsz = offsetofend(struct vfio_iommu_spapr_tce_info, in tce_iommu_ioctl() 895 ddwsz = offsetofend(struct vfio_iommu_spapr_tce_info, ddw); in tce_iommu_ioctl() 914 minsz = offsetofend(struct vfio_iommu_type1_dma_map, size); in tce_iommu_ioctl() 980 minsz = offsetofend(struct vfio_iommu_type1_dma_unmap, in tce_iommu_ioctl() 1022 minsz = offsetofend(struct vfio_iommu_spapr_register_memory, in tce_iommu_ioctl() 1055 minsz = offsetofend(struct vfio_iommu_spapr_register_memory, in tce_iommu_ioctl() 1119 minsz = offsetofend(struct vfio_iommu_spapr_tce_create, in tce_iommu_ioctl() 1160 minsz = offsetofend(struct vfio_iommu_spapr_tce_remove, in tce_iommu_ioctl()
|
| /linux/net/core/ |
| H A D | secure_seq.c | 69 st.hash64 = siphash(&combined, offsetofend(typeof(combined), dport), in secure_tcpv6_seq_and_ts_off() 95 return siphash(&combined, offsetofend(typeof(combined), dport), in secure_ipv6_port_ephemeral()
|
| /linux/net/smc/ |
| H A D | smc_clc.h | 387 offsetofend(struct smc_clc_msg_smcd, v2_ext_offset); in smc_get_clc_v2_ext() 406 offsetofend(struct smc_clnt_opts_area_hdr, smcd_v2_ext_offset); in smc_get_clc_smcd_v2_ext() 434 offsetofend(struct smc_clc_msg_accept_confirm, d1); in smc_get_clc_first_contact_ext() 437 offsetofend(struct smc_clc_msg_accept_confirm, r1); in smc_get_clc_first_contact_ext()
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf_internal.h | 109 #ifndef offsetofend 110 # define offsetofend(TYPE, FIELD) \ macro 330 offsetofend(struct type, \ 334 ((opts) && opts->sz >= offsetofend(typeof(*(opts)), field)) 345 ssize_t __off = offsetofend(typeof(*(opts)), last_nonzero_field); \
|
| H A D | gen_loader.c | 475 int attr_size = offsetofend(union bpf_attr, btf_log_level); in bpf_gen__load_btf() 510 int attr_size = offsetofend(union bpf_attr, map_extra); in bpf_gen__map_create() 825 emit(gen, BPF_LDX_MEM(BPF_B, BPF_REG_9, BPF_REG_8, offsetofend(struct bpf_insn, code))); in emit_ksym_relo_log() 923 emit(gen, BPF_LDX_MEM(BPF_B, BPF_REG_9, BPF_REG_8, offsetofend(struct bpf_insn, code))); in emit_relo_ksym_btf() 925 emit(gen, BPF_STX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, offsetofend(struct bpf_insn, code))); in emit_relo_ksym_btf() 1044 int attr_size = offsetofend(union bpf_attr, core_relo_rec_size); in bpf_gen__prog_load() 1162 int attr_size = offsetofend(union bpf_attr, flags); in bpf_gen__map_update_elem() 1210 int attr_size = offsetofend(union bpf_attr, flags); in bpf_gen__populate_outer_map() 1238 int attr_size = offsetofend(union bpf_attr, map_fd); in bpf_gen__map_freeze()
|
| /linux/fs/xfs/scrub/ |
| H A D | agheader.c | 73 return offsetofend(struct xfs_dsb, sb_rtreserved); in xchk_superblock_ondisk_size() 75 return offsetofend(struct xfs_dsb, sb_pad); in xchk_superblock_ondisk_size() 77 return offsetofend(struct xfs_dsb, sb_meta_uuid); in xchk_superblock_ondisk_size() 79 return offsetofend(struct xfs_dsb, sb_lsn); in xchk_superblock_ondisk_size() 81 return offsetofend(struct xfs_dsb, sb_bad_features2); in xchk_superblock_ondisk_size() 83 return offsetofend(struct xfs_dsb, sb_logsunit); in xchk_superblock_ondisk_size() 85 return offsetofend(struct xfs_dsb, sb_logsectsize); in xchk_superblock_ondisk_size() 87 return offsetofend(struct xfs_dsb, sb_dirblklog); in xchk_superblock_ondisk_size()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_sock.c | 366 __imm_const(bpf_sock_dst_port__end, offsetofend(struct bpf_sock, dst_port)) in dst_port_half_load_invalid_2() 463 __imm_const(bpf_sock_rx_queue_mapping__end, offsetofend(struct bpf_sock, rx_queue_mapping)) in skb_sk_beyond_last_field_1() 572 __imm_const(bpf_tcp_sock_bytes_acked__end, offsetofend(struct bpf_tcp_sock, bytes_acked)) in skb_sk_beyond_last_field_2() 9 #define offsetofend( global() macro
|
| H A D | bpf_misc.h | 186 #define offsetofend(TYPE, MEMBER) \ macro
|
| H A D | test_cls_redirect.c | 92 offsetofend(struct bpf_sock_tuple, ipv4.dport) - 97 offsetofend(struct bpf_sock_tuple, ipv6.dport) - 34 #define offsetofend( global() macro
|
| H A D | test_cls_redirect_dynptr.c | 28 #define offsetofend(TYPE, MEMBER) \ macro 88 offsetofend(struct bpf_sock_tuple, ipv4.dport) - 93 offsetofend(struct bpf_sock_tuple, ipv6.dport) -
|
| /linux/include/linux/ |
| H A D | stddef.h | 32 #define offsetofend(TYPE, MEMBER) \ macro
|
| /linux/drivers/s390/cio/ |
| H A D | vfio_ccw_ops.c | 504 minsz = offsetofend(struct vfio_device_info, num_irqs); in vfio_ccw_mdev_ioctl() 522 minsz = offsetofend(struct vfio_irq_info, count); in vfio_ccw_mdev_ioctl() 545 minsz = offsetofend(struct vfio_irq_set, count); in vfio_ccw_mdev_ioctl()
|
| /linux/arch/x86/kernel/fpu/ |
| H A D | init.c | 148 ALIGN(offsetofend(TYPE, MEMBER), _Alignof(TYPE)))
|
| /linux/samples/vfio-mdev/ |
| H A D | mdpy.c | 531 minsz = offsetofend(struct vfio_device_info, num_irqs); in mdpy_ioctl() 555 minsz = offsetofend(struct vfio_irq_info, count); in mdpy_ioctl() 578 minsz = offsetofend(struct vfio_device_gfx_plane_info, in mdpy_ioctl()
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_txrx.h | 590 offsetofend(struct idpf_rx_queue, cached_phc_time), 723 offsetofend(struct idpf_tx_queue, timer) + 725 offsetofend(struct idpf_tx_queue, tstamp_task),
|
| /linux/drivers/vfio/platform/ |
| H A D | vfio_platform_common.c | 304 minsz = offsetofend(struct vfio_device_info, num_irqs); in vfio_platform_ioctl() 324 minsz = offsetofend(struct vfio_irq_info, count); in vfio_platform_ioctl() 347 minsz = offsetofend(struct vfio_irq_set, count); in vfio_platform_ioctl()
|
| /linux/net/nfc/nci/ |
| H A D | ntf.c | 61 if (skb->len < offsetofend(struct nci_core_conn_credit_ntf, num_entries)) in nci_core_conn_credits_ntf_packet() 71 if (skb->len < offsetofend(struct nci_core_conn_credit_ntf, num_entries) + in nci_core_conn_credits_ntf_packet() 447 if (skb->len < offsetofend(struct nci_rf_discover_ntf, rf_tech_specific_params_len)) in nci_rf_discover_ntf_packet() 695 if (skb->len < offsetofend(struct nci_rf_intf_activated_ntf, rf_tech_specific_params_len)) in nci_rf_intf_activated_ntf_packet()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | ah.c | 116 offsetofend(struct mlx5_ib_create_ah_resp, dmac); in mlx5_ib_create_ah()
|
| /linux/security/landlock/ |
| H A D | net.c | 66 if (addrlen < offsetofend(typeof(*address), sa_family)) in current_check_access_socket()
|
| /linux/arch/x86/mm/ |
| H A D | cpu_entry_area.c | 223 offsetofend(struct tss_struct, x86_tss)) & PAGE_MASK); in setup_cpu_entry_area()
|