Home
last modified time | relevance | path

Searched refs:bpf_classic_proglen (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/net/core/
Dsock_diag.c98 flen = bpf_classic_proglen(fprog); in sock_diag_put_filterinfo()
Dfilter.c1138 unsigned int fsize = bpf_classic_proglen(fprog); in bpf_prog_store_orig_filter()
1365 unsigned int fsize = bpf_classic_proglen(fprog); in bpf_prog_create()
1411 unsigned int fsize = bpf_classic_proglen(fprog); in bpf_prog_create_from_user()
1486 unsigned int fsize = bpf_classic_proglen(fprog); in __get_filter()
11090 if (copy_to_sockptr(optval, fprog->filter, bpf_classic_proglen(fprog))) in sk_get_filter()
/linux-6.6.21/include/linux/
Dfilter.h840 #define bpf_classic_proglen(fprog) (fprog->len * sizeof(fprog->filter[0])) macro
/linux-6.6.21/kernel/
Dseccomp.c2188 if (copy_to_user(data, fprog->filter, bpf_classic_proglen(fprog))) in seccomp_get_filter()