Searched refs:btf_array (Results 1 - 19 of 19) sorted by relevance
/linux-master/include/uapi/linux/ |
H A D | btf.h | 110 /* BTF_KIND_ARRAY is followed by one "struct btf_array" */ 111 struct btf_array { struct
|
/linux-master/tools/include/uapi/linux/ |
H A D | btf.h | 110 /* BTF_KIND_ARRAY is followed by one "struct btf_array" */ 111 struct btf_array { struct
|
/linux-master/tools/lib/bpf/ |
H A D | relo_core.c | 73 const struct btf_array *arr) 189 local_id = btf_array(local_type)->type; 190 targ_id = btf_array(targ_type)->type; 366 const struct btf_array *a = btf_array(t); 457 local_id = btf_array(local_type)->type; 458 targ_id = btf_array(targ_type)->type; 642 const struct btf_array *a; 648 a = btf_array(targ_type); 1644 const struct btf_array *local_arra [all...] |
H A D | btf.h | 479 static inline struct btf_array *btf_array(const struct btf_type *t) function 481 return (struct btf_array *)(t + 1);
|
H A D | btf.c | 311 return base_size + sizeof(struct btf_array); 341 struct btf_array *a; 375 a = btf_array(t); 505 const struct btf_array *a = btf_array(t); 765 const struct btf_array *array; 796 array = btf_array(t); 838 return btf__align_of(btf, btf_array(t)->type); 2074 struct btf_array *a; 2083 sz = sizeof(struct btf_type) + sizeof(struct btf_array); [all...] |
H A D | btf_dump.c | 342 const struct btf_array *a = btf_array(t); 513 return btf_dump_order_type(d, btf_array(t)->type, false); 762 btf_dump_emit_type(d, btf_array(t)->type, cont_id); 1326 id = btf_array(t)->type; 1499 const struct btf_array *a = btf_array(t); 2029 const struct btf_array *array = btf_array(t); 2345 const struct btf_array *arra [all...] |
H A D | linker.c | 1411 id1 = btf_array(t1)->type; 1412 id2 = btf_array(t2)->type;
|
H A D | libbpf.c | 2340 const struct btf_array *arr_info; 2360 arr_info = btf_array(arr_t); 2589 if (!btf_is_array(t) || btf_array(t)->nelems) { 2594 t = skip_mods_and_typedefs(btf, btf_array(t)->type, NULL); 4014 if (btf_array(t)->nelems == 0) 4016 if (find_kcfg_type(btf, btf_array(t)->type, NULL) != KCFG_CHAR) 10035 const struct btf_array *array; 10071 array = btf_array(array_type);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | btf_helpers.c | 118 const struct btf_array *arr = btf_array(t);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_write.c | 92 ASSERT_EQ(btf_array(t)->index_type, 1, "array_index_type"); 93 ASSERT_EQ(btf_array(t)->type, 2, "array_elem_type"); 94 ASSERT_EQ(btf_array(t)->nelems, 10, "array_nelems");
|
H A D | core_reloc.c | 474 } else if (btf_is_array(t) && (t = btf__type_by_id(local_btf, btf_array(t)->type)) &&
|
H A D | btf.c | 8002 return base_size + sizeof(struct btf_array);
|
/linux-master/include/linux/ |
H A D | btf.h | 455 static inline struct btf_array *btf_array(const struct btf_type *t) function 457 return (struct btf_array *)(t + 1);
|
/linux-master/tools/bpf/bpftool/ |
H A D | btf_dumper.c | 211 static bool is_str_array(const struct btf *btf, const struct btf_array *arr, 251 struct btf_array *arr = (struct btf_array *)(t + 1); 623 const struct btf_array *array; 654 array = (struct btf_array *)(t + 1);
|
H A D | gen.c | 1987 struct btf_array *array; 2023 array = btf_array(btf_type); 2061 struct btf_array *array; 2096 array = btf_array(btf_type); 2168 struct btf_array *array; 2170 array = btf_array(btf_type);
|
H A D | btf.c | 149 const struct btf_array *arr = (const void *)(t + 1);
|
/linux-master/kernel/bpf/ |
H A D | btf.c | 51 * 'struct btf_array'. 722 static const struct btf_array *btf_type_array(const struct btf_type *t) 724 return (const struct btf_array *)(t + 1); 958 const struct btf_array *array; 1923 const struct btf_array *array = NULL; 2883 const struct btf_array *array = btf_type_array(t); 2935 const struct btf_array *array = btf_type_array(v->t); 3000 const struct btf_array *array = btf_type_array(t); 3010 const struct btf_array *array = btf_type_array(t); 5109 const struct btf_array *arra [all...] |
H A D | verifier.c | 10918 const struct btf_array *array; 10931 array = btf_array(member_type);
|
/linux-master/kernel/trace/ |
H A D | trace_probe.c | 334 const struct btf_array *array; 341 array = (const struct btf_array *)(type + 1);
|
Completed in 380 milliseconds