Searched refs:bpf_classic_proglen (Results 1 – 4 of 4) sorted by relevance
98 flen = bpf_classic_proglen(fprog); in sock_diag_put_filterinfo()
1138 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()
840 #define bpf_classic_proglen(fprog) (fprog->len * sizeof(fprog->filter[0])) macro
2188 if (copy_to_user(data, fprog->filter, bpf_classic_proglen(fprog))) in seccomp_get_filter()