Searched refs:ulp_ops (Results 1 – 6 of 6) sorted by relevance
109 struct tcp_ulp_ops *ulp_ops; in tcp_get_available_ulp() local114 list_for_each_entry_rcu(ulp_ops, &tcp_ulp_list, list) { in tcp_get_available_ulp()117 offs == 0 ? "" : " ", ulp_ops->name); in tcp_get_available_ulp()140 const struct tcp_ulp_ops *ulp_ops; in tcp_set_ulp() local146 ulp_ops = __tcp_ulp_find_autoload(name); in tcp_set_ulp()147 if (!ulp_ops) in tcp_set_ulp()150 if (!ulp_ops->user_visible) { in tcp_set_ulp()151 module_put(ulp_ops->owner); in tcp_set_ulp()155 err = ulp_ops->init(sk); in tcp_set_ulp()157 module_put(ulp_ops->owner); in tcp_set_ulp()[all …]
28 struct bnxt_ulp_ops *ulp_ops, void *handle) in bnxt_register_dev() argument39 if (rcu_access_pointer(ulp->ulp_ops)) { in bnxt_register_dev()56 rcu_assign_pointer(ulp->ulp_ops, ulp_ops); in bnxt_register_dev()78 if (!rcu_access_pointer(ulp->ulp_ops)) { in bnxt_unregister_dev()93 RCU_INIT_POINTER(ulp->ulp_ops, NULL); in bnxt_unregister_dev()266 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_stop()285 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_start()305 ops = rcu_dereference(ulp->ulp_ops); in bnxt_ulp_sriov_cfg()329 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_shutdown()350 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_stop()[all …]
50 struct bnxt_ulp_ops __rcu *ulp_ops; member86 if (edev && rcu_access_pointer(edev->ulp_tbl[ulp_id].ulp_ops)) in bnxt_ulp_registered()
178 static inline void ulp_get(struct cnic_ulp_ops *ulp_ops) in ulp_get() argument180 atomic_inc(&ulp_ops->ref_count); in ulp_get()183 static inline void ulp_put(struct cnic_ulp_ops *ulp_ops) in ulp_put() argument185 atomic_dec(&ulp_ops->ref_count); in ulp_put()325 struct cnic_ulp_ops *ulp_ops; in cnic_send_nlmsg() local355 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 …]
384 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops);
217 struct cnic_ulp_ops __rcu *ulp_ops[MAX_CNIC_ULP_TYPE]; member