Home
last modified time | relevance | path

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

1234

/freebsd-12.1/sys/dev/drm2/i915/
H A Di915_gem_evict.c108 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 Dlist.c38 #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 Dlist.h85 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 Dlist.h82 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 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-12.1/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-12.1/tools/tools/drm/radeon/mkregtable/
H A Dmkregtable.c205 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 Dttm_execbuf_util.c91 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 Dttm_bo.c121 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 Dradeon_sa.c86 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 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-12.1/sys/compat/linuxkpi/common/include/linux/
H A Dlist.h98 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 Dlist.h81 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 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()
H A Dicm.h92 iter->chunk = list_empty(&icm->chunk_list) ? in mlx4_icm_first()
/freebsd-12.1/sys/ofed/drivers/infiniband/core/
H A Dib_iwcm.c105 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 Dib_uverbs_main.c388 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 Dlinux_schedule.c226 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 Ddrm_fops.c382 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 Ddrm_fb_helper.c267 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 Ddrm_linux_list.h56 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 Dlist.h50 int list_empty(list_t *);
/freebsd-12.1/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c180 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 Dmylist.h15 #define list_empty(l) ( (l)->next == l ) macro
/freebsd-12.1/sys/dev/drm/
H A Dmach64_drv.h724 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)) { \

1234