| /freebsd-13.1/sys/contrib/openzfs/lib/libspl/ |
| H A D | list.c | 38 #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-13.1/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 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-13.1/sys/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-taskq.c | 179 ASSERT(list_empty(&t->tqent_list)); in task_free() 228 ASSERT(list_empty(&t->tqent_list)); in task_expire_impl() 277 if (!list_empty(&tq->tq_pend_list)) { in taskq_lowest_id() 282 if (!list_empty(&tq->tq_prio_list)) { in taskq_lowest_id() 287 if (!list_empty(&tq->tq_delay_list)) { in taskq_lowest_id() 292 if (!list_empty(&tq->tq_active_list)) { in taskq_lowest_id() 745 return (list_empty(&t->tqent_list)); in taskq_empty_ent() 773 if (!list_empty(&tq->tq_prio_list)) in taskq_next_ent() 898 if (list_empty(&tq->tq_pend_list) && in taskq_thread() 899 list_empty(&tq->tq_prio_list)) { in taskq_thread() [all …]
|
| H A D | spl-kstat.c | 404 ASSERT(list_empty(&module->ksm_kstat_list)); in kstat_delete_module() 641 if (list_empty(&module->ksm_kstat_list)) in kstat_proc_entry_install() 680 if (kpep->kpe_proc && list_empty(&module->ksm_kstat_list)) in kstat_proc_entry_delete() 713 ASSERT(list_empty(&kstat_module_list)); in spl_kstat_fini()
|
| H A D | spl-tsd.c | 431 list_empty(&pid_entry->he_pid_list)) { in tsd_remove_entry() 611 while (!list_empty(&dtor_entry->he_key_list)) { in tsd_destroy() 675 while (!list_empty(&pid_entry->he_pid_list)) { in tsd_exit()
|
| /freebsd-13.1/sys/dev/hpt27xx/ |
| 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-13.1/sys/dev/hptrr/ |
| H A D | list.h | 85 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() function 107 if (!list_empty(list)) in list_splice() 113 if (!list_empty(list)) { in list_splice_init()
|
| /freebsd-13.1/sys/dev/hptnr/ |
| H A D | list.h | 82 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() function 104 if (!list_empty(list)) in list_splice() 110 if (!list_empty(list)) { in list_splice_init()
|
| /freebsd-13.1/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-13.1/sys/dev/drm2/ttm/ |
| H A D | ttm_execbuf_util.c | 91 if (list_empty(list)) in ttm_eu_backoff_reservation() 120 if (list_empty(list)) in ttm_eu_reserve_buffers() 213 if (list_empty(list)) in ttm_eu_fence_buffer_objects()
|
| H A D | ttm_bo.c | 121 MPASS(list_empty(&bo->lru)); in ttm_bo_release_list() 122 MPASS(list_empty(&bo->ddestroy)); in ttm_bo_release_list() 168 MPASS(list_empty(&bo->lru)); in ttm_bo_add_to_lru() 185 if (!list_empty(&bo->swap)) { in ttm_bo_del_from_lru() 189 if (!list_empty(&bo->lru)) { in ttm_bo_del_from_lru() 700 if (list_empty(&bdev->ddestroy)) in ttm_bo_delayed_delete() 736 if (list_empty(&entry->ddestroy)) in ttm_bo_delayed_delete() 884 if (!list_empty(&bo->ddestroy)) { in ttm_mem_evict_first() 1374 while (!list_empty(&man->lru)) { in ttm_bo_force_list_clean() 1565 if (list_empty(&bdev->ddestroy)) in ttm_bo_device_release() [all …]
|
| /freebsd-13.1/tools/tools/drm/radeon/mkregtable/ |
| H A D | mkregtable.c | 205 static inline int list_empty(const struct list_head *head) in list_empty() function 235 return !list_empty(head) && (head->next == head->prev); in list_is_singular() 269 if (list_empty(head)) in list_cut_position() 300 if (!list_empty(list)) in list_splice() 312 if (!list_empty(list)) in list_splice_tail() 326 if (!list_empty(list)) { in list_splice_init() 343 if (!list_empty(list)) { in list_splice_tail_init()
|
| /freebsd-13.1/lib/libpmc/pmu-events/ |
| H A D | list.h | 81 list_empty(const struct list_head *head) in list_empty() function 160 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL) 251 if (list_empty(list)) in linux_list_splice() 389 return !list_empty(head) && (head->next == head->prev); in list_is_singular() 407 if (list_empty(head)) in list_cut_position()
|
| /freebsd-13.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | list.h | 105 list_empty(const struct list_head *head) in list_empty() function 184 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL) 298 if (list_empty(list)) in linux_list_splice() 435 return !list_empty(head) && (head->next == head->prev); in list_is_singular() 453 if (list_empty(head)) in list_cut_position()
|
| /freebsd-13.1/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-13.1/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()
|
| H A D | icm.h | 90 iter->chunk = list_empty(&icm->chunk_list) ? in mlx4_icm_first()
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_iwcm.c | 126 if (list_empty(&cm_id_priv->work_free_list)) in get_work() 151 BUG_ON(!list_empty(&cm_id_priv->work_free_list)); in alloc_work_entries() 195 BUG_ON(!list_empty(&cm_id_priv->work_list)); in iwcm_deref_id() 904 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler() 909 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler() 976 if (list_empty(&cm_id_priv->work_list)) { in cm_event_handler()
|
| /freebsd-13.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_schedule.c | 226 if (list_empty(&wq->task_list)) in linux_prepare_to_wait() 238 if (!list_empty(&wq->task_list)) { in linux_finish_wait() 251 ret = !list_empty(&wqh->task_list); in linux_waitqueue_active()
|
| /freebsd-13.1/cddl/contrib/opensolaris/tools/ctf/common/ |
| H A D | list.h | 50 int list_empty(list_t *);
|
| /freebsd-13.1/sys/dev/drm2/ |
| H A D | drm_fops.c | 382 if (!list_empty(&dev->ctxlist)) { in drm_release() 481 if (list_empty(&file_priv->event_list)) in drm_dequeue_event() 514 while (list_empty(&file_priv->event_list)) { in drm_read() 575 if (list_empty(&file_priv->event_list)) { in drm_poll()
|
| H A D | drm_linux_list.h | 56 list_empty(const struct list_head *head) { in list_empty() function 172 if (list_empty(list)) in list_splice()
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_cm.c | 180 if (list_empty(&priv->cm.rx_flush_list) || in ipoib_cm_start_rx_drain() 181 !list_empty(&priv->cm.rx_drain_list)) in ipoib_cm_start_rx_drain() 803 while (!list_empty(&priv->cm.passive_ids)) { in ipoib_cm_dev_stop() 817 while (!list_empty(&priv->cm.rx_error_list) || in ipoib_cm_dev_stop() 818 !list_empty(&priv->cm.rx_flush_list) || in ipoib_cm_dev_stop() 819 !list_empty(&priv->cm.rx_drain_list)) { in ipoib_cm_dev_stop() 1213 while (!list_empty(&priv->cm.start_list)) { in ipoib_cm_tx_start() 1251 while (!list_empty(&priv->cm.reap_list)) { in ipoib_cm_tx_reap() 1332 while (!list_empty(&priv->cm.passive_ids)) { in ipoib_cm_stale_task() 1347 if (!list_empty(&priv->cm.passive_ids)) in ipoib_cm_stale_task()
|
| /freebsd-13.1/sys/netpfil/ipfw/test/ |
| H A D | mylist.h | 15 #define list_empty(l) ( (l)->next == l ) macro
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_uar.c | 168 if (!list_empty(&mdev->priv.bfregs.reg_head.list)) { in mlx5_get_uars_page() 223 if (list_empty(head)) { in alloc_bfreg()
|