Searched refs:datasec_id (Results 1 – 2 of 2) sorted by relevance
1162 __s32 type_id, datasec_id; in bpf_object__init_struct_ops_maps() local1171 datasec_id = btf__find_by_name_kind(btf, STRUCT_OPS_SEC, in bpf_object__init_struct_ops_maps()1173 if (datasec_id < 0) { in bpf_object__init_struct_ops_maps()1179 datasec = btf__type_by_id(btf, datasec_id); in bpf_object__init_struct_ops_maps()
12565 s32 datasec_id; in check_pseudo_btf_id() local12607 datasec_id = find_btf_percpu_datasec(btf); in check_pseudo_btf_id()12608 if (datasec_id > 0) { in check_pseudo_btf_id()12609 datasec = btf_type_by_id(btf, datasec_id); in check_pseudo_btf_id()