Lines Matching refs:tp_task_owner
959 if (!wsi->tp_task_owner.count) in lws_threadpool_dequeue()
961 assert(wsi->tp_task_owner.count != 1); in lws_threadpool_dequeue()
963 task = lws_container_of(wsi->tp_task_owner.head, in lws_threadpool_dequeue()
1032 lws_dll2_add_tail(&task->list, &args->ss->wsi->tp_task_owner); in lws_threadpool_enqueue()
1035 lws_dll2_add_tail(&task->list, &args->wsi->tp_task_owner); in lws_threadpool_enqueue()
1094 if (!wsi->tp_task_owner.count) { in lws_threadpool_task_status_wsi()
1099 assert(wsi->tp_task_owner.count == 1); /* see deprecation docs in hdr */ in lws_threadpool_task_status_wsi()
1101 task = lws_container_of(wsi->tp_task_owner.head, in lws_threadpool_task_status_wsi()
1131 if (wsi->tp_task_owner.head == NULL) in lws_threadpool_foreach_task_wsi()
1134 task1 = lws_container_of(wsi->tp_task_owner.head, in lws_threadpool_foreach_task_wsi()
1140 wsi->tp_task_owner.head) { in lws_threadpool_foreach_task_wsi()
1188 if (wsi->tp_task_owner.head == NULL) in lws_threadpool_get_task_wsi()
1191 return lws_container_of(wsi->tp_task_owner.head, in lws_threadpool_get_task_wsi()