/Linux-v4.19/fs/ocfs2/dlm/ |
D | dlmthread.c | 82 if (list_empty(&res->granted) && in __dlm_lockres_has_locks() 83 list_empty(&res->converting) && in __dlm_lockres_has_locks() 84 list_empty(&res->blocked)) in __dlm_lockres_has_locks() 106 if (!list_empty(&res->dirty) || res->state & DLM_LOCK_RES_DIRTY) in __dlm_lockres_unused() 132 if (list_empty(&res->purge)) { in __dlm_lockres_calc_usage() 141 } else if (!list_empty(&res->purge)) { in __dlm_lockres_calc_usage() 175 if (!list_empty(&res->purge)) { in __dlm_do_purge_lockres() 193 if (!list_empty(&res->tracking)) in __dlm_do_purge_lockres() 251 if (!list_empty(&res->purge)) { in dlm_purge_lockres() 276 if (!list_empty(&res->tracking)) in dlm_purge_lockres() [all …]
|
D | dlmdebug.c | 85 (list_empty(&lock->ast_list) ? 'y' : 'n'), in __dlm_print_lock() 87 (list_empty(&lock->bast_list) ? 'y' : 'n'), in __dlm_print_lock() 110 list_empty(&res->purge) ? "no" : "yes"); in __dlm_print_one_lock_resource() 113 list_empty(&res->dirty) ? "no" : "yes", in __dlm_print_one_lock_resource() 114 list_empty(&res->recovering) ? "no" : "yes", in __dlm_print_one_lock_resource() 299 !list_empty(&mle->hb_events), in dump_mle() 492 !list_empty(&lock->ast_list), in dump_lock() 493 !list_empty(&lock->bast_list), in dump_lock() 519 !list_empty(&res->purge), in dump_lockres() 520 !list_empty(&res->dirty), in dump_lockres() [all …]
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_ooo.c | 60 if (list_empty(&p_archipelago->isles_list)) in qed_ooo_seek_archipelago() 200 while (!list_empty(&p_archipelago->isles_list)) { in qed_ooo_release_connection_isles() 206 while (!list_empty(&p_isle->buffers_list)) { in qed_ooo_release_connection_isles() 234 while (!list_empty(&p_archipelago->isles_list)) { in qed_ooo_release_all_isles() 241 while (!list_empty(&p_isle->buffers_list)) { in qed_ooo_release_all_isles() 258 if (!list_empty(&p_ooo_info->ready_buffers_list)) in qed_ooo_release_all_isles() 281 while (!list_empty(&p_ooo_info->free_buffers_list)) { in qed_ooo_free() 315 if (!list_empty(&p_ooo_info->free_buffers_list)) { in qed_ooo_get_free_buffer() 342 if (!list_empty(&p_ooo_info->ready_buffers_list)) { in qed_ooo_get_ready_buffer() 369 if (list_empty(&p_isle->buffers_list)) in qed_ooo_delete_isles() [all …]
|
/Linux-v4.19/fs/notify/ |
D | notification.c | 67 return list_empty(&group->notification_list) ? true : false; in fsnotify_notify_queue_is_empty() 82 if (!list_empty(&event->list)) { in fsnotify_destroy_event() 84 WARN_ON(!list_empty(&event->list)); in fsnotify_destroy_event() 118 if (!list_empty(&group->overflow_event->list)) { in fsnotify_add_event() 126 if (!list_empty(list) && merge) { in fsnotify_add_event()
|
/Linux-v4.19/drivers/usb/host/ |
D | fhci-q.c | 74 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()
|
D | ehci-timer.c | 222 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()
|
/Linux-v4.19/kernel/sched/ |
D | swait.c | 26 if (list_empty(&q->task_list)) in swake_up_locked() 56 while (!list_empty(&tmp)) { in swake_up_all() 62 if (list_empty(&tmp)) in swake_up_all() 75 if (list_empty(&wait->task_list)) in __prepare_to_swait() 116 if (!list_empty(&wait->task_list)) in __finish_swait()
|
/Linux-v4.19/fs/ |
D | pnode.c | 77 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() 389 if (!list_empty(&mnt->mnt_mounts) || do_refcount_check(mnt, refcnt)) in propagate_mount_busy() 405 else if (!list_empty(&child->mnt_mounts)) in propagate_mount_busy() 467 if (!list_empty(&child->mnt_umounting) && IS_MNT_MARKED(child)) in __propagate_umount() 506 while (!list_empty(to_restore)) { in restore_mounts() 528 while (!list_empty(visited)) { in cleanup_umount_visitations() [all …]
|
D | fs-writeback.c | 117 if (wb_has_dirty_io(wb) && list_empty(&wb->b_dirty) && in wb_io_lists_depopulated() 118 list_empty(&wb->b_io) && list_empty(&wb->b_more_io)) { in wb_io_lists_depopulated() 407 if (!list_empty(&inode->i_io_list)) { in inode_switch_wbs_work_fn() 825 list_empty(&wb->b_dirty_time))) in bdi_split_work_to_wbs() 1009 if (list_empty(&inode->i_wb_list)) { in sb_mark_inode_writeback() 1011 if (list_empty(&inode->i_wb_list)) { in sb_mark_inode_writeback() 1027 if (!list_empty(&inode->i_wb_list)) { in sb_clear_inode_writeback() 1029 if (!list_empty(&inode->i_wb_list)) { in sb_clear_inode_writeback() 1048 if (!list_empty(&wb->b_dirty)) { in redirty_tail() 1117 while (!list_empty(delaying_queue)) { in move_expired_inodes() [all …]
|
/Linux-v4.19/kernel/locking/ |
D | mutex-debug.c | 40 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 mutex_remove_waiter()
|
D | rwsem-spinlock.c | 137 if (sem->count >= 0 && list_empty(&sem->wait_list)) { in __down_read_common() 199 if (sem->count >= 0 && list_empty(&sem->wait_list)) { in __down_read_trylock() 254 if (!list_empty(&sem->wait_list) && sem->count >= 0) in __down_write_common() 301 if (--sem->count == 0 && !list_empty(&sem->wait_list)) in __up_read() 317 if (!list_empty(&sem->wait_list)) in __up_write() 334 if (!list_empty(&sem->wait_list)) in __downgrade_write()
|
D | rwsem-xadd.c | 213 if (list_empty(&sem->wait_list)) { in __rwsem_mark_wake() 236 if (list_empty(&sem->wait_list)) in __rwsem_down_read_failed_common() 276 if (list_empty(&sem->wait_list)) in __rwsem_down_read_failed_common() 520 if (list_empty(&sem->wait_list)) in __rwsem_down_write_failed_common() 582 if (list_empty(&sem->wait_list)) in __rwsem_down_write_failed_common() 676 if (!list_empty(&sem->wait_list)) in rwsem_wake() 699 if (!list_empty(&sem->wait_list)) in rwsem_downgrade_wake()
|
/Linux-v4.19/net/unix/ |
D | garbage.c | 129 BUG_ON(!list_empty(&u->link)); in unix_inflight() 132 BUG_ON(list_empty(&u->link)); in unix_inflight() 150 BUG_ON(list_empty(&u->link)); in unix_notinflight() 223 BUG_ON(!list_empty(&u->link)); in scan_children() 228 while (!list_empty(&embryos)) { in scan_children() 356 while (!list_empty(¬_cycle_list)) { in unix_gc() 370 BUG_ON(!list_empty(&gc_candidates)); in unix_gc()
|
/Linux-v4.19/include/net/ |
D | fq_impl.h | 75 if (list_empty(head)) { in fq_tin_dequeue() 77 if (list_empty(head)) in fq_tin_dequeue() 94 !list_empty(&tin->old_flows)) { in fq_tin_dequeue() 143 if (list_empty(&flow->backlogchain)) in fq_recalc_backlog() 177 if (list_empty(&flow->flowchain)) { in fq_tin_enqueue() 255 if (!list_empty(&flow->flowchain)) in fq_flow_reset() 258 if (!list_empty(&flow->backlogchain)) in fq_flow_reset() 275 if (list_empty(head)) { in fq_tin_reset() 277 if (list_empty(head)) in fq_tin_reset()
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | f_printer.c | 322 if (likely(list_empty(&dev->tx_reqs_active))) in tx_complete() 379 while (likely(!list_empty(&dev->rx_reqs))) { in setup_rx_reqs() 405 else if (list_empty(&req->list)) in setup_rx_reqs() 455 (likely(list_empty(&dev->rx_buffers)))) { in printer_read() 470 (likely(!list_empty(&dev->rx_buffers)))); in printer_read() 475 while ((current_rx_bytes || likely(!list_empty(&dev->rx_buffers))) in printer_read() 568 if (likely(list_empty(&dev->tx_reqs))) { in printer_write() 583 (likely(!list_empty(&dev->tx_reqs)))); in printer_write() 587 while (likely(!list_empty(&dev->tx_reqs)) && len) { in printer_write() 670 tx_list_empty = (likely(list_empty(&dev->tx_reqs))); in printer_fsync() [all …]
|
/Linux-v4.19/net/core/ |
D | link_watch.c | 107 if (list_empty(&dev->link_watch_list)) { in linkwatch_add_event() 192 while (!list_empty(&wrk)) { in __linkwatch_run_queue() 206 if (!list_empty(&lweventlist)) in __linkwatch_run_queue() 217 if (!list_empty(&dev->link_watch_list)) { in linkwatch_forget_dev()
|
/Linux-v4.19/fs/nfs_common/ |
D | grace.c | 33 if (list_empty(&lm->list)) in locks_start_grace() 69 return !list_empty(grace_list); in __state_in_grace() 111 WARN_ONCE(!list_empty(grace_list), in grace_exit_net()
|
/Linux-v4.19/drivers/misc/mei/ |
D | init.c | 343 list_empty(&dev->ctrl_wr_list) && in mei_write_is_idle() 344 list_empty(&dev->write_list) && in mei_write_is_idle() 345 list_empty(&dev->write_waiting_list)); in mei_write_is_idle() 350 list_empty(&dev->ctrl_wr_list), in mei_write_is_idle() 351 list_empty(&dev->write_list), in mei_write_is_idle() 352 list_empty(&dev->write_waiting_list)); in mei_write_is_idle()
|
/Linux-v4.19/fs/fscache/ |
D | operation.c | 69 ASSERT(list_empty(&op->pend_link)); in fscache_enqueue_operation() 139 if (!list_empty(&object->pending_ops)) { in fscache_report_unexpected_submission() 175 ASSERT(list_empty(&op->pend_link)); in fscache_submit_exclusive_op() 200 } else if (!list_empty(&object->pending_ops)) { in fscache_submit_exclusive_op() 262 ASSERT(list_empty(&op->pend_link)); in fscache_submit_op() 286 } else if (!list_empty(&object->pending_ops)) { in fscache_submit_op() 339 while (!list_empty(&object->pending_ops) && !stop) { in fscache_start_operations() 383 ASSERT(!list_empty(&op->pend_link)); in fscache_cancel_op() 431 while (!list_empty(&object->pending_ops)) { in fscache_cancel_all_ops() 577 if (list_empty(&cache->op_gc_list)) { in fscache_operation_gc() [all …]
|
/Linux-v4.19/net/sctp/ |
D | stream_sched_prio.c | 109 if (!list_empty(&soute->prio_list)) { in sctp_sched_prio_unsched() 122 if (list_empty(&prio_head->active)) { in sctp_sched_prio_unsched() 140 if (!list_empty(&soute->prio_list)) in sctp_sched_prio_sched() 239 if (prio && list_empty(&prio->prio_sched)) in sctp_sched_prio_free() 269 if (list_empty(&q->out_chunk_list)) in sctp_sched_prio_dequeue() 305 if (list_empty(&soute->outq)) in sctp_sched_prio_dequeue_done()
|
D | stream_sched_rr.c | 62 if (list_empty(&stream->rr_list)) in sctp_sched_rr_unsched() 69 if (!list_empty(&soute->rr_list)) in sctp_sched_rr_sched() 133 if (list_empty(&q->out_chunk_list)) in sctp_sched_rr_dequeue() 161 if (list_empty(&soute->outq)) in sctp_sched_rr_dequeue_done()
|
/Linux-v4.19/drivers/isdn/mISDN/ |
D | timerdev.c | 83 while (!list_empty(list)) { in mISDN_close() 117 while (list_empty(list) && (dev->work == 0)) { in mISDN_read() 122 !list_empty(list))); in mISDN_read() 129 if (!list_empty(list)) { in mISDN_read() 155 if (dev->work || !list_empty(&dev->expired)) in mISDN_poll() 159 dev->work, list_empty(&dev->expired)); in mISDN_poll()
|
/Linux-v4.19/block/ |
D | deadline-iosched.c | 175 if (!list_empty(&req->queuelist) && !list_empty(&next->queuelist)) { in deadline_merged_requests() 255 if (list_empty(&dd->fifo_list[data_dir])) in deadline_fifo_request() 313 const int reads = !list_empty(&dd->fifo_list[READ]); in deadline_dispatch_requests() 314 const int writes = !list_empty(&dd->fifo_list[WRITE]); in deadline_dispatch_requests() 416 BUG_ON(!list_empty(&dd->fifo_list[READ])); in deadline_exit_queue() 417 BUG_ON(!list_empty(&dd->fifo_list[WRITE])); in deadline_exit_queue()
|
/Linux-v4.19/tools/include/linux/ |
D | list.h | 187 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)
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_flip_work.c | 126 if (list_empty(&tasks)) in flip_worker() 165 WARN_ON(!list_empty(&work->queued) || !list_empty(&work->commited)); in drm_flip_work_cleanup()
|