Home
last modified time | relevance | path

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

/lib/
Dtest_bpf.c9108 static void __init destroy_tail_call_tests(struct bpf_array *progs) in destroy_tail_call_tests() argument
9113 if (progs->ptrs[i]) in destroy_tail_call_tests()
9114 bpf_prog_free(progs->ptrs[i]); in destroy_tail_call_tests()
9115 kfree(progs); in destroy_tail_call_tests()
9121 struct bpf_array *progs; in prepare_tail_call_tests() local
9125 progs = kzalloc(sizeof(*progs) + (ntests + 1) * sizeof(progs->ptrs[0]), in prepare_tail_call_tests()
9127 if (!progs) in prepare_tail_call_tests()
9166 insn[0].imm = (u32)(long)progs; in prepare_tail_call_tests()
9167 insn[1].imm = ((u64)(long)progs) >> 32; in prepare_tail_call_tests()
9185 progs->ptrs[which] = fp; in prepare_tail_call_tests()
[all …]