Home
last modified time | relevance | path

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

/linux/net/core/
A Dsock_diag.c94 flen = bpf_classic_proglen(fprog); in sock_diag_put_filterinfo()
A Dfilter.c1133 unsigned int fsize = bpf_classic_proglen(fprog); in bpf_prog_store_orig_filter()
1360 unsigned int fsize = bpf_classic_proglen(fprog); in bpf_prog_create()
1406 unsigned int fsize = bpf_classic_proglen(fprog); in bpf_prog_create_from_user()
1481 unsigned int fsize = bpf_classic_proglen(fprog); in __get_filter()
10183 if (copy_to_user(ubuf, fprog->filter, bpf_classic_proglen(fprog))) in sk_get_filter()
/linux/include/linux/
A Dfilter.h874 #define bpf_classic_proglen(fprog) (fprog->len * sizeof(fprog->filter[0])) macro
/linux/kernel/
A Dseccomp.c2077 if (copy_to_user(data, fprog->filter, bpf_classic_proglen(fprog))) in seccomp_get_filter()

Completed in 30 milliseconds