Home
last modified time | relevance | path

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

/linux/net/ipv4/
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()
130 static int __tcp_set_ulp(struct sock *sk, const struct tcp_ulp_ops *ulp_ops) in __tcp_set_ulp() argument
139 err = ulp_ops->init(sk); in __tcp_set_ulp()
143 icsk->icsk_ulp_ops = ulp_ops; in __tcp_set_ulp()
146 module_put(ulp_ops->owner); in __tcp_set_ulp()
152 const struct tcp_ulp_ops *ulp_ops; in tcp_set_ulp() local
156 ulp_ops = __tcp_ulp_find_autoload(name); in tcp_set_ulp()
157 if (!ulp_ops) in tcp_set_ulp()
[all …]
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 …]
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ulp.c40 if (rcu_access_pointer(ulp->ulp_ops)) { in bnxt_register_dev()
55 rcu_assign_pointer(ulp->ulp_ops, ulp_ops); in bnxt_register_dev()
77 if (!rcu_access_pointer(ulp->ulp_ops)) { in bnxt_unregister_dev()
87 RCU_INIT_POINTER(ulp->ulp_ops, NULL); in bnxt_unregister_dev()
294 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_stop()
318 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_start()
338 ops = rcu_dereference(ulp->ulp_ops); in bnxt_ulp_sriov_cfg()
362 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_shutdown()
383 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_stop()
405 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_restart()
[all …]
A Dbnxt_ulp.h49 struct bnxt_ulp_ops __rcu *ulp_ops; member
94 if (edev && rcu_access_pointer(edev->ulp_tbl[ulp_id].ulp_ops)) in bnxt_ulp_registered()
/linux/drivers/net/ethernet/broadcom/
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()
1431 ulp_ops = rcu_dereference(cp->ulp_ops[ulp_type]); in cnic_reply_bnx2x_kcqes()
2870 ulp_ops = rcu_dereference(cp->ulp_ops[ulp_type]); in service_kcqes()
3229 if (!ulp_ops || !ulp_ops->cnic_start) { in cnic_ulp_start()
3252 if (ulp_ops && ulp_ops->cnic_get_stats) in cnic_copy_ulp_stats()
3337 if (!ulp_ops || !ulp_ops->cnic_init) { in cnic_ulp_init()
3361 if (!ulp_ops || !ulp_ops->cnic_exit) { in cnic_ulp_exit()
3915 ulp_ops = rcu_dereference(cp->ulp_ops[ulp_type]); in cnic_cm_upcall()
[all …]
A Dcnic_if.h384 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops);
A Dcnic.h217 struct cnic_ulp_ops __rcu *ulp_ops[MAX_CNIC_ULP_TYPE]; member

Completed in 29 milliseconds