/linux-master/tools/testing/selftests/bpf/ |
H A D | bpf_util.h | 57 #ifndef offsetofend 58 #define offsetofend(TYPE, MEMBER) \ macro
|
/linux-master/drivers/gpu/drm/xe/compat-i915-headers/ |
H A D | i915_vma_types.h | 52 BUILD_BUG_ON(offsetofend(struct intel_remapped_info, plane[1]) != 53 offsetofend(struct intel_rotation_info, plane[1]));
|
/linux-master/include/linux/ |
H A D | cache.h | 101 offsetofend(TYPE, __cacheline_group_begin__##GROUP) && \ 102 offsetofend(TYPE, MEMBER) <= \ 109 offsetofend(TYPE, __cacheline_group_begin__##GROUP) > \
|
H A D | stddef.h | 27 * offsetofend() - Report the offset of a struct field within the struct 32 #define offsetofend(TYPE, MEMBER) \ macro
|
/linux-master/net/wireless/tests/ |
H A D | util.h | 61 offsetofend(type, member), \ 62 offsetofend(type, member)); \
|
/linux-master/tools/lib/bpf/ |
H A D | skel_internal.h | 214 #ifndef offsetofend 215 #define offsetofend(TYPE, MEMBER) \ macro 225 const size_t attr_sz = offsetofend(union bpf_attr, map_extra); 242 const size_t attr_sz = offsetofend(union bpf_attr, flags); 256 const size_t attr_sz = offsetofend(union bpf_attr, flags); 268 const size_t attr_sz = offsetofend(union bpf_attr, flags); 279 const size_t attr_sz = offsetofend(union bpf_attr, raw_tracepoint.prog_fd); 292 const size_t attr_sz = offsetofend(union bpf_attr, link_create.iter_info_len); 311 const size_t prog_load_attr_sz = offsetofend(union bpf_attr, fd_array); 312 const size_t test_run_attr_sz = offsetofend(unio [all...] |
H A D | bpf.c | 108 const size_t attr_sz = offsetofend(union bpf_attr, attach_btf_obj_fd); 175 const size_t attr_sz = offsetofend(union bpf_attr, map_token_fd); 241 const size_t attr_sz = offsetofend(union bpf_attr, prog_token_fd); 390 const size_t attr_sz = offsetofend(union bpf_attr, flags); 406 const size_t attr_sz = offsetofend(union bpf_attr, flags); 421 const size_t attr_sz = offsetofend(union bpf_attr, flags); 437 const size_t attr_sz = offsetofend(union bpf_attr, flags); 452 const size_t attr_sz = offsetofend(union bpf_attr, flags); 468 const size_t attr_sz = offsetofend(union bpf_attr, flags); 482 const size_t attr_sz = offsetofend(unio [all...] |
H A D | libbpf_internal.h | 106 #ifndef offsetofend 107 # define offsetofend(TYPE, FIELD) \ macro 314 offsetofend(struct type, \ 318 ((opts) && opts->sz >= offsetofend(typeof(*(opts)), field)) 329 ssize_t __off = offsetofend(typeof(*(opts)), last_nonzero_field); \
|
H A D | gen_loader.c | 420 int attr_size = offsetofend(union bpf_attr, btf_log_level); 454 int attr_size = offsetofend(union bpf_attr, map_extra); 746 emit(gen, BPF_LDX_MEM(BPF_B, BPF_REG_9, BPF_REG_8, offsetofend(struct bpf_insn, code))); 844 emit(gen, BPF_LDX_MEM(BPF_B, BPF_REG_9, BPF_REG_8, offsetofend(struct bpf_insn, code))); 846 emit(gen, BPF_STX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, offsetofend(struct bpf_insn, code))); 940 int attr_size = offsetofend(union bpf_attr, core_relo_rec_size); 1037 int attr_size = offsetofend(union bpf_attr, flags); 1084 int attr_size = offsetofend(union bpf_attr, flags); 1110 int attr_size = offsetofend(union bpf_attr, map_fd);
|
/linux-master/net/ipv4/ |
H A D | bpf_tcp_ca.c | 92 end = offsetofend(struct sock, sk_pacing_rate); 95 end = offsetofend(struct sock, sk_pacing_status); 98 end = offsetofend(struct inet_connection_sock, icsk_ca_priv); 101 end = offsetofend(struct inet_connection_sock, 105 end = offsetofend(struct tcp_sock, snd_cwnd); 108 end = offsetofend(struct tcp_sock, snd_cwnd_cnt); 111 end = offsetofend(struct tcp_sock, snd_ssthresh); 114 end = offsetofend(struct tcp_sock, ecn_flags); 117 end = offsetofend(struct tcp_sock, app_limited);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_vma_types.h | 147 BUILD_BUG_ON(offsetofend(struct intel_remapped_info, plane[1]) != 148 offsetofend(struct intel_rotation_info, plane[1]));
|
/linux-master/net/core/ |
H A D | secure_seq.c | 71 return siphash(&combined, offsetofend(typeof(combined), daddr), 93 hash = siphash(&combined, offsetofend(typeof(combined), dport), 114 return siphash(&combined, offsetofend(typeof(combined), dport), 192 seq = siphash(&combined, offsetofend(typeof(combined), dport),
|
/linux-master/arch/x86/kernel/ |
H A D | asm-offsets_32.c | 54 offsetofend(struct cpu_entry_area, entry_stack_page.stack));
|
/linux-master/drivers/vfio/pci/hisilicon/ |
H A D | hisi_acc_vfio_pci.h | 53 #define QM_MATCH_SIZE offsetofend(struct acc_vf_data, qm_rsv_state)
|
/linux-master/drivers/vfio/ |
H A D | device_cdev.c | 66 minsz = offsetofend(struct vfio_device_bind_iommufd, out_devid); 163 minsz = offsetofend(struct vfio_device_attach_iommufd_pt, pt_id); 198 minsz = offsetofend(struct vfio_device_detach_iommufd_pt, flags);
|
H A D | vfio_iommu_spapr_tce.c | 788 minsz = offsetofend(struct vfio_eeh_pe_op, op); 815 minsz = offsetofend(struct vfio_eeh_pe_op, err.mask); 872 minsz = offsetofend(struct vfio_iommu_spapr_tce_info, 895 ddwsz = offsetofend(struct vfio_iommu_spapr_tce_info, ddw); 914 minsz = offsetofend(struct vfio_iommu_type1_dma_map, size); 980 minsz = offsetofend(struct vfio_iommu_type1_dma_unmap, 1022 minsz = offsetofend(struct vfio_iommu_spapr_register_memory, 1055 minsz = offsetofend(struct vfio_iommu_spapr_register_memory, 1119 minsz = offsetofend(struct vfio_iommu_spapr_tce_create, 1160 minsz = offsetofend(struc [all...] |
/linux-master/drivers/vfio/cdx/ |
H A D | main.c | 70 offsetofend(struct vfio_device_feature_bus_master, op); 112 unsigned long minsz = offsetofend(struct vfio_device_info, num_irqs); 134 unsigned long minsz = offsetofend(struct vfio_region_info, offset);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | verifier_sock.c | 9 #define offsetofend(TYPE, MEMBER) \ macro 363 __imm_const(bpf_sock_dst_port__end, offsetofend(struct bpf_sock, dst_port)) 460 __imm_const(bpf_sock_rx_queue_mapping__end, offsetofend(struct bpf_sock, rx_queue_mapping)) 569 __imm_const(bpf_tcp_sock_bytes_acked__end, offsetofend(struct bpf_tcp_sock, bytes_acked))
|
/linux-master/arch/x86/kernel/fpu/ |
H A D | init.c | 144 ALIGN(offsetofend(TYPE, MEMBER), _Alignof(TYPE)))
|
/linux-master/drivers/iommu/iommufd/ |
H A D | vfio_compat.c | 163 size_t minsz = offsetofend(struct vfio_iommu_type1_dma_map, size); 200 size_t minsz = offsetofend(struct vfio_iommu_type1_dma_unmap, size); 449 size_t minsz = offsetofend(struct vfio_iommu_type1_info, iova_pgsizes);
|
/linux-master/fs/crypto/ |
H A D | fname.c | 69 #define FSCRYPT_NOKEY_NAME_MAX offsetofend(struct fscrypt_nokey_name, sha256) 389 BUILD_BUG_ON(offsetofend(struct fscrypt_nokey_name, dirhash) != 391 BUILD_BUG_ON(offsetofend(struct fscrypt_nokey_name, bytes) !=
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | ah.c | 110 offsetofend(struct mlx5_ib_create_ah_resp, dmac);
|
/linux-master/drivers/vfio/platform/ |
H A D | vfio_platform_common.c | 286 minsz = offsetofend(struct vfio_device_info, num_irqs); 306 minsz = offsetofend(struct vfio_region_info, offset); 328 minsz = offsetofend(struct vfio_irq_info, count); 351 minsz = offsetofend(struct vfio_irq_set, count);
|
/linux-master/drivers/vfio/fsl-mc/ |
H A D | vfio_fsl_mc.c | 133 minsz = offsetofend(struct vfio_device_info, num_irqs); 156 minsz = offsetofend(struct vfio_region_info, offset); 180 minsz = offsetofend(struct vfio_irq_info, count); 204 minsz = offsetofend(struct vfio_irq_set, count);
|
/linux-master/drivers/s390/cio/ |
H A D | vfio_ccw_ops.c | 521 minsz = offsetofend(struct vfio_device_info, num_irqs); 539 minsz = offsetofend(struct vfio_region_info, offset); 557 minsz = offsetofend(struct vfio_irq_info, count); 580 minsz = offsetofend(struct vfio_irq_set, count);
|