Lines Matching full:ulp
36 const struct tcp_ulp_ops *ulp = NULL; in __tcp_ulp_find_autoload() local
39 ulp = tcp_ulp_find(name); in __tcp_ulp_find_autoload()
42 if (!ulp && capable(CAP_NET_ADMIN)) { in __tcp_ulp_find_autoload()
44 request_module("tcp-ulp-%s", name); in __tcp_ulp_find_autoload()
46 ulp = tcp_ulp_find(name); in __tcp_ulp_find_autoload()
49 if (!ulp || !try_module_get(ulp->owner)) in __tcp_ulp_find_autoload()
50 ulp = NULL; in __tcp_ulp_find_autoload()
53 return ulp; in __tcp_ulp_find_autoload()
59 int tcp_register_ulp(struct tcp_ulp_ops *ulp) in tcp_register_ulp() argument
64 if (tcp_ulp_find(ulp->name)) in tcp_register_ulp()
67 list_add_tail_rcu(&ulp->list, &tcp_ulp_list); in tcp_register_ulp()
74 void tcp_unregister_ulp(struct tcp_ulp_ops *ulp) in tcp_unregister_ulp() argument
77 list_del_rcu(&ulp->list); in tcp_unregister_ulp()