Lines Matching refs:o2net_wq
107 static struct workqueue_struct *o2net_wq; variable
462 if (!queue_work(o2net_wq, work)) in o2net_sc_queue_work()
470 if (!queue_delayed_work(o2net_wq, work, delay)) in o2net_sc_queue_delayed_work()
525 queue_delayed_work(o2net_wq, &nn->nn_still_up, in o2net_set_nn_state()
549 if (!valid && o2net_wq) { in o2net_set_nn_state()
559 queue_delayed_work(o2net_wq, &nn->nn_connect_work, delay); in o2net_set_nn_state()
571 queue_delayed_work(o2net_wq, &nn->nn_connect_expired, delay); in o2net_set_nn_state()
1032 if (o2net_wq == NULL) { in o2net_send_message_vec()
1510 queue_delayed_work(o2net_wq, &nn->nn_still_up, in o2net_idle_timer()
1704 if (o2net_wq) { in o2net_disconnect_node()
1708 flush_workqueue(o2net_wq); in o2net_disconnect_node()
1963 queue_work(o2net_wq, &o2net_listen_work); in o2net_listen_data_ready()
2033 BUG_ON(o2net_wq != NULL); in o2net_start_listening()
2037 o2net_wq = alloc_ordered_workqueue("o2net", WQ_MEM_RECLAIM); in o2net_start_listening()
2038 if (o2net_wq == NULL) { in o2net_start_listening()
2046 destroy_workqueue(o2net_wq); in o2net_start_listening()
2047 o2net_wq = NULL; in o2net_start_listening()
2061 BUG_ON(o2net_wq == NULL); in o2net_stop_listening()
2080 destroy_workqueue(o2net_wq); in o2net_stop_listening()
2081 o2net_wq = NULL; in o2net_stop_listening()