/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | verifier_value_ptr_arith.c | 74 __imm_addr(map_array_48b), in value_ptr_unknown_vs_const() 75 __imm_addr(map_hash_16b), in value_ptr_unknown_vs_const() 112 __imm_addr(map_array_48b), in value_ptr_const_vs_unknown() 113 __imm_addr(map_hash_16b), in value_ptr_const_vs_unknown() 148 __imm_addr(map_array_48b), in ptr_const_vs_const_ne() 149 __imm_addr(map_hash_16b), in ptr_const_vs_const_ne() 182 __imm_addr(map_array_48b), in ptr_const_vs_const_eq() 183 __imm_addr(map_hash_16b), in ptr_const_vs_const_eq() 220 __imm_addr(map_array_48b), in ptr_unknown_vs_unknown_eq() 221 __imm_addr(map_hash_16b), in ptr_unknown_vs_unknown_eq() [all …]
|
D | verifier_helper_value_access.c | 62 __imm_addr(map_hash_48b), in access_to_map_full_range() 88 __imm_addr(map_hash_48b) in access_to_map_partial_range() 117 __imm_addr(map_hash_48b) in access_to_map_empty_range() 149 __imm_addr(map_hash_48b) in access_to_map_possibly_empty_range() 174 __imm_addr(map_hash_48b), in map_out_of_bound_range() 200 __imm_addr(map_hash_48b) in access_to_map_negative_range() 226 __imm_addr(map_hash_48b), in via_const_imm_full_range() 254 __imm_addr(map_hash_48b), in via_const_imm_partial_range() 280 __imm_addr(map_hash_48b), in via_const_imm_empty_range() 307 __imm_addr(map_hash_48b), in imm_out_of_bound_range() [all …]
|
D | verifier_bounds.c | 42 __imm_addr(map_hash_8b) in bounds_map_value_variant_1() 73 __imm_addr(map_hash_8b) in bounds_map_value_variant_2() 106 __imm_addr(map_hash_8b) in subtraction_on_pointers_for_unpriv() 136 __imm_addr(map_hash_8b) in based_on_zero_extended_mov() 167 __imm_addr(map_hash_8b) in on_sign_extended_mov_test1() 198 __imm_addr(map_hash_8b) in on_sign_extended_mov_test2() 225 __imm_addr(map_hash_8b), in var_off_insn_off_test1() 254 __imm_addr(map_hash_8b), in var_off_insn_off_test2() 296 __imm_addr(map_hash_8b) in of_non_boundary_crossing_range() 337 __imm_addr(map_hash_8b), in of_boundary_crossing_range_1() [all …]
|
D | verifier_runtime_jit.c | 65 __imm_addr(map_prog1_socket) in dummy_prog_loop1_socket() 81 __imm_addr(map_prog2_socket) in dummy_prog_loop2_socket() 98 __imm_addr(map_prog1_socket) in call_within_bounds_prog_once() 115 __imm_addr(map_prog1_socket) in call_within_bounds_prog_loop() 132 __imm_addr(map_prog1_socket) in call_within_bounds_no_prog() 149 __imm_addr(map_prog1_socket) in call_within_bounds_key_2() 173 __imm_addr(map_prog1_socket), in _2_key_2_first_branch() 198 __imm_addr(map_prog1_socket), in _2_key_2_second_branch() 223 __imm_addr(map_prog1_socket), in _0_key_2_first_branch() 248 __imm_addr(map_prog1_socket), in _0_key_2_second_branch() [all …]
|
D | verifier_bounds_mix_sign_unsign.c | 43 __imm_addr(map_hash_8b) in signed_and_unsigned_positive_bounds() 75 __imm_addr(map_hash_8b) in checks_mixing_signed_and_unsigned() 109 __imm_addr(map_hash_8b) in signed_and_unsigned_variant_2() 142 __imm_addr(map_hash_8b) in signed_and_unsigned_variant_3() 173 __imm_addr(map_hash_8b) in signed_and_unsigned_variant_4() 206 __imm_addr(map_hash_8b) in signed_and_unsigned_variant_5() 268 __imm_addr(map_hash_8b), in signed_and_unsigned_variant_7() 303 __imm_addr(map_hash_8b) in signed_and_unsigned_variant_8() 336 __imm_addr(map_hash_8b) in signed_and_unsigned_variant_9() 370 __imm_addr(map_hash_8b) in signed_and_unsigned_variant_10() [all …]
|
D | verifier_array_access.c | 57 __imm_addr(map_hash_48b), in an_array_with_a_constant_1() 84 __imm_addr(map_hash_48b), in __flag() 112 __imm_addr(map_hash_48b), in __flag() 145 __imm_addr(map_hash_48b), in __flag() 170 __imm_addr(map_hash_48b), in an_array_with_a_constant_2() 199 __imm_addr(map_hash_48b), in __flag() 229 __imm_addr(map_hash_48b), in __flag() 260 __imm_addr(map_hash_48b), in __flag() 292 __imm_addr(map_hash_48b), in __flag() 326 __imm_addr(map_hash_48b), in __flag() [all …]
|
D | verifier_spin_lock.c | 49 __imm_addr(map_spin_lock) in spin_lock_test1_success() 82 __imm_addr(map_spin_lock) in lock_test2_direct_ld_st() 116 __imm_addr(map_spin_lock) in __flag() 150 __imm_addr(map_spin_lock) in __flag() 184 __imm_addr(map_spin_lock) in call_within_a_locked_region() 218 __imm_addr(map_spin_lock) in spin_lock_test6_missing_unlock() 252 __imm_addr(map_spin_lock) in lock_test7_unlock_without_lock() 288 __imm_addr(map_spin_lock) in spin_lock_test8_double_lock() 327 __imm_addr(map_spin_lock) in spin_lock_test9_different_lock() 358 __imm_addr(map_spin_lock) in lock_in_subprog_without_unlock() [all …]
|
D | verifier_cgroup_storage.c | 45 __imm_addr(cgroup_storage) in valid_cgroup_storage_access() 65 __imm_addr(map_hash_8b) in invalid_cgroup_storage_access_1() 104 __imm_addr(cgroup_storage) in invalid_cgroup_storage_access_3() 125 __imm_addr(cgroup_storage) in __flag() 145 __imm_addr(cgroup_storage) in invalid_cgroup_storage_access_5() 165 __imm_addr(cgroup_storage) in invalid_cgroup_storage_access_6() 184 __imm_addr(percpu_cgroup_storage) in per_cpu_cgroup_storage_access() 204 __imm_addr(map_hash_8b) in cpu_cgroup_storage_access_1() 243 __imm_addr(percpu_cgroup_storage) in cpu_cgroup_storage_access_3() 264 __imm_addr(cgroup_storage) in __flag() [all …]
|
D | verifier_regalloc.c | 48 __imm_addr(map_hash_48b) in __flag() 78 __imm_addr(map_hash_48b) in regalloc_negative() 109 __imm_addr(map_hash_48b) in __flag() 141 __imm_addr(map_hash_48b) in __flag() 176 __imm_addr(map_hash_48b) in __flag() 212 __imm_addr(map_hash_48b) in __flag() 244 __imm_addr(map_hash_48b) in __flag() 276 __imm_addr(map_hash_48b) in __flag() 313 __imm_addr(map_hash_48b) in __flag() 360 __imm_addr(map_hash_48b) in regalloc_spill_jeq()
|
D | verifier_value_or_null.c | 48 __imm_addr(map_hash_8b) in share_map_lookup_elem_result() 73 __imm_addr(map_hash_8b) in map_value_or_null_1() 97 __imm_addr(map_hash_8b) in map_value_or_null_2() 121 __imm_addr(map_hash_8b) in map_value_or_null_3() 149 __imm_addr(map_hash_8b) in multiple_map_lookup_elem_calls() 179 __imm_addr(map_hash_8b) in with_2nd_lookup_in_branch() 208 __imm_addr(map_hash_48b), in __flag() 233 __imm_addr(map_hash_8b) in lookup_and_null_branch_prediction() 284 __imm_addr(map_hash_8b) in __flag()
|
D | verifier_helper_access_var_len.c | 97 __imm_addr(map_ringbuf) in stack_bitwise_and_zero_included() 291 __imm_addr(map_ringbuf) in stack_jmp_no_min_check() 343 __imm_addr(map_hash_48b), in memory_map_jmp_correct_bounds() 376 __imm_addr(map_hash_48b), in memory_map_jmp_wrong_max() 409 __imm_addr(map_hash_48b), in map_adjusted_jmp_correct_bounds() 444 __imm_addr(map_hash_48b), in map_adjusted_jmp_wrong_max() 532 __imm_addr(map_hash_8b) in ptr_to_mem_or_null_4() 562 __imm_addr(map_hash_8b) in ptr_to_mem_or_null_5() 590 __imm_addr(map_hash_8b) in ptr_to_mem_or_null_6() 692 __imm_addr(map_hash_8b) in ptr_to_mem_or_null_11() [all …]
|
D | verifier_map_ptr_mixing.c | 99 __imm_addr(map_prog1_socket) in dummy_prog_loop1_socket() 115 __imm_addr(map_prog2_socket) in dummy_prog_loop2_socket() 154 : __imm_addr(map_hash_48b) in pointers_for_lookup_hash_array__1() 165 : __imm_addr(map_array_48b) in pointers_for_lookup_hash_array__2() 204 : __imm_addr(map_array_48b) in lookup_hash_map_in_map__1() 215 : __imm_addr(map_in_map) in lookup_hash_map_in_map__2() 237 __imm_addr(map_prog1_socket), in pointers_for_lookup_tail_tail_1() 238 __imm_addr(map_prog2_socket), in pointers_for_lookup_tail_tail_1() 260 __imm_addr(map_prog2_socket), in pointers_for_lookup_tail_tail_2()
|
D | verifier_helper_restricted.c | 108 __imm_addr(map_timer) in in_bpf_prog_type_kprobe_2() 133 __imm_addr(map_timer) in bpf_prog_type_perf_event_2() 158 __imm_addr(map_timer) in in_bpf_prog_type_tracepoint_2() 183 __imm_addr(map_timer) in bpf_prog_type_raw_tracepoint_2() 206 __imm_addr(map_spin_lock) in in_bpf_prog_type_kprobe_3() 229 __imm_addr(map_spin_lock) in in_bpf_prog_type_tracepoint_3() 252 __imm_addr(map_spin_lock) in bpf_prog_type_perf_event_3() 275 __imm_addr(map_spin_lock) in bpf_prog_type_raw_tracepoint_3()
|
D | verifier_map_ptr.c | 48 : __imm_addr(map_array_48b) in read_with_negative_offset_rejected() 69 : __imm_addr(map_array_48b) in bpf_map_ptr_write_rejected() 89 : __imm_addr(map_array_48b) in __flag() 107 : __imm_addr(map_array_48b) in ptr_read_ops_field_accepted() 131 __imm_addr(map_hash_16b) in map_ptr_map_ptr_r() 155 __imm_addr(map_hash_16b) in _0_r_r_map_ptr()
|
D | verifier_var_off.c | 200 : __imm_addr(map_hash_8b) in stack_write_clobbers_spilled_regs() 262 __imm_addr(map_hash_8b) in access_max_out_of_bound() 320 __imm_addr(map_hash_8b) in access_min_out_of_bound() 350 __imm_addr(map_hash_8b) in access_min_off_min_initialized() 383 __imm_addr(map_hash_8b) in stack_access_priv_vs_unpriv() 414 __imm_addr(map_hash_8b) in variable_offset_stack_access_ok()
|
D | verifier_helper_packet_access.c | 34 __imm_addr(map_hash_8b), in test1_valid_packet_ptr_range() 53 __imm_addr(map_hash_8b), in packet_test2_unchecked_packet_ptr() 82 __imm_addr(map_hash_8b), in to_packet_test3_variable_add() 107 __imm_addr(map_hash_8b), in packet_ptr_with_bad_range_1() 131 __imm_addr(map_hash_8b), in ptr_with_too_short_range_1() 156 __imm_addr(map_hash_8b), in cls_valid_packet_ptr_range() 175 __imm_addr(map_hash_8b), in test7_cls_unchecked_packet_ptr() 204 __imm_addr(map_hash_8b), in packet_test8_cls_variable_add() 229 __imm_addr(map_hash_8b), in packet_ptr_with_bad_range_2() 253 __imm_addr(map_hash_8b), in ptr_with_too_short_range_2()
|
D | verifier_value_illegal_alu.c | 42 __imm_addr(map_hash_48b) in value_illegal_alu_op_1() 66 __imm_addr(map_hash_48b) in value_illegal_alu_op_2() 90 __imm_addr(map_hash_48b) in value_illegal_alu_op_3() 115 __imm_addr(map_hash_48b) in __flag() 145 __imm_addr(map_hash_48b) in __flag()
|
D | verifier_search_pruning.c | 51 __imm_addr(map_hash_8b) in __retval() 75 __imm_addr(map_hash_8b) in __retval() 123 __imm_addr(map_hash_48b), in __flag() 158 __imm_addr(map_hash_8b) in should_be_verified_nop_operation() 190 __imm_addr(map_hash_8b) in be_verified_invalid_stack_access() 229 __imm_addr(map_hash_8b) in tracking_for_u32_spill_fill()
|
D | verifier_map_in_map.c | 44 __imm_addr(map_in_map) in map_in_map_access() 82 __imm_addr(map_in_map) in __flag() 111 __imm_addr(map_in_map) in invalid_inner_map_pointer() 138 __imm_addr(map_in_map) in on_the_inner_map_pointer()
|
D | verifier_value.c | 40 __imm_addr(map_hash_48b) in store_of_cleared_call_register() 90 __imm_addr(map_hash_48b) in __flag() 122 __imm_addr(map_hash_48b), in __flag() 153 __imm_addr(map_hash_48b), in __flag()
|
D | verifier_sock.c | 690 __imm_addr(sk_storage_map), in sk_null_0_value_null() 719 __imm_addr(sk_storage_map), in sk_1_1_value_1() 751 __imm_addr(sk_storage_map), in stack_value_1_stack_value() 772 __imm_addr(sk_storage_map) in map_lookup_elem_smap_key() 795 __imm_addr(map_xskmap), in xskmap_key_xs_queue_id() 816 __imm_addr(map_sockmap) in map_lookup_elem_sockmap_key() 836 __imm_addr(map_sockhash) in map_lookup_elem_sockhash_key() 861 __imm_addr(map_sockmap), in field_bpf_sk_release_sk_1() 887 __imm_addr(map_sockhash), in field_bpf_sk_release_sk_2() 908 __imm_addr(map_reuseport_array) in ctx_reuseport_array_key_flags() [all …]
|
D | verifier_ringbuf.c | 49 __imm_addr(map_ringbuf) in ringbuf_invalid_reservation_offset_1() 89 __imm_addr(map_ringbuf) in ringbuf_invalid_reservation_offset_2() 127 __imm_addr(map_ringbuf) in passing_rb_mem_to_helpers()
|
D | verifier_map_ret_val.c | 55 __imm_addr(map_hash_8b) in check_return_value_before_access() 79 __imm_addr(map_hash_8b) in __flag() 106 __imm_addr(map_hash_8b) in __flag()
|
D | verifier_leak_ptr.c | 28 : __imm_addr(map_hash_8b), in leak_pointer_into_ctx_1() 61 : __imm_addr(map_hash_8b), in leak_pointer_into_ctx_3() 88 __imm_addr(map_hash_8b) in leak_pointer_into_map_val()
|
D | verifier_unpriv.c | 76 __imm_addr(map_prog1_socket) in dummy_prog_loop1_socket() 195 __imm_addr(map_hash_8b) in pass_pointer_to_helper_function() 216 __imm_addr(map_hash_8b) in on_stack_to_helper_function() 569 __imm_addr(map_hash_8b) in pointer_into_map_elem_value() 616 __imm_addr(map_prog1_socket) in pass_pointer_to_tail_call() 633 : __imm_addr(map_hash_8b) in cmp_map_pointer_with_zero()
|