Searched refs:bpf_prog_size (Results 1 – 6 of 6) sorted by relevance
/linux/net/core/ |
A D | filter.c | 1204 u32 filter_size = bpf_prog_size(fp->prog->len); in sk_filter_uncharge() 1215 u32 filter_size = bpf_prog_size(fp->prog->len); in __sk_filter_charge() 1272 fp = bpf_prog_realloc(old_fp, bpf_prog_size(new_len), 0); in bpf_migrate_filter() 1367 fp = bpf_prog_alloc(bpf_prog_size(fprog->len), 0); in bpf_prog_create() 1414 fp = bpf_prog_alloc(bpf_prog_size(fprog->len), 0); in bpf_prog_create_from_user() 1492 prog = bpf_prog_alloc(bpf_prog_size(fprog->len), 0); in __get_filter() 1551 if (bpf_prog_size(prog->len) > sysctl_optmem_max) in sk_reuseport_attach_filter() 1618 if (bpf_prog_size(prog->len) > sysctl_optmem_max) { in sk_reuseport_attach_bpf()
|
/linux/include/linux/ |
A D | filter.h | 824 static inline unsigned int bpf_prog_size(unsigned int proglen) in bpf_prog_size() function
|
/linux/kernel/bpf/ |
A D | core.c | 471 prog_adj = bpf_prog_realloc(prog, bpf_prog_size(insn_adj_cnt), in bpf_patch_insn_single()
|
A D | syscall.c | 2290 prog = bpf_prog_alloc(bpf_prog_size(attr->insn_cnt), GFP_USER); in bpf_prog_load()
|
A D | verifier.c | 12641 func[i] = bpf_prog_alloc_no_stats(bpf_prog_size(len), GFP_USER); in jit_subprogs()
|
/linux/lib/ |
A D | test_bpf.c | 14204 fp = bpf_prog_alloc(bpf_prog_size(flen), 0); in generate_filter() 14776 fp = bpf_prog_alloc(bpf_prog_size(len), 0); in prepare_tail_call_tests()
|
Completed in 80 milliseconds