proglen 553 arch/powerpc/net/bpf_jit_comp.c unsigned int proglen; proglen 635 arch/powerpc/net/bpf_jit_comp.c proglen = cgctx.idx * 4; proglen 636 arch/powerpc/net/bpf_jit_comp.c alloclen = proglen + FUNCTION_DESCR_SIZE; proglen 653 arch/powerpc/net/bpf_jit_comp.c proglen - (cgctx.idx * 4), cgctx.seen); proglen 660 arch/powerpc/net/bpf_jit_comp.c bpf_jit_dump(flen, proglen, pass, code_base); proglen 662 arch/powerpc/net/bpf_jit_comp.c bpf_flush_icache(code_base, code_base + (proglen/4)); proglen 1066 arch/powerpc/net/bpf_jit_comp64.c u32 proglen; proglen 1077 arch/powerpc/net/bpf_jit_comp64.c u32 proglen; proglen 1120 arch/powerpc/net/bpf_jit_comp64.c proglen = jit_data->proglen; proglen 1121 arch/powerpc/net/bpf_jit_comp64.c alloclen = proglen + FUNCTION_DESCR_SIZE; proglen 1165 arch/powerpc/net/bpf_jit_comp64.c proglen = cgctx.idx * 4; proglen 1166 arch/powerpc/net/bpf_jit_comp64.c alloclen = proglen + FUNCTION_DESCR_SIZE; proglen 1204 arch/powerpc/net/bpf_jit_comp64.c proglen - (cgctx.idx * 4), cgctx.seen); proglen 1213 arch/powerpc/net/bpf_jit_comp64.c bpf_jit_dump(flen, proglen, pass, code_base); proglen 1235 arch/powerpc/net/bpf_jit_comp64.c jit_data->proglen = proglen; proglen 328 arch/sparc/net/bpf_jit_comp_32.c unsigned int cleanup_addr, proglen, oldproglen = 0; proglen 345 arch/sparc/net/bpf_jit_comp_32.c for (proglen = 0, i = 0; i < flen; i++) { proglen 346 arch/sparc/net/bpf_jit_comp_32.c proglen += 64; proglen 347 arch/sparc/net/bpf_jit_comp_32.c addrs[i] = proglen; proglen 349 arch/sparc/net/bpf_jit_comp_32.c cleanup_addr = proglen; /* epilogue address */ proglen 355 arch/sparc/net/bpf_jit_comp_32.c proglen = 0; proglen 713 arch/sparc/net/bpf_jit_comp_32.c if (unlikely(proglen + ilen > oldproglen)) { proglen 719 arch/sparc/net/bpf_jit_comp_32.c memcpy(image + proglen, temp, ilen); proglen 721 arch/sparc/net/bpf_jit_comp_32.c proglen += ilen; proglen 722 arch/sparc/net/bpf_jit_comp_32.c addrs[i] = proglen; proglen 728 arch/sparc/net/bpf_jit_comp_32.c cleanup_addr = proglen - 8; /* jmpl; mov r_A,%o0; */ proglen 733 arch/sparc/net/bpf_jit_comp_32.c if (proglen != oldproglen) proglen 735 arch/sparc/net/bpf_jit_comp_32.c proglen, oldproglen); proglen 738 arch/sparc/net/bpf_jit_comp_32.c if (proglen == oldproglen) { proglen 739 arch/sparc/net/bpf_jit_comp_32.c image = module_alloc(proglen); proglen 743 arch/sparc/net/bpf_jit_comp_32.c oldproglen = proglen; proglen 747 arch/sparc/net/bpf_jit_comp_32.c bpf_jit_dump(flen, proglen, pass + 1, image); proglen 401 arch/x86/net/bpf_jit_comp.c int proglen = 0; proglen 1024 arch/x86/net/bpf_jit_comp.c ctx->cleanup_addr = proglen; proglen 1053 arch/x86/net/bpf_jit_comp.c if (unlikely(proglen + ilen > oldproglen)) { proglen 1057 arch/x86/net/bpf_jit_comp.c memcpy(image + proglen, temp, ilen); proglen 1059 arch/x86/net/bpf_jit_comp.c proglen += ilen; proglen 1060 arch/x86/net/bpf_jit_comp.c addrs[i] = proglen; proglen 1063 arch/x86/net/bpf_jit_comp.c return proglen; proglen 1070 arch/x86/net/bpf_jit_comp.c int proglen; proglen 1079 arch/x86/net/bpf_jit_comp.c int proglen, oldproglen = 0; proglen 1115 arch/x86/net/bpf_jit_comp.c oldproglen = jit_data->proglen; proglen 1131 arch/x86/net/bpf_jit_comp.c for (proglen = 0, i = 0; i <= prog->len; i++) { proglen 1132 arch/x86/net/bpf_jit_comp.c proglen += 64; proglen 1133 arch/x86/net/bpf_jit_comp.c addrs[i] = proglen; proglen 1135 arch/x86/net/bpf_jit_comp.c ctx.cleanup_addr = proglen; proglen 1145 arch/x86/net/bpf_jit_comp.c proglen = do_jit(prog, addrs, image, oldproglen, &ctx); proglen 1146 arch/x86/net/bpf_jit_comp.c if (proglen <= 0) { proglen 1155 arch/x86/net/bpf_jit_comp.c if (proglen != oldproglen) { proglen 1157 arch/x86/net/bpf_jit_comp.c proglen, oldproglen); proglen 1162 arch/x86/net/bpf_jit_comp.c if (proglen == oldproglen) { proglen 1163 arch/x86/net/bpf_jit_comp.c header = bpf_jit_binary_alloc(proglen, &image, proglen 1170 arch/x86/net/bpf_jit_comp.c oldproglen = proglen; proglen 1175 arch/x86/net/bpf_jit_comp.c bpf_jit_dump(prog->len, proglen, pass + 1, image); proglen 1183 arch/x86/net/bpf_jit_comp.c jit_data->proglen = proglen; proglen 1189 arch/x86/net/bpf_jit_comp.c prog->jited_len = proglen; proglen 1470 arch/x86/net/bpf_jit_comp32.c int proglen = 0; proglen 2258 arch/x86/net/bpf_jit_comp32.c ctx->cleanup_addr = proglen; proglen 2281 arch/x86/net/bpf_jit_comp32.c if (unlikely(proglen + ilen > oldproglen)) { proglen 2285 arch/x86/net/bpf_jit_comp32.c memcpy(image + proglen, temp, ilen); proglen 2287 arch/x86/net/bpf_jit_comp32.c proglen += ilen; proglen 2288 arch/x86/net/bpf_jit_comp32.c addrs[i] = proglen; proglen 2291 arch/x86/net/bpf_jit_comp32.c return proglen; proglen 2303 arch/x86/net/bpf_jit_comp32.c int proglen, oldproglen = 0; proglen 2336 arch/x86/net/bpf_jit_comp32.c for (proglen = 0, i = 0; i < prog->len; i++) { proglen 2337 arch/x86/net/bpf_jit_comp32.c proglen += 64; proglen 2338 arch/x86/net/bpf_jit_comp32.c addrs[i] = proglen; proglen 2340 arch/x86/net/bpf_jit_comp32.c ctx.cleanup_addr = proglen; proglen 2349 arch/x86/net/bpf_jit_comp32.c proglen = do_jit(prog, addrs, image, oldproglen, &ctx); proglen 2350 arch/x86/net/bpf_jit_comp32.c if (proglen <= 0) { proglen 2359 arch/x86/net/bpf_jit_comp32.c if (proglen != oldproglen) { proglen 2361 arch/x86/net/bpf_jit_comp32.c proglen, oldproglen); proglen 2366 arch/x86/net/bpf_jit_comp32.c if (proglen == oldproglen) { proglen 2367 arch/x86/net/bpf_jit_comp32.c header = bpf_jit_binary_alloc(proglen, &image, proglen 2374 arch/x86/net/bpf_jit_comp32.c oldproglen = proglen; proglen 2379 arch/x86/net/bpf_jit_comp32.c bpf_jit_dump(prog->len, proglen, pass + 1, image); proglen 2385 arch/x86/net/bpf_jit_comp32.c prog->jited_len = proglen; proglen 719 include/linux/filter.h static inline unsigned int bpf_prog_size(unsigned int proglen) proglen 722 include/linux/filter.h offsetof(struct bpf_prog, insns[proglen])); proglen 944 include/linux/filter.h bpf_jit_binary_alloc(unsigned int proglen, u8 **image_ptr, proglen 960 include/linux/filter.h static inline void bpf_jit_dump(unsigned int flen, unsigned int proglen, proglen 964 include/linux/filter.h proglen, pass, image, current->comm, task_pid_nr(current)); proglen 968 include/linux/filter.h 16, 1, image, proglen, false); proglen 796 kernel/bpf/core.c bpf_jit_binary_alloc(unsigned int proglen, u8 **image_ptr, proglen 807 kernel/bpf/core.c size = round_up(proglen + sizeof(*hdr) + 128, PAGE_SIZE); proglen 822 kernel/bpf/core.c hole = min_t(unsigned int, size - (proglen + sizeof(*hdr)), proglen 175 tools/bpf/bpf_jit_disasm.c unsigned int proglen; proglen 204 tools/bpf/bpf_jit_disasm.c &flen, &proglen, &pass, &base); proglen 209 tools/bpf/bpf_jit_disasm.c if (proglen > 1000000) { proglen 210 tools/bpf/bpf_jit_disasm.c printf("proglen of %d too big, stopping\n", proglen); proglen 214 tools/bpf/bpf_jit_disasm.c image = malloc(proglen); proglen 219 tools/bpf/bpf_jit_disasm.c memset(image, 0, proglen); proglen 222 tools/bpf/bpf_jit_disasm.c while ((ptr = strtok(tmp, "\n")) != NULL && ulen < proglen) { proglen 236 tools/bpf/bpf_jit_disasm.c if (ulen >= proglen) proglen 242 tools/bpf/bpf_jit_disasm.c assert(ulen == proglen); proglen 244 tools/bpf/bpf_jit_disasm.c proglen, pass, flen);