/linux-master/tools/perf/util/ |
H A D | bpf_off_cpu.c | 103 u32 type_id; local 105 type_id = btf__find_by_name_kind(btf, "btf_trace_sched_switch", 107 if ((s32)type_id < 0) 110 t1 = btf__type_by_id(btf, type_id);
|
/linux-master/net/netfilter/ |
H A D | nf_bpf_link.c | 270 s32 type_id; local 276 type_id = btf_find_by_name_kind(btf, name, BTF_KIND_STRUCT); 277 if (WARN_ON_ONCE(type_id < 0)) 281 info->btf_id = type_id;
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | netif_receive_skb.c | 66 _ptr.type_id = bpf_core_type_id_kernel(_type); \ 67 if (_ptr.type_id <= 0) { \ 111 p.type_id = bpf_core_type_id_kernel(struct sk_buff);
|
H A D | bpf_iter.h | 153 __u32 type_id; member in struct:btf_ptr
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_err.c | 1285 .type_id = NONE_ERROR, 1288 .type_id = FIFO_ERROR, 1291 .type_id = MEMORY_ERROR, 1294 .type_id = POISON_ERROR, 1297 .type_id = MSIX_ECC_ERROR, 1300 .type_id = TQP_INT_ECC_ERROR, 1303 .type_id = PF_ABNORMAL_INT_ERROR, 1307 .type_id = MPF_ABNORMAL_INT_ERROR, 1311 .type_id = COMMON_ERROR, 1314 .type_id 2772 u8 mod_id, total_module, type_id, total_type, i, is_ras; local [all...] |
H A D | hclge_err.h | 197 enum hclge_err_type_list type_id; member in struct:hclge_hw_type_id 215 u8 type_id; member in struct:hclge_type_reg_err_info
|
/linux-master/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_model_kunit.c | 2692 .type_id = 0, 2697 .type_id = 0, 2702 .type_id = 2, 2707 .type_id = 2, 2712 .type_id = 3, 2720 .type_id = 0, 2725 .type_id = 3, 2730 .type_id = 4, 2735 .type_id = 5, 2740 .type_id [all...] |
H A D | vcap_api.h | 75 u8 type_id; member in struct:vcap_set
|
/linux-master/tools/lib/bpf/ |
H A D | btf.h | 136 LIBBPF_API __s64 btf__resolve_size(const struct btf *btf, __u32 type_id); 137 LIBBPF_API int btf__resolve_type(const struct btf *btf, __u32 type_id); 210 LIBBPF_API int btf__add_func_param(struct btf *btf, const char *name, int type_id); 213 LIBBPF_API int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id);
|
H A D | btf_dump.c | 1849 static bool ptr_is_aligned(const struct btf *btf, __u32 type_id, argument 1852 int alignment = btf__align_of(btf, type_id); 1862 __u32 type_id, 1872 pr_warn("unexpected size %d for id [%u]\n", sz, type_id); 1879 if (!ptr_is_aligned(d->btf, type_id, data)) { 1946 pr_warn("unexpected sz %d for id [%u]\n", sz, type_id); 1960 __u32 type_id, 1968 if (!ptr_is_aligned(d->btf, type_id, data)) { 1984 pr_warn("unexpected size %d for id [%u]\n", sz, type_id); 1998 __u32 type_id; local 1860 btf_dump_int_data(struct btf_dump *d, const struct btf_type *t, __u32 type_id, const void *data, __u8 bits_offset) argument 1958 btf_dump_float_data(struct btf_dump *d, const struct btf_type *t, __u32 type_id, const void *data) argument [all...] |
H A D | libbpf_internal.h | 234 struct btf_type *btf_type_by_id(const struct btf *btf, __u32 type_id); 500 __u32 type_id; member in struct:bpf_func_info_min 512 typedef int (*type_id_visit_fn)(__u32 *type_id, void *ctx);
|
H A D | linker.c | 934 static int check_btf_type_id(__u32 *type_id, void *ctx) argument 938 if (*type_id >= btf__type_cnt(btf)) 2237 static int remap_type_id(__u32 *type_id, void *ctx) argument 2240 int new_id = id_map[*type_id]; 2243 if (new_id == 0 && *type_id != 0) { 2244 pr_warn("failed to find new ID mapping for original BTF type ID %u\n", *type_id); 2248 *type_id = id_map[*type_id]; 2487 dst_rec->type_id = obj->btf_type_map[dst_rec->type_id]; [all...] |
/linux-master/kernel/bpf/preload/iterators/ |
H A D | iterators.bpf.c | 114 get_name(aux->btf, aux->func_info[0].type_id, aux->name),
|
/linux-master/arch/x86/events/intel/ |
H A D | uncore_discovery.h | 158 intel_uncore_generic_init_uncores(enum uncore_access_type type_id, int num_extra);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_global_funcs.c | 99 fn_t = btf__type_by_id(btf, rec->type_id);
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vcap_ag_api.c | 2290 .type_id = 0, 2295 .type_id = 2, 2303 .type_id = 0, 2308 .type_id = 3, 2313 .type_id = 4, 2318 .type_id = 5, 2323 .type_id = 6, 2328 .type_id = 1, 2336 .type_id = 0, 2344 .type_id [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | btf_helpers.c | 115 fprintf(out, " type_id=%u", t->type); 120 fprintf(out, " type_id=%u index_type_id=%u nr_elems=%u", 134 fprintf(out, "\n\t'%s' type_id=%u bits_offset=%u", 173 fprintf(out, " type_id=%u linkage=%s", t->type, btf_func_linkage_str(t)); 180 fprintf(out, "\n\t'%s' type_id=%u", 186 fprintf(out, " type_id=%u, linkage=%s", 203 fprintf(out, " type_id=%u component_idx=%d", 216 const char *btf_type_raw_dump(const struct btf *btf, int type_id) argument 227 fprintf_btf_type_raw(buf_file, btf, type_id);
|
/linux-master/tools/perf/tests/ |
H A D | sigtrap.c | 76 static const struct btf_member *__btf_type__find_member_by_name(int type_id, const char *member_name) argument 78 const struct btf_type *t = btf__type_by_id(btf, type_id);
|
/linux-master/kernel/bpf/ |
H A D | bpf_struct_ops.c | 318 s32 type_id, value_id; local 336 type_id = btf_find_by_name_kind(btf, st_ops->name, 338 if (type_id < 0) { 343 t = btf_type_by_id(btf, type_id); 367 st_ops_desc->type_id = type_id; 700 prog->aux->attach_btf_id != st_ops_desc->type_id ||
|
/linux-master/tools/bpf/bpftool/ |
H A D | xlated_dumper.c | 249 btf_dumper_type_only(btf, record->type_id, 330 btf_dumper_type_only(btf, record->type_id, 399 btf_dumper_type_only(btf, record->type_id,
|
H A D | main.h | 217 * @type_id: index in btf->types array. this points to the type to be dumped 222 int btf_dumper_type(const struct btf_dumper *d, __u32 type_id,
|
/linux-master/net/tipc/ |
H A D | bearer.c | 97 if (media_info_array[i]->type_id == type) 461 b->bcast_addr.media_id = b->media->type_id; 847 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) 854 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) { 1089 if (b->media->type_id != TIPC_MEDIA_TYPE_UDP) { 1149 if (b->media->type_id != TIPC_MEDIA_TYPE_UDP) { 1209 if (media->type_id == TIPC_MEDIA_TYPE_UDP) 1344 if (m->type_id != TIPC_MEDIA_TYPE_UDP) {
|
H A D | bearer.h | 100 * @type_id: TIPC media identifier 126 u32 type_id; member in struct:tipc_media
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | falcon_boards.c | 744 u8 type_id = FALCON_BOARD_TYPE(revision_info); local 751 if (board_types[i].id == type_id) 758 type_id);
|
/linux-master/drivers/usb/serial/ |
H A D | xr_serial.c | 1017 enum xr_type_id type_id; local 1020 type_id = (int)(unsigned long)usb_get_serial_data(port->serial); 1021 type = &xr_types[type_id]; 1030 if (type_id == XR21V141X)
|