Home
last modified time | relevance | path

Searched refs:list_empty (Results 1 – 25 of 129) sorted by relevance

123456

/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dlist.c38 #define list_empty(a) ((a)->list_head.list_next == &(a)->list_head) macro
125 ASSERT(!list_empty(list)); in list_remove()
153 if (list_empty(list)) in list_head()
161 if (list_empty(list)) in list_tail()
200 if (list_empty(src)) in list_move_tail()
242 return (list_empty(list)); in list_is_empty()
/freebsd-14.2/sys/contrib/openzfs/lib/libspl/
H A Dlist.c38 #define list_empty(a) ((a)->list_head.next == &(a)->list_head) macro
125 ASSERT(!list_empty(list)); in list_remove()
153 if (list_empty(list)) in list_head()
161 if (list_empty(list)) in list_tail()
200 if (list_empty(src)) in list_move_tail()
242 return (list_empty(list)); in list_is_empty()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-taskq.c191 ASSERT(list_empty(&t->tqent_list)); in task_free()
240 ASSERT(list_empty(&t->tqent_list)); in task_expire_impl()
289 if (!list_empty(&tq->tq_pend_list)) { in taskq_lowest_id()
294 if (!list_empty(&tq->tq_prio_list)) { in taskq_lowest_id()
299 if (!list_empty(&tq->tq_delay_list)) { in taskq_lowest_id()
304 if (!list_empty(&tq->tq_active_list)) { in taskq_lowest_id()
756 return (list_empty(&t->tqent_list)); in taskq_empty_ent()
784 if (!list_empty(&tq->tq_prio_list)) in taskq_next_ent()
913 if (list_empty(&tq->tq_pend_list) && in taskq_thread()
914 list_empty(&tq->tq_prio_list)) { in taskq_thread()
[all …]
H A Dspl-zone.c250 if (list_empty(&zds->zds_datasets)) { in zone_dataset_detach()
412 while (!list_empty(&zone_datasets)) { in spl_zone_fini()
414 while (!list_empty(&zds->zds_datasets)) { in spl_zone_fini()
H A Dspl-kstat.c405 ASSERT(list_empty(&module->ksm_kstat_list)); in kstat_delete_module()
642 if (list_empty(&module->ksm_kstat_list)) in kstat_proc_entry_install()
681 if (kpep->kpe_proc && list_empty(&module->ksm_kstat_list)) in kstat_proc_entry_delete()
714 ASSERT(list_empty(&kstat_module_list)); in spl_kstat_fini()
/freebsd-14.2/sys/dev/irdma/
H A Dirdma_ws.c197 if (!list_empty(&vsi->qos[user_pri].qplist)) { in irdma_ws_in_use()
208 !list_empty(&vsi->qos[i].qplist)) { in irdma_ws_in_use()
255 if (list_empty(&vsi_node->child_list_head)) { in irdma_remove_leaf()
260 if (list_empty(&ws_tree_root->child_list_head)) { in irdma_remove_leaf()
395 if (list_empty(&vsi_node->child_list_head)) { in irdma_ws_add()
404 if (list_empty(&ws_tree_root->child_list_head)) { in irdma_ws_add()
/freebsd-14.2/sys/dev/hptnr/
H A Dlist.h80 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() function
102 if (!list_empty(list)) in list_splice()
108 if (!list_empty(list)) { in list_splice_init()
/freebsd-14.2/sys/dev/hptrr/
H A Dlist.h83 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() function
105 if (!list_empty(list)) in list_splice()
111 if (!list_empty(list)) { in list_splice_init()
/freebsd-14.2/sys/dev/hpt27xx/
H A Dlist.h81 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() function
103 if (!list_empty(list)) in list_splice()
109 if (!list_empty(list)) { in list_splice_init()
/freebsd-14.2/sys/contrib/vchiq/interface/compat/
H A Dlist.h98 list_empty(const struct list_head *head) in list_empty() function
107 if (list_empty(head)) in list_is_singular()
160 if (!list_empty(list)) in list_splice()
167 if (!list_empty(list)) in list_splice_tail()
/freebsd-14.2/sys/dev/drm2/ttm/
H A Dttm_execbuf_util.c89 if (list_empty(list)) in ttm_eu_backoff_reservation()
118 if (list_empty(list)) in ttm_eu_reserve_buffers()
211 if (list_empty(list)) in ttm_eu_fence_buffer_objects()
H A Dttm_bo.c119 MPASS(list_empty(&bo->lru)); in ttm_bo_release_list()
120 MPASS(list_empty(&bo->ddestroy)); in ttm_bo_release_list()
166 MPASS(list_empty(&bo->lru)); in ttm_bo_add_to_lru()
183 if (!list_empty(&bo->swap)) { in ttm_bo_del_from_lru()
187 if (!list_empty(&bo->lru)) { in ttm_bo_del_from_lru()
698 if (list_empty(&bdev->ddestroy)) in ttm_bo_delayed_delete()
734 if (list_empty(&entry->ddestroy)) in ttm_bo_delayed_delete()
882 if (!list_empty(&bo->ddestroy)) { in ttm_mem_evict_first()
1372 while (!list_empty(&man->lru)) { in ttm_bo_force_list_clean()
1563 if (list_empty(&bdev->ddestroy)) in ttm_bo_device_release()
[all …]
/freebsd-14.2/tools/tools/drm/radeon/mkregtable/
H A Dmkregtable.c203 static inline int list_empty(const struct list_head *head) in list_empty() function
233 return !list_empty(head) && (head->next == head->prev); in list_is_singular()
267 if (list_empty(head)) in list_cut_position()
298 if (!list_empty(list)) in list_splice()
310 if (!list_empty(list)) in list_splice_tail()
324 if (!list_empty(list)) { in list_splice_init()
341 if (!list_empty(list)) { in list_splice_tail_init()
/freebsd-14.2/sys/contrib/dev/athk/
H A Ddfs_pri_detector.c138 if (!list_empty(&pseq_pool)) { in pool_get_pseq_elem()
151 if (!list_empty(&pulse_pool)) { in pool_get_pulse_elem()
163 if (list_empty(l)) in pulse_queue_get_tail()
340 if (list_empty(&pde->sequences)) in pseq_handler_check_detection()
/freebsd-14.2/lib/libpmc/pmu-events/
H A Dlist.h79 list_empty(const struct list_head *head) in list_empty() function
158 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL)
249 if (list_empty(list)) in linux_list_splice()
387 return !list_empty(head) && (head->next == head->prev); in list_is_singular()
405 if (list_empty(head)) in list_cut_position()
/freebsd-14.2/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mcg.c458 if (!list_empty(&group->pending_list)) in release_group()
549 if (!list_empty(&group->pending_list)) { in mlx4_ib_mcg_timeout_handler()
674 if (!list_empty(&group->pending_list)) in mlx4_ib_mcg_work_handler()
710 while (!list_empty(&group->pending_list) && group->state == MCAST_IDLE) { in mlx4_ib_mcg_work_handler()
739 if (!list_empty(&group->pending_list) && group->state == MCAST_IDLE) in mlx4_ib_mcg_work_handler()
788 if (!list_empty(&group->pending_list) && group->state != MCAST_IDLE) in search_relocate_mgid0_group()
1010 if (list_empty(&group->pending_list)) { in sysfs_show_group()
1173 if (!list_empty(&group->pending_list)) in clear_pending_reqs()
1194 if (!pend && (!list_empty(&group->func[vf].pending) || group->func[vf].num_pend_reqs)) { in clear_pending_reqs()
1196 list_empty(&group->func[vf].pending), group->func[vf].num_pend_reqs); in clear_pending_reqs()
[all …]
/freebsd-14.2/sys/dev/mlx4/mlx4_core/
H A Dmlx4_pd.c183 if (!list_empty(&priv->bf_list)) in mlx4_bf_alloc()
258 if (!list_empty(&bf->uar->bf_list)) in mlx4_bf_free()
265 } else if (list_empty(&bf->uar->bf_list)) in mlx4_bf_free()
/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dlist.h95 list_empty(const struct list_head *head) in list_empty() function
174 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL)
293 if (list_empty(list)) in linux_list_splice()
430 return !list_empty(head) && (head->next == head->prev); in list_is_singular()
448 if (list_empty(head)) in list_cut_position()
/freebsd-14.2/sys/ofed/drivers/infiniband/core/
H A Dib_iwcm.c124 if (list_empty(&cm_id_priv->work_free_list)) in get_work()
149 BUG_ON(!list_empty(&cm_id_priv->work_free_list)); in alloc_work_entries()
193 BUG_ON(!list_empty(&cm_id_priv->work_list)); in iwcm_deref_id()
899 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler()
904 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler()
971 if (list_empty(&cm_id_priv->work_list)) { in cm_event_handler()
H A Dib_rdma_core.c134 WARN_ON(!list_empty(&uobj->list)); in uverbs_destroy_uobject()
165 if (!list_empty(&uobj->list)) { in uverbs_destroy_uobject()
857 while (!list_empty(&ufile->uobjects)) in uverbs_destroy_ufile_hw()
867 if (!list_empty(&ufile->uobjects)) in uverbs_destroy_ufile_hw()
/freebsd-14.2/sys/compat/linuxkpi/common/src/
H A Dlinux_schedule.c224 if (list_empty(&wq->task_list)) in linux_prepare_to_wait()
236 if (!list_empty(&wq->task_list)) { in linux_finish_wait()
249 ret = !list_empty(&wqh->task_list); in linux_waitqueue_active()
/freebsd-14.2/cddl/contrib/opensolaris/tools/ctf/common/
H A Dlist.h50 int list_empty(list_t *);
/freebsd-14.2/sys/dev/drm2/
H A Ddrm_fops.c376 if (!list_empty(&dev->ctxlist)) { in drm_release()
473 if (list_empty(&file_priv->event_list)) in drm_dequeue_event()
506 while (list_empty(&file_priv->event_list)) { in drm_read()
567 if (list_empty(&file_priv->event_list)) { in drm_poll()
/freebsd-14.2/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c178 if (list_empty(&priv->cm.rx_flush_list) || in ipoib_cm_start_rx_drain()
179 !list_empty(&priv->cm.rx_drain_list)) in ipoib_cm_start_rx_drain()
801 while (!list_empty(&priv->cm.passive_ids)) { in ipoib_cm_dev_stop()
815 while (!list_empty(&priv->cm.rx_error_list) || in ipoib_cm_dev_stop()
816 !list_empty(&priv->cm.rx_flush_list) || in ipoib_cm_dev_stop()
817 !list_empty(&priv->cm.rx_drain_list)) { in ipoib_cm_dev_stop()
1211 while (!list_empty(&priv->cm.start_list)) { in ipoib_cm_tx_start()
1249 while (!list_empty(&priv->cm.reap_list)) { in ipoib_cm_tx_reap()
1330 while (!list_empty(&priv->cm.passive_ids)) { in ipoib_cm_stale_task()
1345 if (!list_empty(&priv->cm.passive_ids)) in ipoib_cm_stale_task()
/freebsd-14.2/sys/netpfil/ipfw/test/
H A Dmylist.h14 #define list_empty(l) ( (l)->next == l ) macro

123456