Searched refs:list_empty (Results 1 – 10 of 10) sorted by relevance
121 if (!list_empty(&impl->unused)) { in put_pool()128 if (!list_empty(&impl->used)) { in put_pool()161 if (!list_empty(&srv->list)) { in mem_pool_srv_deinit()239 if (!list_empty(&impl->unused)) { in mpp_mem_pool_get()
148 mpp_assert(!list_empty(&curr->list)); in _mpp_port_poll()155 mpp_assert(list_empty(&curr->list)); in _mpp_port_poll()179 mpp_assert(!list_empty(&curr->list)); in _mpp_port_poll()269 mpp_assert(list_empty(&curr->list)); in _mpp_port_dequeue()278 mpp_assert(!list_empty(&curr->list)); in _mpp_port_dequeue()
214 mpp_assert(list_empty(&queue->list)); in mpp_cluster_queue_deinit()283 mpp_assert(list_empty(&task->list_sched)); in mpp_node_task_schedule_f()402 mpp_assert(list_empty(&p->list_task)); in cluster_worker_deinit()431 if (list_empty(&queue->list)) { in cluster_worker_get_task()482 while (!list_empty(&p->list_task)) { in cluster_worker_run_task()
332 mpp_assert(list_empty(&buffer->list_maps)); in service_put_buffer()651 if (!list_empty(&p->list_unused)) { in mpp_buffer_get_unused()845 if (!list_empty(&p->list_used)) { in mpp_buffer_group_reset()855 if (!list_empty(&p->list_unused)) { in mpp_buffer_group_reset()1041 if (!list_empty(&srv->list_group)) { in mpp_buffer_service_deinit()1054 if (!list_empty(&srv->list_orphan)) { in mpp_buffer_service_deinit()1279 if (!list_empty(&p->list_unused)) { in service_put_group()1287 if (list_empty(&p->list_used)) { in service_put_group()
772 if (!list_empty(&impl->queue[i])) in clear_slots_impl()775 mpp_assert(list_empty(&impl->queue[i])); in clear_slots_impl()1141 if (list_empty(&impl->queue[type])) { in mpp_buf_slot_dequeue()1386 is_empty = list_empty(&impl->queue[type]) ? 1 : 0; in mpp_slots_is_empty()
889 if (list_empty(&impl->child)) { in mpp_cfg_to_log()980 if (list_empty(&impl->child)) { in mpp_cfg_to_json()1045 if (list_empty(&impl->child)) { in mpp_toml_non_top()1129 if (list_empty(&impl->child)) in mpp_cfg_to_toml()
231 if (!list_empty(&srv->list_meta)) { in mpp_meta_srv_deinit()
121 if (list_empty(list)) { in hal_task_get_hnd()145 ret = list_empty(list) ? MPP_OK : MPP_NOK; in hal_task_check_empty()
192 mpp_assert(list_empty(&batch->link_tasks)); in batch_reset()231 mpp_assert(list_empty(&batch->link_tasks)); in batch_del()647 mpp_assert(list_empty(&server->list_batch)); in bat_server_put()661 mpp_assert(list_empty(&server->list_batch_free)); in bat_server_put()767 mpp_assert(list_empty(&session->list_wait)); in server_detach()
184 static __inline int list_empty(struct list_head *head) in list_empty() function