Lines Matching refs:o2net_wq
101 * o2net_wq. teardown detaches the callbacks before destroying the workqueue.
107 static struct workqueue_struct *o2net_wq;
462 if (!queue_work(o2net_wq, work))
470 if (!queue_delayed_work(o2net_wq, work, delay))
525 queue_delayed_work(o2net_wq, &nn->nn_still_up,
549 if (!valid && o2net_wq) {
559 queue_delayed_work(o2net_wq, &nn->nn_connect_work, delay);
571 queue_delayed_work(o2net_wq, &nn->nn_connect_expired, delay);
1032 if (o2net_wq == NULL) {
1510 queue_delayed_work(o2net_wq, &nn->nn_still_up,
1704 if (o2net_wq) {
1708 flush_workqueue(o2net_wq);
1966 queue_work(o2net_wq, &o2net_listen_work);
2036 BUG_ON(o2net_wq != NULL);
2040 o2net_wq = alloc_ordered_workqueue("o2net", WQ_MEM_RECLAIM);
2041 if (o2net_wq == NULL) {
2049 destroy_workqueue(o2net_wq);
2050 o2net_wq = NULL;
2064 BUG_ON(o2net_wq == NULL);
2083 destroy_workqueue(o2net_wq);
2084 o2net_wq = NULL;