Home
last modified time | relevance | path

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

12345678910>>...83

/OK3568_Linux_fs/kernel/fs/ocfs2/dlm/
H A Ddlmthread.c65 if (list_empty(&res->granted) && in __dlm_lockres_has_locks()
66 list_empty(&res->converting) && in __dlm_lockres_has_locks()
67 list_empty(&res->blocked)) in __dlm_lockres_has_locks()
89 if (!list_empty(&res->dirty) || res->state & DLM_LOCK_RES_DIRTY) in __dlm_lockres_unused()
115 if (list_empty(&res->purge)) { in __dlm_lockres_calc_usage()
124 } else if (!list_empty(&res->purge)) { in __dlm_lockres_calc_usage()
158 if (!list_empty(&res->purge)) { in __dlm_do_purge_lockres()
176 if (!list_empty(&res->tracking)) in __dlm_do_purge_lockres()
234 if (!list_empty(&res->purge)) { in dlm_purge_lockres()
259 if (!list_empty(&res->tracking)) in dlm_purge_lockres()
[all …]
H A Ddlmdebug.c70 (list_empty(&lock->ast_list) ? 'y' : 'n'), in __dlm_print_lock()
72 (list_empty(&lock->bast_list) ? 'y' : 'n'), in __dlm_print_lock()
95 list_empty(&res->purge) ? "no" : "yes"); in __dlm_print_one_lock_resource()
98 list_empty(&res->dirty) ? "no" : "yes", in __dlm_print_one_lock_resource()
99 list_empty(&res->recovering) ? "no" : "yes", in __dlm_print_one_lock_resource()
284 !list_empty(&mle->hb_events), in dump_mle()
477 !list_empty(&lock->ast_list), in dump_lock()
478 !list_empty(&lock->bast_list), in dump_lock()
504 !list_empty(&res->purge), in dump_lockres()
505 !list_empty(&res->dirty), in dump_lockres()
[all …]
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dswait.c26 if (list_empty(&q->task_list)) in swake_up_locked()
44 while (!list_empty(&q->task_list)) in swake_up_all_locked()
69 while (!list_empty(&tmp)) { in swake_up_all()
75 if (list_empty(&tmp)) in swake_up_all()
88 if (list_empty(&wait->task_list)) in __prepare_to_swait()
129 if (!list_empty(&wait->task_list)) in __finish_swait()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/
H A Dqed_ooo.c34 if (list_empty(&p_archipelago->isles_list)) in qed_ooo_seek_archipelago()
174 while (!list_empty(&p_archipelago->isles_list)) { in qed_ooo_release_connection_isles()
180 while (!list_empty(&p_isle->buffers_list)) { in qed_ooo_release_connection_isles()
207 while (!list_empty(&p_archipelago->isles_list)) { in qed_ooo_release_all_isles()
214 while (!list_empty(&p_isle->buffers_list)) { in qed_ooo_release_all_isles()
230 if (!list_empty(&p_ooo_info->ready_buffers_list)) in qed_ooo_release_all_isles()
253 while (!list_empty(&p_ooo_info->free_buffers_list)) { in qed_ooo_free()
287 if (!list_empty(&p_ooo_info->free_buffers_list)) { in qed_ooo_get_free_buffer()
314 if (!list_empty(&p_ooo_info->ready_buffers_list)) { in qed_ooo_get_ready_buffer()
339 if (list_empty(&p_isle->buffers_list)) in qed_ooo_delete_isles()
[all …]
/OK3568_Linux_fs/kernel/fs/
H A Dpnode.c77 if (list_empty(&mnt->mnt_share)) { in do_make_slave()
85 while (!list_empty(p)) { in do_make_slave()
153 if (!IS_MNT_NEW(m) && !list_empty(&m->mnt_slave_list)) in propagation_next()
177 if (!IS_MNT_NEW(m) && !list_empty(&m->mnt_slave_list)) in skip_propagation_subtree()
188 if (!IS_MNT_NEW(m) && !list_empty(&m->mnt_slave_list)) in next_group()
382 if (!list_empty(&mnt->mnt_mounts) || do_refcount_check(mnt, refcnt)) in propagate_mount_busy()
398 else if (!list_empty(&child->mnt_mounts)) in propagate_mount_busy()
460 if (!list_empty(&child->mnt_umounting) && IS_MNT_MARKED(child)) in __propagate_umount()
499 while (!list_empty(to_restore)) { in restore_mounts()
521 while (!list_empty(visited)) { in cleanup_umount_visitations()
[all …]
H A Dfs-writeback.c100 if (wb_has_dirty_io(wb) && list_empty(&wb->b_dirty) && in wb_io_lists_depopulated()
101 list_empty(&wb->b_io) && list_empty(&wb->b_more_io)) { in wb_io_lists_depopulated()
427 if (!list_empty(&inode->i_io_list)) { in inode_switch_wbs_work_fn()
871 list_empty(&wb->b_dirty_time))) in bdi_split_work_to_wbs()
1147 if (list_empty(&inode->i_wb_list)) { in sb_mark_inode_writeback()
1149 if (list_empty(&inode->i_wb_list)) { in sb_mark_inode_writeback()
1165 if (!list_empty(&inode->i_wb_list)) { in sb_clear_inode_writeback()
1167 if (!list_empty(&inode->i_wb_list)) { in sb_clear_inode_writeback()
1188 if (!list_empty(&wb->b_dirty)) { in redirty_tail_locked()
1256 while (!list_empty(delaying_queue)) { in move_expired_inodes()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dfhci-q.c74 if (!list_empty(&ed->td_list)) in peek_td_from_ed()
86 if (!list_empty(&frame->tds_list)) { in fhci_remove_td_from_frame()
99 if (!list_empty(&frame->tds_list)) in fhci_peek_td_from_frame()
111 if (!list_empty(&ed->td_list)) { in fhci_remove_td_from_ed()
116 if (!list_empty(&ed->td_list)) in fhci_remove_td_from_ed()
131 if (!list_empty(&p_list->done_list)) { in fhci_remove_td_from_done_list()
148 if (!list_empty(&ed->td_list)) in fhci_move_td_from_ed_to_done_list()
173 if (!list_empty(&ed->td_list)) in free_urb_priv()
H A Dehci-timer.c222 while (!list_empty(&ehci->intr_unlink_wait)) { in ehci_handle_start_intr_unlinks()
236 if (!list_empty(&ehci->intr_unlink_wait)) { in ehci_handle_start_intr_unlinks()
255 while (!list_empty(&ehci->intr_unlink)) { in ehci_handle_intr_unlinks()
267 if (!list_empty(&ehci->intr_unlink)) { in ehci_handle_intr_unlinks()
313 if (!list_empty(&ehci->cached_itd_list) || in end_free_itds()
314 !list_empty(&ehci->cached_sitd_list)) in end_free_itds()
/OK3568_Linux_fs/kernel/fs/notify/
H A Dnotification.c54 return list_empty(&group->notification_list) ? true : false; in fsnotify_notify_queue_is_empty()
69 if (!list_empty(&event->list)) { in fsnotify_destroy_event()
71 WARN_ON(!list_empty(&event->list)); in fsnotify_destroy_event()
105 if (!list_empty(&group->overflow_event->list)) { in fsnotify_add_event()
113 if (!list_empty(list) && merge) { in fsnotify_add_event()
/OK3568_Linux_fs/kernel/include/net/
H A Dfq_impl.h74 if (list_empty(head)) { in fq_tin_dequeue()
76 if (list_empty(head)) in fq_tin_dequeue()
93 !list_empty(&tin->old_flows)) { in fq_tin_dequeue()
144 if (list_empty(&flow->backlogchain)) in fq_recalc_backlog()
178 if (list_empty(&flow->flowchain)) { in fq_tin_enqueue()
256 if (!list_empty(&flow->flowchain)) in fq_flow_reset()
259 if (!list_empty(&flow->backlogchain)) in fq_flow_reset()
276 if (list_empty(head)) { in fq_tin_reset()
278 if (list_empty(head)) in fq_tin_reset()
/OK3568_Linux_fs/external/mpp/mpp/codec/rc/
H A Drc_data_impl.cpp141 if (list_empty(&indexes->seq)) in rc_data_group_get_node_by_seq_id()
174 if (list_empty(list)) in rc_data_group_get_node_by_status()
201 mpp_assert(list_empty(&head->seq)); in rc_data_group_put_node()
206 mpp_assert(list_empty(&head->type)); in rc_data_group_put_node()
211 mpp_assert(list_empty(&head->tid)); in rc_data_group_put_node()
237 if (!list_empty(&head->seq)) { in rc_data_group_put_node()
243 if (!list_empty(&head->type)) { in rc_data_group_put_node()
250 if (!list_empty(&head->tid)) { in rc_data_group_put_node()
/OK3568_Linux_fs/kernel/kernel/locking/
H A Dmutex-debug.c40 DEBUG_LOCKS_WARN_ON(list_empty(&lock->wait_list)); in debug_mutex_wake_waiter()
42 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in debug_mutex_wake_waiter()
47 DEBUG_LOCKS_WARN_ON(!list_empty(&waiter->list)); in debug_mutex_free_waiter()
63 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in debug_mutex_remove_waiter()
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Dlog.c287 if (*max_revokes && list_empty(&bd->bd_list)) { in gfs2_ail1_empty_one()
318 ret = list_empty(&sdp->sd_ail1_list); in gfs2_ail1_empty()
360 while (!list_empty(head)) { in gfs2_ail_empty_tr()
386 gfs2_assert_warn(sdp, list_empty(&tr->tr_ail1_list)); in ail2_empty()
387 gfs2_assert_warn(sdp, list_empty(&tr->tr_ail2_list)); in ail2_empty()
565 if (list_empty(&sdp->sd_ail1_list)) { in current_tail()
624 if (!list_empty(&ip->i_ordered)) in __ordered_del_inode()
635 while (!list_empty(&sdp->sd_log_ordered)) { in gfs2_ordered_write()
655 while (!list_empty(&sdp->sd_log_ordered)) { in gfs2_ordered_wait()
793 if (!list_empty(&jd->extent_list)) in gfs2_write_log_header()
[all …]
H A Dtrans.c182 if (list_empty(&bd->bd_list)) { in gfs2_trans_add_data()
224 if (!list_empty(&bd->bd_list)) in gfs2_trans_add_meta()
258 BUG_ON(!list_empty(&bd->bd_list)); in gfs2_trans_add_revoke()
292 gfs2_assert_warn(sdp, list_empty(&tr->tr_ail1_list)); in gfs2_trans_free()
293 gfs2_assert_warn(sdp, list_empty(&tr->tr_ail2_list)); in gfs2_trans_free()
294 gfs2_assert_warn(sdp, list_empty(&tr->tr_databuf)); in gfs2_trans_free()
295 gfs2_assert_warn(sdp, list_empty(&tr->tr_buf)); in gfs2_trans_free()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_printer.c332 if (likely(list_empty(&dev->tx_reqs_active))) in tx_complete()
396 while (likely(!list_empty(&dev->rx_reqs))) { in setup_rx_reqs()
422 else if (list_empty(&req->list)) in setup_rx_reqs()
478 (likely(list_empty(&dev->rx_buffers)))) { in printer_read()
493 (likely(!list_empty(&dev->rx_buffers)))); in printer_read()
498 while ((current_rx_bytes || likely(!list_empty(&dev->rx_buffers))) in printer_read()
597 if (likely(list_empty(&dev->tx_reqs))) { in printer_write()
612 (likely(!list_empty(&dev->tx_reqs)))); in printer_write()
616 while (likely(!list_empty(&dev->tx_reqs)) && len) { in printer_write()
706 tx_list_empty = (likely(list_empty(&dev->tx_reqs))); in printer_fsync()
[all …]
/OK3568_Linux_fs/kernel/fs/fscache/
H A Doperation.c65 ASSERT(list_empty(&op->pend_link)); in fscache_enqueue_operation()
135 if (!list_empty(&object->pending_ops)) { in fscache_report_unexpected_submission()
171 ASSERT(list_empty(&op->pend_link)); in fscache_submit_exclusive_op()
196 } else if (!list_empty(&object->pending_ops)) { in fscache_submit_exclusive_op()
258 ASSERT(list_empty(&op->pend_link)); in fscache_submit_op()
282 } else if (!list_empty(&object->pending_ops)) { in fscache_submit_op()
335 while (!list_empty(&object->pending_ops) && !stop) { in fscache_start_operations()
379 ASSERT(!list_empty(&op->pend_link)); in fscache_cancel_op()
427 while (!list_empty(&object->pending_ops)) { in fscache_cancel_all_ops()
573 if (list_empty(&cache->op_gc_list)) { in fscache_operation_gc()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_irq.c404 if (!list_empty(lh)) { in amdgpu_dm_irq_fini()
436 if (!list_empty(hnd_list_l) || !list_empty(hnd_list_h)) in amdgpu_dm_irq_suspend()
441 if (!list_empty(hnd_list_l)) { in amdgpu_dm_irq_suspend()
471 if (!list_empty(hnd_list_l) || !list_empty(hnd_list_h)) in amdgpu_dm_irq_resume_early()
497 if (!list_empty(hnd_list_l) || !list_empty(hnd_list_h)) in amdgpu_dm_irq_resume_late()
516 if (list_empty(handler_list)) in amdgpu_dm_irq_schedule_work()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Di915_scheduler.c63 if (list_empty(&p->requests[i])) in assert_priolists()
303 GEM_BUG_ON(!list_empty(&node->link)); in __i915_schedule()
341 if (list_empty(&node->link)) in __i915_schedule()
405 GEM_BUG_ON(!list_empty(&node->signalers_list)); in i915_sched_node_reinit()
406 GEM_BUG_ON(!list_empty(&node->waiters_list)); in i915_sched_node_reinit()
407 GEM_BUG_ON(!list_empty(&node->link)); in i915_sched_node_reinit()
485 GEM_BUG_ON(!list_empty(&dep->dfs_link)); in i915_sched_node_fini()
496 GEM_BUG_ON(!list_empty(&dep->dfs_link)); in i915_sched_node_fini()
/OK3568_Linux_fs/kernel/drivers/misc/mei/
H A Dinit.c335 list_empty(&dev->ctrl_wr_list) && in mei_write_is_idle()
336 list_empty(&dev->write_list) && in mei_write_is_idle()
337 list_empty(&dev->write_waiting_list)); in mei_write_is_idle()
342 list_empty(&dev->ctrl_wr_list), in mei_write_is_idle()
343 list_empty(&dev->write_list), in mei_write_is_idle()
344 list_empty(&dev->write_waiting_list)); in mei_write_is_idle()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dspace-info.c356 if (!list_empty(&ticket->list)) { in remove_ticket()
377 while (!list_empty(head)) { in btrfs_try_granting_tickets()
550 if (list_empty(&space_info->tickets) && in shrink_delalloc()
551 list_empty(&space_info->priority_tickets)) { in shrink_delalloc()
596 if (!list_empty(&space_info->priority_tickets)) in may_commit_transaction()
599 else if (!list_empty(&space_info->tickets)) in may_commit_transaction()
873 while (!list_empty(&space_info->tickets) && in maybe_fail_all_tickets()
947 if (list_empty(&space_info->tickets)) { in btrfs_async_reclaim_metadata_space()
1064 if (list_empty(&space_info->tickets)) { in btrfs_async_reclaim_data_space()
1075 if (list_empty(&space_info->tickets)) { in btrfs_async_reclaim_data_space()
[all …]
/OK3568_Linux_fs/kernel/drivers/isdn/mISDN/
H A Dtimerdev.c74 while (!list_empty(list)) { in mISDN_close()
108 while (list_empty(list) && (dev->work == 0)) { in mISDN_read()
113 !list_empty(list))); in mISDN_read()
120 if (!list_empty(list)) { in mISDN_read()
146 if (dev->work || !list_empty(&dev->expired)) in mISDN_poll()
150 dev->work, list_empty(&dev->expired)); in mISDN_poll()
/OK3568_Linux_fs/kernel/drivers/hid/intel-ish-hid/ishtp/
H A Dclient-buffers.c104 while (!list_empty(&cl->free_rb_list.list)) { in ishtp_cl_free_rx_ring()
114 while (!list_empty(&cl->in_process_list.list)) { in ishtp_cl_free_rx_ring()
137 while (!list_empty(&cl->tx_free_list.list)) { in ishtp_cl_free_tx_ring()
149 while (!list_empty(&cl->tx_list.list)) { in ishtp_cl_free_tx_ring()
268 tx_list_empty = list_empty(&cl->tx_list.list); in ishtp_cl_tx_empty()
/OK3568_Linux_fs/external/security/librkcrypto/include/
H A Drk_list.h254 static inline int list_empty(const struct list_head *head) in list_empty() function
287 if (!list_empty(head)) { in list_rotate_left()
299 return !list_empty(head) && (head->next == head->prev); in list_is_singular()
333 if (list_empty(head)) in list_cut_position()
367 if (!list_empty(list)) in list_splice()
379 if (!list_empty(list)) in list_splice_tail()
393 if (!list_empty(list)) { in list_splice_init()
410 if (!list_empty(list)) { in list_splice_tail_init()
456 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL)
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Dlist.h187 static inline int list_empty(const struct list_head *head) in list_empty() function
219 if (!list_empty(head)) { in list_rotate_left()
231 return !list_empty(head) && (head->next == head->prev); in list_is_singular()
263 if (list_empty(head)) in list_cut_position()
296 if (!list_empty(list)) in list_splice()
308 if (!list_empty(list)) in list_splice_tail()
322 if (!list_empty(list)) { in list_splice_init()
339 if (!list_empty(list)) { in list_splice_tail_init()
385 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL)
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A Dintel_breadcrumbs.c127 if (!list_empty(&ce->signals)) in remove_signaling_context()
245 if (!signal && READ_ONCE(b->irq_armed) && list_empty(&b->signalers)) in signal_irq_work()
298 if (!READ_ONCE(b->irq_armed) && !list_empty(&b->signalers)) in signal_irq_work()
350 GEM_BUG_ON(!list_empty(&b->signalers)); in intel_breadcrumbs_park()
356 GEM_BUG_ON(!list_empty(&b->signalers)); in intel_breadcrumbs_free()
384 if (list_empty(&ce->signals)) { in insert_breadcrumb()
499 if (!list_empty(&b->signalers)) in intel_engine_print_breadcrumbs()

12345678910>>...83