Home
last modified time | relevance | path

Searched refs:ulp_ops (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/net/ipv4/
Dtcp_ulp.c87 struct tcp_ulp_ops *ulp_ops; in tcp_get_available_ulp() local
92 list_for_each_entry_rcu(ulp_ops, &tcp_ulp_list, list) { in tcp_get_available_ulp()
95 offs == 0 ? "" : " ", ulp_ops->name); in tcp_get_available_ulp()
130 static int __tcp_set_ulp(struct sock *sk, const struct tcp_ulp_ops *ulp_ops) in __tcp_set_ulp() argument
143 if (!ulp_ops->clone && sk->sk_state == TCP_LISTEN) in __tcp_set_ulp()
146 err = ulp_ops->init(sk); in __tcp_set_ulp()
150 icsk->icsk_ulp_ops = ulp_ops; in __tcp_set_ulp()
153 module_put(ulp_ops->owner); in __tcp_set_ulp()
159 const struct tcp_ulp_ops *ulp_ops; in tcp_set_ulp() local
163 ulp_ops = __tcp_ulp_find_autoload(name); in tcp_set_ulp()
[all …]
Dtcp_diag.c86 const struct tcp_ulp_ops *ulp_ops) in tcp_diag_put_ulp() argument
95 err = nla_put_string(skb, INET_ULP_INFO_NAME, ulp_ops->name); in tcp_diag_put_ulp()
99 if (ulp_ops->get_info) in tcp_diag_put_ulp()
100 err = ulp_ops->get_info(sk, skb); in tcp_diag_put_ulp()
133 const struct tcp_ulp_ops *ulp_ops; in tcp_diag_get_aux() local
135 ulp_ops = icsk->icsk_ulp_ops; in tcp_diag_get_aux()
136 if (ulp_ops) in tcp_diag_get_aux()
137 err = tcp_diag_put_ulp(skb, sk, ulp_ops); in tcp_diag_get_aux()
168 const struct tcp_ulp_ops *ulp_ops; in tcp_diag_get_aux_size() local
170 ulp_ops = icsk->icsk_ulp_ops; in tcp_diag_get_aux_size()
[all …]
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dcnic.c178 static inline void ulp_get(struct cnic_ulp_ops *ulp_ops) in ulp_get() argument
180 atomic_inc(&ulp_ops->ref_count); in ulp_get()
183 static inline void ulp_put(struct cnic_ulp_ops *ulp_ops) in ulp_put() argument
185 atomic_dec(&ulp_ops->ref_count); in ulp_put()
325 struct cnic_ulp_ops *ulp_ops; in cnic_send_nlmsg() local
355 ulp_ops = rcu_dereference(cp->ulp_ops[CNIC_ULP_ISCSI]); in cnic_send_nlmsg()
356 if (ulp_ops) in cnic_send_nlmsg()
357 rc = ulp_ops->iscsi_nl_send_msg( in cnic_send_nlmsg()
393 if (!rcu_access_pointer(cp->ulp_ops[CNIC_ULP_L4])) { in cnic_iscsi_nl_msg_recv()
473 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops) in cnic_register_driver() argument
[all …]
Dcnic_if.h384 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops);
Dcnic.h217 struct cnic_ulp_ops __rcu *ulp_ops[MAX_CNIC_ULP_TYPE]; member
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c56 struct bnxt_ulp_ops *ulp_ops, in bnxt_register_dev() argument
74 rcu_assign_pointer(ulp->ulp_ops, ulp_ops); in bnxt_register_dev()
99 RCU_INIT_POINTER(ulp->ulp_ops, NULL); in bnxt_unregister_dev()
245 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_stop()
267 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_restart()
Dbnxt_ulp.h45 struct bnxt_ulp_ops __rcu *ulp_ops; member
105 int bnxt_register_dev(struct bnxt_en_dev *edev, struct bnxt_ulp_ops *ulp_ops,