Searched refs:uprog (Results 1 – 1 of 1) sorted by relevance
577 static struct bpf_prog *get_filter(struct sock_fprog *uprog) in get_filter() argument583 if (!uprog->len) in get_filter()587 fprog.len = uprog->len; in get_filter()588 fprog.filter = memdup_user(uprog->filter, in get_filter()589 uprog->len * sizeof(struct sock_filter)); in get_filter()601 struct sock_fprog uprog; in ppp_get_filter() local603 if (copy_from_user(&uprog, p, sizeof(struct sock_fprog))) in ppp_get_filter()605 return get_filter(&uprog); in ppp_get_filter()620 struct sock_fprog uprog; in compat_ppp_get_filter() local624 uprog.len = uprog32.len; in compat_ppp_get_filter()[all …]