/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_btf.h | 22 #define BTF_ARRAY_ENC(type, index_type, nr_elems) \ 23 (type), (index_type), (nr_elems) 24 #define BTF_TYPE_ARRAY_ENC(type, index_type, nr_elems) \ 26 BTF_ARRAY_ENC(type, index_type, nr_elems)
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_btf.h | 24 #define BTF_ARRAY_ENC(type, index_type, nr_elems) \ 25 (type), (index_type), (nr_elems) 26 #define BTF_TYPE_ARRAY_ENC(type, index_type, nr_elems) \ 28 BTF_ARRAY_ENC(type, index_type, nr_elems)
|
H A D | btf_helpers.c | 121 arr->type, arr->index_type, arr->nelems); in fprintf_btf_type_raw()
|
/kernel/linux/linux-5.10/lib/ |
H A D | ubsan.h | 63 struct type_descriptor *index_type; member
|
H A D | ubsan.c | 344 val_to_string(index_str, sizeof(index_str), data->index_type, index); in __ubsan_handle_out_of_bounds()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | btf.h | 63 __u32 index_type; member
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | btf.h | 106 __u32 index_type; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | btf.h | 106 __u32 index_type; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | btf.h | 113 __u32 index_type; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | btf.h | 78 __u32 index_type; member
|
/kernel/linux/linux-6.6/lib/ |
H A D | ubsan.h | 95 struct type_descriptor *index_type; member
|
H A D | ubsan.c | 345 val_to_string(index_str, sizeof(index_str), data->index_type, index); in __ubsan_handle_out_of_bounds()
|
/kernel/linux/linux-6.6/tools/include/uapi/linux/ |
H A D | btf.h | 113 __u32 index_type; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | btf.h | 78 __u32 index_type; member
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | btf.c | 326 a->index_type = bswap_32(a->index_type); in btf_bswap_type_rest() 1721 a->index_type = index_type_id; in btf__add_array() 3449 h = hash_combine(h, info->index_type); in btf_hash_array() 3471 info1->index_type == info2->index_type && in btf_equal_array() 3885 cand_arr->index_type, canon_arr->index_type); in btf_dedup_is_equiv() 4174 ref_type_id = btf_dedup_ref_type(d, info->index_type); in btf_dedup_ref_type() 4177 info->index_type in btf_dedup_ref_type() [all...] |
H A D | btf_dump.c | 308 d->type_states[a->index_type].referenced = 1; in btf_dump_mark_referenced()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | btf.c | 377 a->index_type = bswap_32(a->index_type); in btf_bswap_type_rest() 1923 a->index_type = index_type_id; in btf__add_array() 3558 h = hash_combine(h, info->index_type); in btf_hash_array() 3580 info1->index_type == info2->index_type && in btf_equal_array() 4123 eq = btf_dedup_is_equiv(d, cand_arr->index_type, canon_arr->index_type); in btf_dedup_is_equiv() 4449 ref_type_id = btf_dedup_ref_type(d, info->index_type); in btf_dedup_ref_type() 4452 info->index_type in btf_dedup_ref_type() [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | btf.c | 2606 * so !array->type and !array->index_type are not allowed. in btf_array_check_meta() 2613 if (!array->index_type || !BTF_TYPE_ID_VALID(array->index_type)) { in btf_array_check_meta() 2627 const struct btf_type *elem_type, *index_type; in btf_array_resolve() local 2632 /* Check array->index_type */ in btf_array_resolve() 2633 index_type_id = array->index_type; in btf_array_resolve() 2634 index_type = btf_type_by_id(btf, index_type_id); in btf_array_resolve() 2635 if (btf_type_nosize_or_null(index_type) || in btf_array_resolve() 2636 btf_type_is_resolve_source_only(index_type)) { in btf_array_resolve() 2641 if (!env_type_is_resolve_sink(env, index_type) in btf_array_resolve() [all...] |
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | btf.c | 153 jsonw_uint_field(w, "index_type_id", arr->index_type); in dump_btf_type() 157 arr->type, arr->index_type, arr->nelems); in dump_btf_type()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_write.c | 86 ASSERT_EQ(btf_array(t)->index_type, 1, "array_index_type"); in test_btf_write()
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | btf.c | 153 jsonw_uint_field(w, "index_type_id", arr->index_type); in dump_btf_type() 157 arr->type, arr->index_type, arr->nelems); in dump_btf_type()
|
H A D | gen.c | 1774 err = err ? : btfgen_mark_type(info, array->index_type, follow_pointers); in btfgen_mark_type() 1920 err = err ? : btfgen_mark_type_match(info, array->index_type, false); in btfgen_mark_type_match()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_err.c | 2772 u8 index_type = NONE_ERROR; in hclge_handle_error_type_reg_log() local 2790 index_type = i; in hclge_handle_error_type_reg_log() 2795 if (index_module != MODULE_NONE && index_type != NONE_ERROR) in hclge_handle_error_type_reg_log() 2799 hclge_hw_type_id_st[index_type].msg, in hclge_handle_error_type_reg_log()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | btf.c | 2872 * so !array->type and !array->index_type are not allowed. in btf_array_check_meta() 2879 if (!array->index_type || !BTF_TYPE_ID_VALID(array->index_type)) { in btf_array_check_meta() 2893 const struct btf_type *elem_type, *index_type; in btf_array_resolve() local 2898 /* Check array->index_type */ in btf_array_resolve() 2899 index_type_id = array->index_type; in btf_array_resolve() 2900 index_type = btf_type_by_id(btf, index_type_id); in btf_array_resolve() 2901 if (btf_type_nosize_or_null(index_type) || in btf_array_resolve() 2902 btf_type_is_resolve_source_only(index_type)) { in btf_array_resolve() 2907 if (!env_type_is_resolve_sink(env, index_type) in btf_array_resolve() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_write.c | 92 ASSERT_EQ(btf_array(t)->index_type, 1, "array_index_type"); in gen_btf()
|