Home
last modified time | relevance | path

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

123

/freebsd-10-stable/sys/dev/drm2/i915/
Di915_gem_evict.c120 while (!list_empty(&unwind_list)) { in i915_gem_evict_something()
141 while (!list_empty(&unwind_list)) { in i915_gem_evict_something()
154 while (!list_empty(&eviction_list)) { in i915_gem_evict_something()
176 lists_empty = (list_empty(&dev_priv->mm.inactive_list) && in i915_gem_evict_everything()
177 list_empty(&dev_priv->mm.flushing_list) && in i915_gem_evict_everything()
178 list_empty(&dev_priv->mm.active_list)); in i915_gem_evict_everything()
194 KASSERT(list_empty(&dev_priv->mm.flushing_list), in i915_gem_evict_everything()
Di915_gem.c901 KASSERT(list_empty(&dev_priv->mm.active_list), ("active list")); in i915_gem_entervt_ioctl()
902 KASSERT(list_empty(&dev_priv->mm.flushing_list), ("flushing list")); in i915_gem_entervt_ioctl()
903 KASSERT(list_empty(&dev_priv->mm.inactive_list), ("inactive list")); in i915_gem_entervt_ioctl()
3095 KASSERT(list_empty(&obj->gpu_write_list), ("On gpu_write_list")); in i915_gem_object_move_to_inactive()
3230 if (list_empty(&ring->gpu_write_list) && list_empty(&ring->active_list)) in i915_ring_idle()
3233 if (!list_empty(&ring->gpu_write_list)) { in i915_ring_idle()
3261 if (!list_empty(&ring->gpu_write_list)) in i915_gpu_idle()
3422 was_empty = list_empty(&ring->request_list); in i915_add_request()
3480 while (!list_empty(&file_priv->mm.request_list)) { in i915_gem_release()
3498 while (!list_empty(&ring->request_list)) { in i915_gem_reset_ring_lists()
[all …]
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/os/
Dlist.c40 #define list_empty(a) ((a)->list_head.list_next == &(a)->list_head) macro
128 ASSERT(!list_empty(list)); in list_remove()
156 if (list_empty(list)) in list_head()
164 if (list_empty(list)) in list_tail()
203 if (list_empty(src)) in list_move_tail()
244 return (list_empty(list)); in list_is_empty()
/freebsd-10-stable/sys/dev/hptrr/
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-10-stable/sys/dev/hptnr/
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-10-stable/sys/dev/hpt27xx/
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-10-stable/tools/tools/drm/radeon/mkregtable/
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-10-stable/sys/dev/drm2/ttm/
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()
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()
669 if (ret || unlikely(list_empty(&bo->ddestroy))) { in ttm_bo_cleanup_refs_and_unlock()
700 if (list_empty(&bdev->ddestroy)) in ttm_bo_delayed_delete()
736 if (list_empty(&entry->ddestroy)) in ttm_bo_delayed_delete()
885 if (!list_empty(&bo->ddestroy)) { in ttm_mem_evict_first()
1375 while (!list_empty(&man->lru)) { in ttm_bo_force_list_clean()
[all …]
/freebsd-10-stable/sys/ofed/include/linux/
Dlist.h83 list_empty(const struct list_head *head) in list_empty() function
179 if (list_empty(list)) in _list_splice()
321 return !list_empty(head) && (head->next == head->prev); in list_is_singular()
353 if (list_empty(head)) in list_cut_position()
/freebsd-10-stable/sys/dev/drm2/radeon/
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-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/
Dmcg.c450 if (!list_empty(&group->pending_list)) in release_group()
541 if (!list_empty(&group->pending_list)) { in mlx4_ib_mcg_timeout_handler()
665 if (!list_empty(&group->pending_list)) in mlx4_ib_mcg_work_handler()
701 while (!list_empty(&group->pending_list) && group->state == MCAST_IDLE) { in mlx4_ib_mcg_work_handler()
730 if (!list_empty(&group->pending_list) && group->state == MCAST_IDLE) in mlx4_ib_mcg_work_handler()
782 if (!list_empty(&group->pending_list) && group->state != MCAST_IDLE) in search_relocate_mgid0_group()
1002 if (list_empty(&group->pending_list)) { in sysfs_show_group()
1164 if (!list_empty(&group->pending_list)) in clear_pending_reqs()
1185 if (!pend && (!list_empty(&group->func[vf].pending) || group->func[vf].num_pend_reqs)) { in clear_pending_reqs()
1187 list_empty(&group->func[vf].pending), group->func[vf].num_pend_reqs); in clear_pending_reqs()
[all …]
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
Diwcm.c178 if (list_empty(&cm_id_priv->work_free_list)) in get_work()
203 BUG_ON(!list_empty(&cm_id_priv->work_free_list)); in alloc_work_entries()
248 BUG_ON(!list_empty(&cm_id_priv->work_list)); in iwcm_deref_id()
276 BUG_ON(!list_empty(&cm_id_priv->work_list)); in rem_ref()
1128 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler()
1133 empty = list_empty(&cm_id_priv->work_list); in cm_work_handler()
1147 BUG_ON(!list_empty(&cm_id_priv->work_list)); in cm_work_handler()
1206 if (list_empty(&cm_id_priv->work_list)) { in cm_event_handler()
Dnotice.c283 while (!list_empty(&group->active_list)) { in process_group_error()
320 while (!list_empty(&list)) { in process_notice()
348 while (!list_empty(&group->pending_list) || in inform_work_handler()
349 !list_empty(&group->notice_list) || in inform_work_handler()
358 if (!list_empty(&group->notice_list)) { in inform_work_handler()
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
Dpd.c182 if (!list_empty(&priv->bf_list)) in mlx4_bf_alloc()
256 if (!list_empty(&bf->uar->bf_list)) in mlx4_bf_free()
263 } else if (list_empty(&bf->uar->bf_list)) in mlx4_bf_free()
Dicm.h91 iter->chunk = list_empty(&icm->chunk_list) ? in mlx4_icm_first()
/freebsd-10-stable/sys/dev/drm2/
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()
Ddrm_linux_list.h57 list_empty(const struct list_head *head) { in list_empty() function
173 if (list_empty(list)) in list_splice()
Ddrm_fb_helper.c267 if (list_empty(&kernel_fb_helper_list))
357 if (list_empty(&kernel_fb_helper_list)) in drm_fb_helper_force_kernel_mode()
554 if (!list_empty(&fb_helper->kernel_fb_list)) { in drm_fb_helper_fini()
557 if (list_empty(&kernel_fb_helper_list)) { in drm_fb_helper_fini()
961 if (list_empty(&kernel_fb_helper_list)) { in drm_fb_helper_single_fb_probe()
1211 if (!modes[i] && !list_empty(&fb_helper_conn->connector->modes)) { in drm_target_preferred()
/freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/common/
Dlist.h50 int list_empty(list_t *);
/freebsd-10-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c175 if (list_empty(&priv->cm.rx_flush_list) || in ipoib_cm_start_rx_drain()
176 !list_empty(&priv->cm.rx_drain_list)) in ipoib_cm_start_rx_drain()
793 while (!list_empty(&priv->cm.passive_ids)) { in ipoib_cm_dev_stop()
807 while (!list_empty(&priv->cm.rx_error_list) || in ipoib_cm_dev_stop()
808 !list_empty(&priv->cm.rx_flush_list) || in ipoib_cm_dev_stop()
809 !list_empty(&priv->cm.rx_drain_list)) { in ipoib_cm_dev_stop()
1200 while (!list_empty(&priv->cm.start_list)) { in ipoib_cm_tx_start()
1238 while (!list_empty(&priv->cm.reap_list)) { in ipoib_cm_tx_reap()
1319 while (!list_empty(&priv->cm.passive_ids)) { in ipoib_cm_stale_task()
1334 if (!list_empty(&priv->cm.passive_ids)) in ipoib_cm_stale_task()
/freebsd-10-stable/sys/netpfil/ipfw/test/
Dmylist.h14 #define list_empty(l) ( (l)->next == l ) macro
/freebsd-10-stable/sys/dev/drm/
Ddrm_linux_list.h52 list_empty(struct list_head *head) { in list_empty() function
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)) { \
/freebsd-10-stable/sys/dev/cxgbe/iw_cxgbe/
Dresource.c111 if (!list_empty(&uctx->cqids)) { in c4iw_get_cqid()
181 if (!list_empty(&uctx->qpids)) { in c4iw_get_qpid()

123