| /freebsd-12.1/sys/dev/drm2/i915/ |
| H A D | i915_gem_evict.c | 108 while (!list_empty(&unwind_list)) { in i915_gem_evict_something() 129 while (!list_empty(&unwind_list)) { in i915_gem_evict_something() 142 while (!list_empty(&eviction_list)) { in i915_gem_evict_something() 164 lists_empty = (list_empty(&dev_priv->mm.inactive_list) && in i915_gem_evict_everything() 165 list_empty(&dev_priv->mm.active_list)); in i915_gem_evict_everything()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/os/ |
| 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() 201 if (list_empty(src)) in list_move_tail() 242 return (list_empty(list)); in list_is_empty()
|
| /freebsd-12.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-12.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-12.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-12.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-12.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-12.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() 1566 if (list_empty(&bdev->ddestroy)) in ttm_bo_device_release() [all …]
|
| /freebsd-12.1/sys/dev/drm2/radeon/ |
| H A D | radeon_sa.c | 86 if (!list_empty(&sa_manager->olist)) { in radeon_sa_bo_manager_fini() 89 if (!list_empty(&sa_manager->olist)) { in radeon_sa_bo_manager_fini() 237 if (!list_empty(&sa_manager->flist[i])) { in radeon_sa_event() 276 if (list_empty(&sa_manager->flist[i])) { in radeon_sa_bo_next_hole()
|
| /freebsd-12.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-12.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | list.h | 98 list_empty(const struct list_head *head) in list_empty() function 177 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL) 284 if (list_empty(list)) in linux_list_splice() 423 return !list_empty(head) && (head->next == head->prev); in list_is_singular() 441 if (list_empty(head)) in list_cut_position()
|
| /freebsd-12.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-12.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 | 92 iter->chunk = list_empty(&icm->chunk_list) ? in mlx4_icm_first()
|
| /freebsd-12.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_iwcm.c | 105 if (list_empty(&cm_id_priv->work_free_list)) in get_work() 130 BUG_ON(!list_empty(&cm_id_priv->work_free_list)); in alloc_work_entries() 174 BUG_ON(!list_empty(&cm_id_priv->work_list)); in iwcm_deref_id() 883 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler() 888 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler() 955 if (list_empty(&cm_id_priv->work_list)) { in cm_event_handler()
|
| H A D | ib_uverbs_main.c | 388 while (list_empty(&file->event_list)) { in ib_uverbs_event_read() 395 (!list_empty(&file->event_list) || in ib_uverbs_event_read() 404 if (list_empty(&file->event_list) && in ib_uverbs_event_read() 452 if (!list_empty(&file->event_list)) in ib_uverbs_event_poll() 1269 while (!list_empty(&uverbs_dev->uverbs_file_list)) { in ib_uverbs_free_hw_resources() 1303 while (!list_empty(&uverbs_dev->uverbs_events_file_list)) { in ib_uverbs_free_hw_resources()
|
| /freebsd-12.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-12.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_fb_helper.c | 267 if (list_empty(&kernel_fb_helper_list)) 358 if (list_empty(&kernel_fb_helper_list)) in drm_fb_helper_force_kernel_mode() 555 if (!list_empty(&fb_helper->kernel_fb_list)) { in drm_fb_helper_fini() 558 if (list_empty(&kernel_fb_helper_list)) { in drm_fb_helper_fini() 985 if (list_empty(&kernel_fb_helper_list)) { in drm_fb_helper_single_fb_probe() 1235 if (!modes[i] && !list_empty(&fb_helper_conn->connector->modes)) { in drm_target_preferred()
|
| 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-12.1/cddl/contrib/opensolaris/tools/ctf/common/ |
| H A D | list.h | 50 int list_empty(list_t *);
|
| /freebsd-12.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() 799 while (!list_empty(&priv->cm.passive_ids)) { in ipoib_cm_dev_stop() 813 while (!list_empty(&priv->cm.rx_error_list) || in ipoib_cm_dev_stop() 814 !list_empty(&priv->cm.rx_flush_list) || in ipoib_cm_dev_stop() 815 !list_empty(&priv->cm.rx_drain_list)) { in ipoib_cm_dev_stop() 1206 while (!list_empty(&priv->cm.start_list)) { in ipoib_cm_tx_start() 1244 while (!list_empty(&priv->cm.reap_list)) { in ipoib_cm_tx_reap() 1321 while (!list_empty(&priv->cm.passive_ids)) { in ipoib_cm_stale_task() 1336 if (!list_empty(&priv->cm.passive_ids)) in ipoib_cm_stale_task()
|
| /freebsd-12.1/sys/netpfil/ipfw/test/ |
| H A D | mylist.h | 15 #define list_empty(l) ( (l)->next == l ) macro
|
| /freebsd-12.1/sys/dev/drm/ |
| H A D | mach64_drv.h | 724 if (list_empty(&dev_priv->pending)) { in mach64_find_pending_buf_entry() 805 if (list_empty(&dev_priv->placeholders)) { \ 847 if (list_empty(&dev_priv->placeholders)) { \
|