Lines Matching refs:insn_cnt
36 attr.insn_cnt = (__u32)ARRAY_SIZE(insns);
63 int ret, map, insn_cnt = ARRAY_SIZE(insns);
75 ret = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", insns, insn_cnt, &prog_opts);
234 int fd, insn_cnt = ARRAY_SIZE(insns);
241 fd = bpf_prog_load(BPF_PROG_TYPE_CGROUP_SOCK, NULL, "GPL", insns, insn_cnt, &opts);
259 int fd, insn_cnt = ARRAY_SIZE(insns);
261 fd = bpf_prog_load(BPF_PROG_TYPE_TRACEPOINT, NULL, "GPL", insns, insn_cnt, &opts);
279 int ret, map, prog, insn_cnt = ARRAY_SIZE(insns);
289 prog = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", insns, insn_cnt, &prog_opts);
437 int ret, insn_cnt = ARRAY_SIZE(insns);
439 ret = bpf_prog_load(BPF_PROG_TYPE_TRACEPOINT, NULL, "GPL", insns, insn_cnt, &opts);
491 int prog_fd, btf_fd, insn_cnt = ARRAY_SIZE(insns);
503 "GPL", insns, insn_cnt, &opts);
528 int insn_cnt = ARRAY_SIZE(insns);
540 prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "global_reloc", "GPL", insns, insn_cnt, &prog_opts);