Home
last modified time | relevance | path

Searched refs:offsetof (Results 1 – 25 of 139) sorted by relevance

123456

/tools/testing/selftests/bpf/progs/
Dverifier_xdp_direct_packet_access.c24 : __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in end_mangling_bad_access_1()
25 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in end_mangling_bad_access_1()
45 : __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in end_mangling_bad_access_2()
46 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in end_mangling_bad_access_2()
65 : __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in __flag()
66 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in __flag()
86 : __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in __flag()
87 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in __flag()
107 : __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in __flag()
108 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in __flag()
[all …]
Dverifier_cgroup_skb.c32 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in test_1_for_cgroup_skb()
33 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)), in test_1_for_cgroup_skb()
34 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)), in test_1_for_cgroup_skb()
35 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)), in test_1_for_cgroup_skb()
36 __imm_const(__sk_buff_pkt_type, offsetof(struct __sk_buff, pkt_type)), in test_1_for_cgroup_skb()
37 __imm_const(__sk_buff_protocol, offsetof(struct __sk_buff, protocol)), in test_1_for_cgroup_skb()
38 __imm_const(__sk_buff_queue_mapping, offsetof(struct __sk_buff, queue_mapping)), in test_1_for_cgroup_skb()
39 __imm_const(__sk_buff_vlan_present, offsetof(struct __sk_buff, vlan_present)) in test_1_for_cgroup_skb()
59 : __imm_const(__sk_buff_hash, offsetof(struct __sk_buff, hash)), in test_2_for_cgroup_skb()
60 __imm_const(__sk_buff_ingress_ifindex, offsetof(struct __sk_buff, ingress_ifindex)), in test_2_for_cgroup_skb()
[all …]
Dverifier_direct_packet_access.c19 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in __retval()
20 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in __retval()
39 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in direct_packet_access_test1()
40 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in direct_packet_access_test1()
73 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in direct_packet_access_test2()
74 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)), in direct_packet_access_test2()
75 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)) in direct_packet_access_test2()
90 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)) in direct_packet_access_test3()
109 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in direct_packet_access_test4_write()
110 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in direct_packet_access_test4_write()
[all …]
Dverifier_meta_access.c23 : __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in meta_access_test1()
24 __imm_const(xdp_md_data_meta, offsetof(struct xdp_md, data_meta)) in meta_access_test1()
45 : __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in meta_access_test2()
46 __imm_const(xdp_md_data_meta, offsetof(struct xdp_md, data_meta)) in meta_access_test2()
65 : __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)), in meta_access_test3()
66 __imm_const(xdp_md_data_meta, offsetof(struct xdp_md, data_meta)) in meta_access_test3()
86 : __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in meta_access_test4()
87 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)), in meta_access_test4()
88 __imm_const(xdp_md_data_meta, offsetof(struct xdp_md, data_meta)) in meta_access_test4()
110 __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in meta_access_test5()
[all …]
Dverifier_helper_packet_access.c35 __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in test1_valid_packet_ptr_range()
36 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in test1_valid_packet_ptr_range()
54 __imm_const(xdp_md_data, offsetof(struct xdp_md, data)) in packet_test2_unchecked_packet_ptr()
83 __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in to_packet_test3_variable_add()
84 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in to_packet_test3_variable_add()
108 __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in packet_ptr_with_bad_range_1()
109 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in packet_ptr_with_bad_range_1()
132 __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in ptr_with_too_short_range_1()
133 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in ptr_with_too_short_range_1()
157 __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in cls_valid_packet_ptr_range()
[all …]
Dverifier_ctx_sk_msg.c17 : __imm_const(sk_msg_md_family, offsetof(struct sk_msg_md, family)) in access_family_in_sk_msg()
30 : __imm_const(sk_msg_md_remote_ip4, offsetof(struct sk_msg_md, remote_ip4)) in remote_ip4_in_sk_msg()
43 : __imm_const(sk_msg_md_local_ip4, offsetof(struct sk_msg_md, local_ip4)) in local_ip4_in_sk_msg()
56 : __imm_const(sk_msg_md_remote_port, offsetof(struct sk_msg_md, remote_port)) in remote_port_in_sk_msg()
69 : __imm_const(sk_msg_md_local_port, offsetof(struct sk_msg_md, local_port)) in local_port_in_sk_msg()
85 : __imm_const(sk_msg_md_remote_ip6_0, offsetof(struct sk_msg_md, remote_ip6[0])), in remote_ip6_in_sk_msg()
86 __imm_const(sk_msg_md_remote_ip6_1, offsetof(struct sk_msg_md, remote_ip6[1])), in remote_ip6_in_sk_msg()
87 __imm_const(sk_msg_md_remote_ip6_2, offsetof(struct sk_msg_md, remote_ip6[2])), in remote_ip6_in_sk_msg()
88 __imm_const(sk_msg_md_remote_ip6_3, offsetof(struct sk_msg_md, remote_ip6[3])) in remote_ip6_in_sk_msg()
104 : __imm_const(sk_msg_md_local_ip6_0, offsetof(struct sk_msg_md, local_ip6[0])), in local_ip6_in_sk_msg()
[all …]
Dverifier_lwt.c23 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in packet_write_for_lwt_in()
24 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in packet_write_for_lwt_in()
43 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in packet_write_for_lwt_out()
44 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in packet_write_for_lwt_out()
63 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in packet_write_for_lwt_xmit()
64 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in packet_write_for_lwt_xmit()
83 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in packet_read_for_lwt_in()
84 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in packet_read_for_lwt_in()
103 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in packet_read_for_lwt_out()
104 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in packet_read_for_lwt_out()
[all …]
Dverifier_sock.c10 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
65 : __imm_const(__sk_buff_sk, offsetof(struct __sk_buff, sk)) in skb_sk_no_null_check()
83 : __imm_const(__sk_buff_sk, offsetof(struct __sk_buff, sk)), in sk_family_non_fullsock_field_1()
84 __imm_const(bpf_sock_family, offsetof(struct bpf_sock, family)) in sk_family_non_fullsock_field_1()
103 : __imm_const(__sk_buff_sk, offsetof(struct __sk_buff, sk)), in sk_sk_type_fullsock_field_1()
104 __imm_const(bpf_sock_type, offsetof(struct bpf_sock, type)) in sk_sk_type_fullsock_field_1()
121 __imm_const(__sk_buff_sk, offsetof(struct __sk_buff, sk)) in sk_no_skb_sk_check_1()
142 __imm_const(__sk_buff_sk, offsetof(struct __sk_buff, sk)), in no_null_check_on_ret_1()
143 __imm_const(bpf_sock_type, offsetof(struct bpf_sock, type)) in no_null_check_on_ret_1()
166 __imm_const(__sk_buff_sk, offsetof(struct __sk_buff, sk)), in sk_sk_type_fullsock_field_2()
[all …]
Dverifier_jeq_infer_not_null.c56 __imm_const(__sk_buff_sk, offsetof(struct __sk_buff, sk)), in socket_for_jne_false_branch()
57 __imm_const(bpf_sock_type, offsetof(struct bpf_sock, type)) in socket_for_jne_false_branch()
94 __imm_const(__sk_buff_sk, offsetof(struct __sk_buff, sk)), in unchanged_for_jne_true_branch()
95 __imm_const(bpf_sock_type, offsetof(struct bpf_sock, type)) in unchanged_for_jne_true_branch()
130 __imm_const(__sk_buff_sk, offsetof(struct __sk_buff, sk)), in socket_for_jeq_true_branch()
131 __imm_const(bpf_sock_type, offsetof(struct bpf_sock, type)) in socket_for_jeq_true_branch()
166 __imm_const(__sk_buff_sk, offsetof(struct __sk_buff, sk)), in unchanged_for_jeq_false_branch()
167 __imm_const(bpf_sock_type, offsetof(struct bpf_sock, type)) in unchanged_for_jeq_false_branch()
209 __imm_const(bpf_xdp_sock_queue_id, offsetof(struct bpf_xdp_sock, queue_id)) in null_ptr_to_map_value()
Dverifier_helper_value_access.c227 __imm_const(__imm_0, sizeof(struct test_val) - offsetof(struct test_val, foo)), in via_const_imm_full_range()
228 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_full_range()
255 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_partial_range()
281 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_empty_range()
308 __imm_const(__imm_0, sizeof(struct test_val) - offsetof(struct test_val, foo) + 8), in imm_out_of_bound_range()
309 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in imm_out_of_bound_range()
336 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in const_imm_negative_range_adjustment_1()
363 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in const_imm_negative_range_adjustment_2()
391 __imm_const(__imm_0, sizeof(struct test_val) - offsetof(struct test_val, foo)), in via_const_reg_full_range()
392 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_reg_full_range()
[all …]
Dverifier_ldsx.c157 : __imm_const(xdp_md_data, offsetof(struct xdp_md, data)) in ldsx_ctx_1()
171 : __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in ldsx_ctx_2()
185 : __imm_const(xdp_md_data_meta, offsetof(struct xdp_md, data_meta)) in ldsx_ctx_3()
199 : __imm_const(sk_buff_data, offsetof(struct __sk_buff, data)) in ldsx_ctx_4()
213 : __imm_const(sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in ldsx_ctx_5()
227 : __imm_const(sk_buff_data_meta, offsetof(struct __sk_buff, data_meta)) in ldsx_ctx_6()
241 : __imm_const(sk_buff_data, offsetof(struct __sk_buff, data)) in ldsx_ctx_7()
255 : __imm_const(sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in ldsx_ctx_8()
Dverifier_raw_stack.c146 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)), in bytes_spilled_regs_around_bounds()
147 __imm_const(__sk_buff_priority, offsetof(struct __sk_buff, priority)) in bytes_spilled_regs_around_bounds()
170 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)) in __flag()
201 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)), in __flag()
202 __imm_const(__sk_buff_pkt_type, offsetof(struct __sk_buff, pkt_type)), in __flag()
203 __imm_const(__sk_buff_priority, offsetof(struct __sk_buff, priority)) in __flag()
232 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)), in load_bytes_spilled_regs_data()
233 __imm_const(__sk_buff_priority, offsetof(struct __sk_buff, priority)) in load_bytes_spilled_regs_data()
Dverifier_array_access.c58 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in an_array_with_a_constant_1()
85 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
114 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
147 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
172 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in an_array_with_a_constant_2()
201 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
230 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
262 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
294 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
327 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
Dverifier_bounds.c227 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)) in var_off_insn_off_test1()
257 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)) in var_off_insn_off_test2()
687 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in __flag()
688 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in __flag()
1023 : __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in crossing_64_bit_signed_boundary_1()
1024 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in crossing_64_bit_signed_boundary_1()
1054 : __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in crossing_64_bit_signed_boundary_2()
1055 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in crossing_64_bit_signed_boundary_2()
1079 : __imm_const(xdp_md_data, offsetof(struct xdp_md, data)), in bound_greater_than_u32_max()
1080 __imm_const(xdp_md_data_end, offsetof(struct xdp_md, data_end)) in bound_greater_than_u32_max()
[all …]
Dverifier_spill_fill.c44 : __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)) in valid_spill_fill_skb_mark()
195 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in scalar_offset_to_skb_data_1()
196 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in scalar_offset_to_skb_data_1()
245 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in u16_offset_to_skb_data()
246 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in u16_offset_to_skb_data()
271 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in u64_offset_to_skb_data()
272 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in u64_offset_to_skb_data()
303 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in _6_offset_to_skb_data()
304 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in _6_offset_to_skb_data()
330 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in addr_offset_to_skb_data()
[all …]
Dverifier_value_ptr_arith.c76 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)) in value_ptr_unknown_vs_const()
114 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)) in value_ptr_const_vs_unknown()
150 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)) in ptr_const_vs_const_ne()
184 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)) in ptr_const_vs_const_eq()
222 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)) in ptr_unknown_vs_unknown_eq()
262 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)) in ptr_unknown_vs_unknown_lt()
302 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)) in ptr_unknown_vs_unknown_gt()
332 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)) in value_ptr_from_different_maps()
365 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)) in known_scalar_from_different_maps()
395 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)) in maps_but_same_value_properties()
[all …]
/tools/testing/selftests/bpf/verifier/
Dctx_sk_lookup.c6 offsetof(struct bpf_sk_lookup, family)),
8 offsetof(struct bpf_sk_lookup, family) + 1),
10 offsetof(struct bpf_sk_lookup, family) + 2),
12 offsetof(struct bpf_sk_lookup, family) + 3),
15 offsetof(struct bpf_sk_lookup, family)),
17 offsetof(struct bpf_sk_lookup, family) + 2),
20 offsetof(struct bpf_sk_lookup, family)),
24 offsetof(struct bpf_sk_lookup, protocol)),
26 offsetof(struct bpf_sk_lookup, protocol) + 1),
28 offsetof(struct bpf_sk_lookup, protocol) + 2),
[all …]
Dctx_skb.c5 offsetof(struct __sk_buff, len)),
8 offsetof(struct __sk_buff, mark)),
11 offsetof(struct __sk_buff, pkt_type)),
14 offsetof(struct __sk_buff, queue_mapping)),
17 offsetof(struct __sk_buff, protocol)),
20 offsetof(struct __sk_buff, vlan_present)),
23 offsetof(struct __sk_buff, vlan_tci)),
26 offsetof(struct __sk_buff, napi_id)),
54 offsetof(struct __sk_buff, pkt_type)),
67 offsetof(struct __sk_buff, pkt_type)),
[all …]
Dperf_event_sample_period.c7 offsetof(struct bpf_perf_event_data, sample_period)),
10 offsetof(struct bpf_perf_event_data, sample_period) + 7),
23 offsetof(struct bpf_perf_event_data, sample_period)),
26 offsetof(struct bpf_perf_event_data, sample_period) + 6),
39 offsetof(struct bpf_perf_event_data, sample_period)),
42 offsetof(struct bpf_perf_event_data, sample_period) + 4),
54 offsetof(struct bpf_perf_event_data, sample_period)),
/tools/lib/bpf/
Dbtf_iter.c44 it->desc = (struct btf_field_desc) { 1, {offsetof(struct btf_type, type)} }; in btf_field_iter_init()
48 2, {sizeof(struct btf_type) + offsetof(struct btf_array, type), in btf_field_iter_init()
49 sizeof(struct btf_type) + offsetof(struct btf_array, index_type)} in btf_field_iter_init()
57 1, {offsetof(struct btf_member, type)} in btf_field_iter_init()
62 1, {offsetof(struct btf_type, type)}, in btf_field_iter_init()
64 1, {offsetof(struct btf_param, type)} in btf_field_iter_init()
71 1, {offsetof(struct btf_var_secinfo, type)} in btf_field_iter_init()
98 1, {offsetof(struct btf_type, name_off)} in btf_field_iter_init()
103 1, {offsetof(struct btf_type, name_off)}, in btf_field_iter_init()
105 1, {offsetof(struct btf_enum, name_off)} in btf_field_iter_init()
[all …]
Dusdt.c1244 #define reg_off(reg64, reg32) offsetof(struct pt_regs, reg64) in calc_pt_regs_off()
1246 #define reg_off(reg64, reg32) offsetof(struct pt_regs, reg32) in calc_pt_regs_off()
1259 { {"r8", "r8d", "r8w", "r8b"}, offsetof(struct pt_regs, r8) }, in calc_pt_regs_off()
1260 { {"r9", "r9d", "r9w", "r9b"}, offsetof(struct pt_regs, r9) }, in calc_pt_regs_off()
1261 { {"r10", "r10d", "r10w", "r10b"}, offsetof(struct pt_regs, r10) }, in calc_pt_regs_off()
1262 { {"r11", "r11d", "r11w", "r11b"}, offsetof(struct pt_regs, r11) }, in calc_pt_regs_off()
1263 { {"r12", "r12d", "r12w", "r12b"}, offsetof(struct pt_regs, r12) }, in calc_pt_regs_off()
1264 { {"r13", "r13d", "r13w", "r13b"}, offsetof(struct pt_regs, r13) }, in calc_pt_regs_off()
1265 { {"r14", "r14d", "r14w", "r14b"}, offsetof(struct pt_regs, r14) }, in calc_pt_regs_off()
1266 { {"r15", "r15d", "r15w", "r15b"}, offsetof(struct pt_regs, r15) }, in calc_pt_regs_off()
[all …]
/tools/perf/util/
Dbpf-utils.c25 offsetof(struct bpf_prog_info, jited_prog_insns),
26 offsetof(struct bpf_prog_info, jited_prog_len),
30 offsetof(struct bpf_prog_info, xlated_prog_insns),
31 offsetof(struct bpf_prog_info, xlated_prog_len),
35 offsetof(struct bpf_prog_info, map_ids),
36 offsetof(struct bpf_prog_info, nr_map_ids),
40 offsetof(struct bpf_prog_info, jited_ksyms),
41 offsetof(struct bpf_prog_info, nr_jited_ksyms),
45 offsetof(struct bpf_prog_info, jited_func_lens),
46 offsetof(struct bpf_prog_info, nr_jited_func_lens),
[all …]
/tools/testing/selftests/bpf/prog_tests/
Dsockopt.c114 offsetof(struct bpf_sockopt, optval)),
133 offsetof(struct bpf_sockopt, level)),
140 offsetof(struct bpf_sockopt, retval)),
163 offsetof(struct bpf_sockopt, level)),
176 offsetof(struct bpf_sockopt, optname)),
183 offsetof(struct bpf_sockopt, retval)),
205 offsetof(struct bpf_sockopt, retval)),
224 offsetof(struct bpf_sockopt, optname)),
237 offsetof(struct bpf_sockopt, optlen)),
244 offsetof(struct bpf_sockopt, retval)),
[all …]
Duprobe_syscall.c126 case offsetof(struct pt_regs, rax): in test_uretprobe_regs_equal()
143 case offsetof(struct pt_regs, orig_rax): in test_uretprobe_regs_equal()
144 case offsetof(struct pt_regs, rip): in test_uretprobe_regs_equal()
145 case offsetof(struct pt_regs, cs): in test_uretprobe_regs_equal()
146 case offsetof(struct pt_regs, rsp): in test_uretprobe_regs_equal()
147 case offsetof(struct pt_regs, ss): in test_uretprobe_regs_equal()
202 case offsetof(struct pt_regs, rax): in test_uretprobe_regs_change()
205 case offsetof(struct pt_regs, rcx): in test_uretprobe_regs_change()
208 case offsetof(struct pt_regs, r11): in test_uretprobe_regs_change()
/tools/perf/arch/x86/tests/
Dbp-modify.c82 offsetof(struct user, u_debugreg[0]), bp_2)) { in bp_modify1()
89 offsetof(struct user, u_debugreg[0]), bp_1)) { in bp_modify1()
96 offsetof(struct user, u_debugreg[7]), dr7)) { in bp_modify1()
113 offsetof(struct user_regs_struct, rip), NULL); in bp_modify1()
159 offsetof(struct user, u_debugreg[0]), bp_1)) { in bp_modify2()
166 offsetof(struct user, u_debugreg[7]), dr7)) { in bp_modify2()
172 offsetof(struct user, u_debugreg[0]), (unsigned long) (-1))) { in bp_modify2()
189 offsetof(struct user_regs_struct, rip), NULL); in bp_modify2()

123456