Searched refs:bpf_prog_size (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/net/core/ |
D | filter.c | 1203 u32 filter_size = bpf_prog_size(fp->prog->len); in sk_filter_uncharge() 1214 u32 filter_size = bpf_prog_size(fp->prog->len); in __sk_filter_charge() 1271 fp = bpf_prog_realloc(old_fp, bpf_prog_size(new_len), 0); in bpf_migrate_filter() 1366 fp = bpf_prog_alloc(bpf_prog_size(fprog->len), 0); in bpf_prog_create() 1413 fp = bpf_prog_alloc(bpf_prog_size(fprog->len), 0); in bpf_prog_create_from_user() 1491 prog = bpf_prog_alloc(bpf_prog_size(fprog->len), 0); in __get_filter() 1550 if (bpf_prog_size(prog->len) > sysctl_optmem_max) in sk_reuseport_attach_filter() 1617 if (bpf_prog_size(prog->len) > sysctl_optmem_max) { in sk_reuseport_attach_bpf()
|
/kernel/linux/linux-5.10/include/linux/ |
D | filter.h | 774 static inline unsigned int bpf_prog_size(unsigned int proglen) in bpf_prog_size() function
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | core.c | 468 prog_adj = bpf_prog_realloc(prog, bpf_prog_size(insn_adj_cnt), in bpf_patch_insn_single()
|
D | syscall.c | 2169 prog = bpf_prog_alloc(bpf_prog_size(attr->insn_cnt), GFP_USER); in bpf_prog_load()
|
D | verifier.c | 11199 func[i] = bpf_prog_alloc_no_stats(bpf_prog_size(len), GFP_USER); in jit_subprogs()
|
/kernel/linux/linux-5.10/lib/ |
D | test_bpf.c | 6595 fp = bpf_prog_alloc(bpf_prog_size(flen), 0); in generate_filter()
|