Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A 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()
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()
164 if (!ulp_ops) in tcp_set_ulp()
[all …]
H A Dtcp_diag.c86 const struct tcp_ulp_ops *ulp_ops) in tcp_diag_put_ulp() argument
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()
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()
171 if (ulp_ops) { in tcp_diag_get_aux_size()
174 if (ulp_ops->get_info_size) in tcp_diag_get_aux_size()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dcnic.c355 ulp_ops = rcu_dereference(cp->ulp_ops[CNIC_ULP_ISCSI]); in cnic_send_nlmsg()
356 if (ulp_ops) in cnic_send_nlmsg()
593 rcu_assign_pointer(cp->ulp_ops[ulp_type], ulp_ops); in cnic_register_device()
1429 ulp_ops = rcu_dereference(cp->ulp_ops[ulp_type]); in cnic_reply_bnx2x_kcqes()
2868 ulp_ops = rcu_dereference(cp->ulp_ops[ulp_type]); in service_kcqes()
3227 if (!ulp_ops || !ulp_ops->cnic_start) { in cnic_ulp_start()
3250 if (ulp_ops && ulp_ops->cnic_get_stats) in cnic_copy_ulp_stats()
3335 if (!ulp_ops || !ulp_ops->cnic_init) { in cnic_ulp_init()
3359 if (!ulp_ops || !ulp_ops->cnic_exit) { in cnic_ulp_exit()
3913 ulp_ops = rcu_dereference(cp->ulp_ops[ulp_type]); in cnic_cm_upcall()
[all …]
H A Dcnic_if.h384 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops);
H A Dcnic.h217 struct cnic_ulp_ops __rcu *ulp_ops[MAX_CNIC_ULP_TYPE]; member
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A 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()
248 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_stop()
270 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_restart()
H A 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,