/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | verifier_xdp_direct_packet_access.c | 24 : __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 …]
|
D | verifier_direct_packet_access.c | 19 : __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 …]
|
D | verifier_cgroup_skb.c | 32 : __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 …]
|
D | verifier_helper_packet_access.c | 35 __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 …]
|
D | verifier_meta_access.c | 23 : __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 …]
|
D | verifier_sock.c | 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() 167 __imm_const(bpf_sock_type, offsetof(struct bpf_sock, type)) in sk_sk_type_fullsock_field_2() [all …]
|
D | verifier_ctx_sk_msg.c | 17 : __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 …]
|
D | verifier_ref_tracking.c | 121 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in reference_tracking_leak_potential_reference() 136 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in potential_reference_to_sock_common_1() 154 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in leak_potential_reference_on_stack() 174 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in potential_reference_on_stack_2() 189 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in reference_tracking_zero_potential_reference() 204 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in potential_reference_to_sock_common_2() 221 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in copy_and_zero_potential_references() 360 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in tracking_release_reference_without_check() 379 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in to_sock_common_without_check() 397 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in reference_tracking_release_reference() [all …]
|
D | verifier_masking.c | 24 : __imm_const(__imm_0, 5 - 1) in test_out_of_bounds_1() 44 : __imm_const(__imm_0, 1 - 1) in test_out_of_bounds_2() 64 : __imm_const(__imm_0, 0xffffffff - 1) in test_out_of_bounds_3() 84 : __imm_const(__imm_0, 1 - 1) in test_out_of_bounds_4() 104 : __imm_const(__imm_0, 1 - 1) in test_out_of_bounds_5() 124 : __imm_const(__imm_0, 0xffffffff - 1) in test_out_of_bounds_6() 144 : __imm_const(__imm_0, 5 - 1) in test_out_of_bounds_7() 164 : __imm_const(__imm_0, 1 - 1) in test_out_of_bounds_8() 184 : __imm_const(__imm_0, 0xffffffff - 1) in test_out_of_bounds_9() 204 : __imm_const(__imm_0, 1 - 1) in test_out_of_bounds_10() [all …]
|
D | verifier_lwt.c | 23 : __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 …]
|
D | verifier_helper_value_access.c | 63 __imm_const(sizeof_test_val, sizeof(struct test_val)) in access_to_map_full_range() 175 __imm_const(__imm_0, sizeof(struct test_val) + 8) in map_out_of_bound_range() 227 __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() [all …]
|
D | verifier_array_access.c | 58 __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() 113 __imm_const(max_entries, MAX_ENTRIES), in __flag() 114 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag() 146 __imm_const(max_entries, MAX_ENTRIES), in __flag() 147 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag() 171 __imm_const(__imm_0, (MAX_ENTRIES + 1) << 2), in an_array_with_a_constant_2() 172 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in an_array_with_a_constant_2() 200 __imm_const(__imm_0, MAX_ENTRIES + 1), in __flag() 201 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag() [all …]
|
D | verifier_jeq_infer_not_null.c | 56 __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()
|
D | verifier_div_overflow.c | 25 : __imm_const(int_min, INT_MIN) in div32_overflow_check_1() 39 : __imm_const(int_min, INT_MIN) in div32_overflow_check_2() 57 : __imm_const(llong_min, LLONG_MIN) in div64_overflow_check_1() 74 : __imm_const(llong_min, LLONG_MIN) in div64_overflow_check_2() 89 : __imm_const(int_min, INT_MIN) in __retval() 103 : __imm_const(int_min, INT_MIN) in __retval() 122 : __imm_const(llong_min, LLONG_MIN) in mod64_overflow_check_1() 140 : __imm_const(llong_min, LLONG_MIN) in mod64_overflow_check_2()
|
D | verifier_bounds.c | 226 __imm_const(__imm_0, (1 << 29) - 1), in var_off_insn_off_test1() 227 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)) in var_off_insn_off_test1() 255 __imm_const(__imm_0, (1 << 30) - 1), in var_off_insn_off_test2() 256 __imm_const(__imm_1, (1 << 29) - 1), in var_off_insn_off_test2() 257 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)) in var_off_insn_off_test2() 338 __imm_const(__imm_0, 0xffffff80 >> 1) in of_boundary_crossing_range_1() 380 __imm_const(__imm_0, 0xffffff80 >> 1) in of_boundary_crossing_range_2() 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() [all …]
|
D | verifier_stack_ptr.c | 178 : __imm_const(__imm_0, (1 << 29) - 1) in to_stack_check_high_5() 196 : __imm_const(__imm_0, (1 << 29) - 1), in to_stack_check_high_6() 197 __imm_const(shrt_max, SHRT_MAX) in to_stack_check_high_6() 216 : __imm_const(__imm_0, (1 << 29) - 1), in to_stack_check_high_7() 217 __imm_const(shrt_max, SHRT_MAX) in to_stack_check_high_7() 283 : __imm_const(int_min, INT_MIN) in to_stack_check_low_4() 301 : __imm_const(__imm_0, -((1 << 29) - 1)) in to_stack_check_low_5() 319 : __imm_const(__imm_0, -((1 << 29) - 1)), in to_stack_check_low_6() 320 __imm_const(shrt_min, SHRT_MIN) in to_stack_check_low_6() 339 : __imm_const(__imm_0, -((1 << 29) - 1)), in to_stack_check_low_7() [all …]
|
D | verifier_value_ptr_arith.c | 76 __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 …]
|
D | verifier_raw_stack.c | 61 __imm_const(__imm_0, ~0) in load_bytes_negative_len_2() 146 __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()
|
D | verifier_ldsx.c | 157 : __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()
|
D | verifier_spill_fill.c | 44 : __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 …]
|
D | verifier_unpriv.c | 367 : __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)) in fill_of_different_pointers_stx() 393 : __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)), in fill_of_different_pointers_st() 433 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)), in pointers_stx_ctx_and_sock() 434 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in pointers_stx_ctx_and_sock() 469 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)), in different_pointers_stx_leak_sock() 470 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in different_pointers_stx_leak_sock() 506 __imm_const(bpf_sock_mark, offsetof(struct bpf_sock, mark)), in stx_sock_and_ctx_read() 507 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in stx_sock_and_ctx_read() 546 __imm_const(bpf_sock_mark, offsetof(struct bpf_sock, mark)), in stx_sock_and_ctx_write() 547 __imm_const(sizeof_bpf_sock_tuple, sizeof(struct bpf_sock_tuple)) in stx_sock_and_ctx_write()
|
D | verifier_runtime_jit.c | 174 __imm_const(__sk_buff_cb_0, offsetof(struct __sk_buff, cb[0])) in _2_key_2_first_branch() 199 __imm_const(__sk_buff_cb_0, offsetof(struct __sk_buff, cb[0])) in _2_key_2_second_branch() 224 __imm_const(__sk_buff_cb_0, offsetof(struct __sk_buff, cb[0])) in _0_key_2_first_branch() 249 __imm_const(__sk_buff_cb_0, offsetof(struct __sk_buff, cb[0])) in _0_key_2_second_branch() 276 __imm_const(__sk_buff_cb_0, offsetof(struct __sk_buff, cb[0])) in bounds_different_maps_first_branch() 303 __imm_const(__sk_buff_cb_0, offsetof(struct __sk_buff, cb[0])) in bounds_different_maps_second_branch()
|
D | verifier_bounds_deduction.c | 116 : __imm_const(__imm_0, ~0), in __flag() 117 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)) in __flag() 135 : __imm_const(__imm_0, ~0), in __flag() 136 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)) in __flag()
|
D | verifier_helper_access_var_len.c | 344 __imm_const(sizeof_test_val, sizeof(struct test_val)) in memory_map_jmp_correct_bounds() 377 __imm_const(__imm_0, sizeof(struct test_val) + 1) in memory_map_jmp_wrong_max() 410 __imm_const(__imm_0, sizeof(struct test_val) - 20), in map_adjusted_jmp_correct_bounds() 411 __imm_const(sizeof_test_val, sizeof(struct test_val)) in map_adjusted_jmp_correct_bounds() 445 __imm_const(__imm_0, sizeof(struct test_val) - 19) in map_adjusted_jmp_wrong_max() 617 __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), in __flag() 618 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) in __flag()
|
D | verifier_netfilter_ctx.c | 21 : __imm_const(__bpf_nf_ctx_state, offsetof(struct bpf_nf_ctx, state)) in with_invalid_ctx_access_test1() 35 : __imm_const(__bpf_nf_ctx_skb, offsetof(struct bpf_nf_ctx, skb)) in with_invalid_ctx_access_test2() 49 : __imm_const(__bpf_nf_ctx_size, sizeof(struct bpf_nf_ctx)) in with_invalid_ctx_access_test3() 64 : __imm_const(__bpf_nf_ctx_skb, offsetof(struct bpf_nf_ctx, skb)) in with_invalid_ctx_access_test4()
|