Lines Matching refs:obj
4 static void test_global_data_number(struct bpf_object *obj, __u32 duration) in test_global_data_number() argument
9 map_fd = bpf_find_map(__func__, obj, "result_number"); in test_global_data_number()
39 static void test_global_data_string(struct bpf_object *obj, __u32 duration) in test_global_data_string() argument
44 map_fd = bpf_find_map(__func__, obj, "result_string"); in test_global_data_string()
74 static void test_global_data_struct(struct bpf_object *obj, __u32 duration) in test_global_data_struct() argument
79 map_fd = bpf_find_map(__func__, obj, "result_struct"); in test_global_data_struct()
102 static void test_global_data_rdonly(struct bpf_object *obj, __u32 duration) in test_global_data_rdonly() argument
108 map = bpf_object__find_map_by_name(obj, "test_glo.rodata"); in test_global_data_rdonly()
128 struct bpf_object *obj; in test_global_data() local
131 err = bpf_prog_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd); in test_global_data()
141 test_global_data_number(obj, duration); in test_global_data()
142 test_global_data_string(obj, duration); in test_global_data()
143 test_global_data_struct(obj, duration); in test_global_data()
144 test_global_data_rdonly(obj, duration); in test_global_data()
146 bpf_object__close(obj); in test_global_data()