Home
last modified time | relevance | path

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

/linux/net/core/
H A Dsock_diag.c99 flen = bpf_classic_proglen(fprog); in sock_diag_put_filterinfo()
H A Dfilter.c1145 unsigned int fsize = bpf_classic_proglen(fprog); in bpf_prog_store_orig_filter()
1372 unsigned int fsize = bpf_classic_proglen(fprog); in bpf_prog_create()
1418 unsigned int fsize = bpf_classic_proglen(fprog); in bpf_prog_create_from_user()
1493 unsigned int fsize = bpf_classic_proglen(fprog); in __get_filter()
11202 if (copy_to_sockptr(optval, fprog->filter, bpf_classic_proglen(fprog))) in sk_get_filter()
/linux/include/linux/
H A Dfilter.h1039 #define bpf_classic_proglen(fprog) (fprog->len * sizeof(fprog->filter[0])) macro
/linux/kernel/
H A Dseccomp.c2206 if (copy_to_user(data, fprog->filter, bpf_classic_proglen(fprog))) in seccomp_get_filter()