Lines Matching defs:bpf_test
90 struct bpf_test { struct
91 const char *descr;
92 struct bpf_insn insns[MAX_INSNS];
93 struct bpf_insn *fill_insns;
105 struct bpf_insn expected_insns[MAX_EXPECTED_INSNS];
110 struct bpf_insn unexpected_insns[MAX_UNEXPECTED_INSNS];
111 int fixup_map_hash_8b[MAX_FIXUPS];
112 int fixup_map_hash_48b[MAX_FIXUPS];
113 int fixup_map_hash_16b[MAX_FIXUPS];
114 int fixup_map_array_48b[MAX_FIXUPS];
115 int fixup_map_sockmap[MAX_FIXUPS];
116 int fixup_map_sockhash[MAX_FIXUPS];
117 int fixup_map_xskmap[MAX_FIXUPS];
118 int fixup_map_stacktrace[MAX_FIXUPS];
119 int fixup_prog1[MAX_FIXUPS];
120 int fixup_prog2[MAX_FIXUPS];
121 int fixup_map_in_map[MAX_FIXUPS];
122 int fixup_cgroup_storage[MAX_FIXUPS];
123 int fixup_percpu_cgroup_storage[MAX_FIXUPS];
124 int fixup_map_spin_lock[MAX_FIXUPS];
125 int fixup_map_array_ro[MAX_FIXUPS];
126 int fixup_map_array_wo[MAX_FIXUPS];
127 int fixup_map_array_small[MAX_FIXUPS];
151 void (*fill_helper)(struct bpf_test *self); argument
153 #define bpf_testdata_struct_t \ argument
162 bpf_testdata_struct_t; argument
165 enum bpf_attach_type expected_attach_type;
166 const char *kfunc;
167 struct bpf_func_info func_info[MAX_FUNC_INFOS];
168 int func_info_cnt;
192 static void bpf_fill_ld_abs_vlan_push_pop(struct bpf_test *self) in bpf_fill_ld_abs_vlan_push_pop() argument