Searched refs:offsetofend (Results 1 - 25 of 140) sorted by relevance

123456

/linux-master/tools/testing/selftests/bpf/
H A Dbpf_util.h57 #ifndef offsetofend
58 #define offsetofend(TYPE, MEMBER) \ macro
/linux-master/drivers/gpu/drm/xe/compat-i915-headers/
H A Di915_vma_types.h52 BUILD_BUG_ON(offsetofend(struct intel_remapped_info, plane[1]) !=
53 offsetofend(struct intel_rotation_info, plane[1]));
/linux-master/include/linux/
H A Dcache.h101 offsetofend(TYPE, __cacheline_group_begin__##GROUP) && \
102 offsetofend(TYPE, MEMBER) <= \
109 offsetofend(TYPE, __cacheline_group_begin__##GROUP) > \
H A Dstddef.h27 * offsetofend() - Report the offset of a struct field within the struct
32 #define offsetofend(TYPE, MEMBER) \ macro
/linux-master/net/wireless/tests/
H A Dutil.h61 offsetofend(type, member), \
62 offsetofend(type, member)); \
/linux-master/tools/lib/bpf/
H A Dskel_internal.h214 #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 Dbpf.c108 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 Dlibbpf_internal.h106 #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 Dgen_loader.c420 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 Dbpf_tcp_ca.c92 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 Di915_vma_types.h147 BUILD_BUG_ON(offsetofend(struct intel_remapped_info, plane[1]) !=
148 offsetofend(struct intel_rotation_info, plane[1]));
/linux-master/net/core/
H A Dsecure_seq.c71 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 Dasm-offsets_32.c54 offsetofend(struct cpu_entry_area, entry_stack_page.stack));
/linux-master/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.h53 #define QM_MATCH_SIZE offsetofend(struct acc_vf_data, qm_rsv_state)
/linux-master/drivers/vfio/
H A Ddevice_cdev.c66 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 Dvfio_iommu_spapr_tce.c788 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 Dmain.c70 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 Dverifier_sock.c9 #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 Dinit.c144 ALIGN(offsetofend(TYPE, MEMBER), _Alignof(TYPE)))
/linux-master/drivers/iommu/iommufd/
H A Dvfio_compat.c163 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 Dfname.c69 #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 Dah.c110 offsetofend(struct mlx5_ib_create_ah_resp, dmac);
/linux-master/drivers/vfio/platform/
H A Dvfio_platform_common.c286 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 Dvfio_fsl_mc.c133 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 Dvfio_ccw_ops.c521 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);

Completed in 249 milliseconds

123456