Home
last modified time | relevance | path

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

/openbmc/linux/net/core/
H A Dsock_diag.c98 flen = bpf_classic_proglen(fprog); in sock_diag_put_filterinfo()
H A 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()
11118 if (copy_to_sockptr(optval, fprog->filter, bpf_classic_proglen(fprog))) in sk_get_filter()
/openbmc/linux/include/linux/
H A Dfilter.h843 #define bpf_classic_proglen(fprog) (fprog->len * sizeof(fprog->filter[0])) macro
/openbmc/linux/kernel/
H A Dseccomp.c2188 if (copy_to_user(data, fprog->filter, bpf_classic_proglen(fprog))) in seccomp_get_filter()