Lines Matching defs:progs
294 struct bpf_program **progs;
612 struct bpf_program *prog, *progs;
619 progs = obj->programs;
648 progs = libbpf_reallocarray(progs, nr_progs + 1, sizeof(*progs));
649 if (!progs) {
659 obj->programs = progs;
661 prog = &progs[nr_progs];
868 prog = st_ops->progs[i];
1004 st_ops->progs = calloc(btf_vlen(type), sizeof(*st_ops->progs));
1007 if (!st_ops->data || !st_ops->progs || !st_ops->kern_func_off)
6323 * that can be called from either entry progs or other subprogs) gets their
6337 * untouched, as they need to be in unmodified state for subsequent main progs
6349 * They might still be used from other main progs later.
7940 zfree(&map->st_ops->progs);
8556 /* Collect the reloc from ELF and populate the st_ops->progs[] */
8660 st_ops->progs[member_idx] = prog;
9873 struct bpf_program *prog = st_ops->progs[i];
10835 struct bpf_program **prog = s->progs[i].prog;
10836 const char *name = s->progs[i].name;
10906 struct bpf_program *prog = *s->progs[i].prog;
10907 struct bpf_link **link = s->progs[i].link;
10933 struct bpf_link **link = s->progs[i].link;
10945 if (s->progs)
10950 free(s->progs);