/freebsd/sys/contrib/openzfs/lib/libspl/ |
H A D | list.c | 38 #define list_empty(a) ((a)->list_head.next == &(a)->list_head) macro 126 ASSERT(!list_empty(list)); in list_remove() 154 if (list_empty(list)) in list_head() 162 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/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | list.c | 38 #define list_empty(a) ((a)->list_head.list_next == &(a)->list_head) macro 126 ASSERT(!list_empty(list)); in list_remove() 154 if (list_empty(list)) in list_head() 162 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/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-taskq.c | 103 case TQENT_LIST_NONE: ASSERT(list_empty(&t->tqent_list)); break;\ 207 if (!list_empty(&tq->tq_free_list) && !(flags & TQ_NEW)) { in task_alloc() 270 ASSERT(list_empty(&t->tqent_list)); in task_free() 286 ASSERT(list_empty(&t->tqent_list)); in task_done() 319 ASSERT(list_empty(&t->tqent_list)); in task_expire_impl() 370 if (!list_empty(&tq->tq_pend_list)) { in taskq_lowest_id() 375 if (!list_empty(&tq->tq_prio_list)) { in taskq_lowest_id() 380 if (!list_empty(&tq->tq_delay_list)) { in taskq_lowest_id() 385 if (!list_empty(&tq->tq_active_list)) { in taskq_lowest_id() 861 return (list_empty(&t->tqent_list)); in taskq_empty_ent() [all …]
|
H A D | spl-zone.c | 246 if (list_empty(&zds->zds_datasets)) { in zone_dataset_detach() 408 while (!list_empty(&zone_datasets)) { in spl_zone_fini() 410 while (!list_empty(&zds->zds_datasets)) { in spl_zone_fini()
|
H A D | spl-kstat.c | 405 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/sys/dev/irdma/ |
H A D | irdma_ws.c | 197 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/sys/dev/hpt27xx/ |
H A D | list.h | 81 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/sys/dev/hptnr/ |
H A D | list.h | 80 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/sys/dev/hptrr/ |
H A D | list.h | 83 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/sys/contrib/vchiq/interface/compat/ |
H A D | list.h | 98 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/tools/tools/drm/radeon/mkregtable/ |
H A D | mkregtable.c | 202 static inline int list_empty(const struct list_head *head) in list_empty() function 232 return !list_empty(head) && (head->next == head->prev); in list_is_singular() 266 if (list_empty(head)) in list_cut_position() 297 if (!list_empty(list)) in list_splice() 309 if (!list_empty(list)) in list_splice_tail() 323 if (!list_empty(list)) { in list_splice_init() 340 if (!list_empty(list)) { in list_splice_tail_init()
|
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_execbuf_util.c | 89 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 D | ttm_bo.c | 119 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() 667 if (ret || unlikely(list_empty(&bo->ddestroy))) { in ttm_bo_cleanup_refs_and_unlock() 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() [all …]
|
/freebsd/sys/contrib/dev/athk/ |
H A D | dfs_pri_detector.c | 138 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/lib/libpmc/pmu-events/ |
H A D | list.h | 79 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/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mcg.c | 458 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/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_pd.c | 183 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/sys/compat/linuxkpi/common/include/linux/ |
H A D | list.h | 95 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/sys/ofed/drivers/infiniband/core/ |
H A D | ib_iwcm.c | 124 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 D | ib_rdma_core.c | 134 WARN_ON(!list_empty(&uobj->list)); in uverbs_destroy_uobject() 165 if (!list_empty(&uobj->list)) { in uverbs_destroy_uobject() 855 while (!list_empty(&ufile->uobjects)) in uverbs_destroy_ufile_hw() 865 if (!list_empty(&ufile->uobjects)) in uverbs_destroy_ufile_hw()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_schedule.c | 221 if (list_empty(&wq->task_list)) in linux_prepare_to_wait() 233 if (!list_empty(&wq->task_list)) { in linux_finish_wait() 246 ret = !list_empty(&wqh->task_list); in linux_waitqueue_active()
|
/freebsd/sys/dev/drm2/ |
H A D | drm_fops.c | 376 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/cddl/contrib/opensolaris/tools/ctf/common/ |
H A D | list.h | 50 int list_empty(list_t *);
|
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_cm.c | 178 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/sys/netpfil/ipfw/test/ |
H A D | mylist.h | 14 #define list_empty(l) ( (l)->next == l ) macro
|