Home
last modified time | relevance | path

Searched refs:tobj (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/bpf/
Dtest_loader.c896 struct bpf_object *tobj; in run_subtest() local
925 tobj = bpf_object__open_mem(obj_bytes, obj_byte_cnt, open_opts); in run_subtest()
926 if (!ASSERT_OK_PTR(tobj, "obj_open_mem")) /* shouldn't happen */ in run_subtest()
930 bpf_object__for_each_program(tprog_iter, tobj) { in run_subtest()
948 prepare_case(tester, spec, tobj, tprog); in run_subtest()
955 bpf_object__for_each_map(map, tobj) in run_subtest()
958 err = bpf_object__load(tobj); in run_subtest()
1009 bpf_object__for_each_map(map, tobj) { in run_subtest()
1027 err = tester->pre_execution_cb(tobj); in run_subtest()
1048 bpf_object__close(tobj); in run_subtest()
Dveristat.c1062 struct bpf_object *obj = NULL, *tobj; in process_obj() local
1115 tobj = bpf_object__open_file(filename, &opts); in process_obj()
1116 if (!tobj) { in process_obj()
1123 bpf_object__for_each_program(tprog, tobj) { in process_obj()
1134 process_prog(filename, tobj, lprog); in process_obj()
1135 bpf_object__close(tobj); in process_obj()