Searched refs:mgmt_cb (Results 1 – 2 of 2) sorted by relevance
81 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_register_mgmt_msg_cb() local83 mgmt_cb->cb = callback; in hinic_register_mgmt_msg_cb()84 mgmt_cb->handle = handle; in hinic_register_mgmt_msg_cb()85 mgmt_cb->state = HINIC_MGMT_CB_ENABLED; in hinic_register_mgmt_msg_cb()96 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_unregister_mgmt_msg_cb() local98 mgmt_cb->state &= ~HINIC_MGMT_CB_ENABLED; in hinic_unregister_mgmt_msg_cb()100 while (mgmt_cb->state & HINIC_MGMT_CB_RUNNING) in hinic_unregister_mgmt_msg_cb()103 mgmt_cb->cb = NULL; in hinic_unregister_mgmt_msg_cb()371 struct hinic_mgmt_cb *mgmt_cb; in mgmt_recv_msg_handler() local381 mgmt_cb = &pf_to_mgmt->mgmt_cb[recv_msg->mod]; in mgmt_recv_msg_handler()[all …]
120 struct hinic_mgmt_cb mgmt_cb[HINIC_MOD_MAX]; member