Home
last modified time | relevance | path

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

12345678910>>...77

/linux/fs/ocfs2/dlm/
A Ddlmthread.c63 if (list_empty(&res->granted) && in __dlm_lockres_has_locks()
64 list_empty(&res->converting) && in __dlm_lockres_has_locks()
65 list_empty(&res->blocked)) in __dlm_lockres_has_locks()
113 if (list_empty(&res->purge)) { in __dlm_lockres_calc_usage()
156 if (!list_empty(&res->purge)) { in __dlm_do_purge_lockres()
174 if (!list_empty(&res->tracking)) in __dlm_do_purge_lockres()
232 if (!list_empty(&res->purge)) { in dlm_purge_lockres()
257 if (!list_empty(&res->tracking)) in dlm_purge_lockres()
359 if (list_empty(&res->converting)) in dlm_shuffle_lists()
433 if (list_empty(&res->blocked)) in dlm_shuffle_lists()
[all …]
A Ddlmdebug.c68 (list_empty(&lock->ast_list) ? 'y' : 'n'), in __dlm_print_lock()
70 (list_empty(&lock->bast_list) ? 'y' : 'n'), in __dlm_print_lock()
93 list_empty(&res->purge) ? "no" : "yes"); in __dlm_print_one_lock_resource()
96 list_empty(&res->dirty) ? "no" : "yes", in __dlm_print_one_lock_resource()
282 !list_empty(&mle->hb_events), in dump_mle()
475 !list_empty(&lock->ast_list), in dump_lock()
476 !list_empty(&lock->bast_list), in dump_lock()
502 !list_empty(&res->purge), in dump_lockres()
503 !list_empty(&res->dirty), in dump_lockres()
504 !list_empty(&res->recovering), in dump_lockres()
[all …]
/linux/kernel/sched/
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()
A Dwait.c267 if (list_empty(&wq_entry->entry)) in prepare_to_wait()
283 if (list_empty(&wq_entry->entry)) { in prepare_to_wait_exclusive()
284 was_empty = list_empty(&wq_head->head); in prepare_to_wait_exclusive()
324 if (list_empty(&wq_entry->entry)) { in prepare_to_wait_event()
347 if (likely(list_empty(&wait->entry))) in do_wait_intr()
364 if (likely(list_empty(&wait->entry))) in do_wait_intr_irq()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_ooo.c34 if (unlikely(list_empty(&p_archipelago->isles_list))) in qed_ooo_seek_archipelago()
175 while (!list_empty(&p_archipelago->isles_list)) { in qed_ooo_release_connection_isles()
181 while (!list_empty(&p_isle->buffers_list)) { in qed_ooo_release_connection_isles()
208 while (!list_empty(&p_archipelago->isles_list)) { in qed_ooo_release_all_isles()
215 while (!list_empty(&p_isle->buffers_list)) { in qed_ooo_release_all_isles()
231 if (!list_empty(&p_ooo_info->ready_buffers_list)) in qed_ooo_release_all_isles()
288 if (!list_empty(&p_ooo_info->free_buffers_list)) { in qed_ooo_get_free_buffer()
315 if (!list_empty(&p_ooo_info->ready_buffers_list)) { in qed_ooo_get_ready_buffer()
340 if (list_empty(&p_isle->buffers_list)) in qed_ooo_delete_isles()
379 if (!list_empty(&p_ooo_info->free_isles_list)) { in qed_ooo_add_new_isle()
[all …]
/linux/include/net/
A Dfq_impl.h102 if (list_empty(head)) { in fq_tin_dequeue()
104 if (list_empty(head)) in fq_tin_dequeue()
121 !list_empty(&tin->old_flows)) { in fq_tin_dequeue()
212 else if (list_empty(&tin->tin_list)) in fq_tin_enqueue()
223 if (list_empty(&flow->flowchain)) { in fq_tin_enqueue()
295 if (!list_empty(&flow->flowchain)) { in fq_flow_reset()
297 if (list_empty(&tin->new_flows) && in fq_flow_reset()
298 list_empty(&tin->old_flows)) in fq_flow_reset()
316 if (list_empty(head)) { in fq_tin_reset()
318 if (list_empty(head)) in fq_tin_reset()
[all …]
/linux/fs/
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()
398 else if (!list_empty(&child->mnt_mounts)) in propagate_mount_busy()
499 while (!list_empty(to_restore)) { in restore_mounts()
521 while (!list_empty(visited)) { in cleanup_umount_visitations()
553 if (!list_empty(&mnt->mnt_umounting)) in propagate_umount()
564 if (!list_empty(&child->mnt_umounting)) { in propagate_umount()
[all …]
A Dfs-writeback.c101 list_empty(&wb->b_io) && list_empty(&wb->b_more_io)) { in wb_io_lists_depopulated()
1331 if (!list_empty(&wb->b_dirty)) { in redirty_tail_locked()
1422 while (!list_empty(&tmp)) { in move_expired_inodes()
1807 while (!list_empty(&wb->b_io)) { in writeback_sb_inodes()
1938 while (!list_empty(&wb->b_io)) { in __writeback_inodes_wb()
1979 if (list_empty(&wb->b_io)) in writeback_inodes_wb()
2028 !list_empty(&wb->work_list)) in wb_writeback()
2051 if (list_empty(&wb->b_io)) in wb_writeback()
2072 if (list_empty(&wb->b_more_io)) in wb_writeback()
2252 if (!list_empty(&wb->work_list)) in wb_workfn()
[all …]
/linux/drivers/usb/host/
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()
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()
/linux/kernel/locking/
A Dmutex-debug.c39 DEBUG_LOCKS_WARN_ON(list_empty(&lock->wait_list)); in debug_mutex_wake_waiter()
41 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in debug_mutex_wake_waiter()
46 DEBUG_LOCKS_WARN_ON(!list_empty(&waiter->list)); in debug_mutex_free_waiter()
62 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in debug_mutex_remove_waiter()
/linux/fs/gfs2/
A Dlog.c254 if (!list_empty(&sdp->sd_ail1_list)) { in gfs2_log_update_flush_tail()
280 while (!list_empty(head)) { in gfs2_ail_empty_tr()
364 ret = list_empty(&sdp->sd_ail1_list); in gfs2_ail1_empty()
713 if (!list_empty(&ip->i_ordered)) in __ordered_del_inode()
858 if (!list_empty(&jd->extent_list)) in gfs2_write_log_header()
944 while (!list_empty(&sdp->sd_ail1_list)) { in gfs2_ail_drain()
1002 while (!list_empty(head)) { in trans_drain()
1005 if (!list_empty(&bd->bd_ail_st_list)) in trans_drain()
1010 while (!list_empty(head)) { in trans_drain()
1013 if (!list_empty(&bd->bd_ail_st_list)) in trans_drain()
[all …]
A Dtrans.c217 if (list_empty(&bd->bd_list)) { in gfs2_trans_add_data()
259 if (!list_empty(&bd->bd_list)) in gfs2_trans_add_meta()
293 BUG_ON(!list_empty(&bd->bd_list)); in gfs2_trans_add_revoke()
326 gfs2_assert_warn(sdp, list_empty(&tr->tr_ail1_list)); in gfs2_trans_free()
327 gfs2_assert_warn(sdp, list_empty(&tr->tr_ail2_list)); in gfs2_trans_free()
328 gfs2_assert_warn(sdp, list_empty(&tr->tr_databuf)); in gfs2_trans_free()
329 gfs2_assert_warn(sdp, list_empty(&tr->tr_buf)); in gfs2_trans_free()
/linux/drivers/usb/gadget/function/
A Df_printer.c422 else if (list_empty(&req->list)) in setup_rx_reqs()
478 (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()
742 if (likely(!list_empty(&dev->tx_reqs))) in printer_poll()
746 likely(!list_empty(&dev->rx_buffers))) in printer_poll()
1154 while (!list_empty(&dev->rx_reqs)) { in printer_func_bind()
1161 while (!list_empty(&dev->tx_reqs)) { in printer_func_bind()
1430 while (!list_empty(&dev->tx_reqs)) { in printer_func_unbind()
1440 while (!list_empty(&dev->rx_reqs)) { in printer_func_unbind()
[all …]
/linux/fs/notify/
A Dnotification.c62 if (!list_empty(&event->list)) { in fsnotify_destroy_event()
64 WARN_ON(!list_empty(&event->list)); in fsnotify_destroy_event()
104 if (!list_empty(&group->overflow_event->list)) { in fsnotify_insert_event()
112 if (!list_empty(list) && merge) { in fsnotify_insert_event()
/linux/fs/fscache/
A Doperation.c68 ASSERT(list_empty(&op->pend_link)); in fscache_enqueue_operation()
138 if (!list_empty(&object->pending_ops)) { in fscache_report_unexpected_submission()
174 ASSERT(list_empty(&op->pend_link)); in fscache_submit_exclusive_op()
199 } else if (!list_empty(&object->pending_ops)) { in fscache_submit_exclusive_op()
261 ASSERT(list_empty(&op->pend_link)); in fscache_submit_op()
285 } else if (!list_empty(&object->pending_ops)) { in fscache_submit_op()
338 while (!list_empty(&object->pending_ops) && !stop) { in fscache_start_operations()
382 ASSERT(!list_empty(&op->pend_link)); in fscache_cancel_op()
430 while (!list_empty(&object->pending_ops)) { in fscache_cancel_all_ops()
576 if (list_empty(&cache->op_gc_list)) { in fscache_operation_gc()
[all …]
/linux/drivers/isdn/mISDN/
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()
/linux/drivers/misc/mei/
A Dinit.c338 list_empty(&dev->ctrl_wr_list) && in mei_write_is_idle()
339 list_empty(&dev->write_list) && in mei_write_is_idle()
340 list_empty(&dev->write_waiting_list)); in mei_write_is_idle()
345 list_empty(&dev->ctrl_wr_list), in mei_write_is_idle()
346 list_empty(&dev->write_list), in mei_write_is_idle()
347 list_empty(&dev->write_waiting_list)); in mei_write_is_idle()
/linux/net/sctp/
A Dstream_sched_prio.c94 if (!list_empty(&soute->prio_list)) { in sctp_sched_prio_unsched()
107 if (list_empty(&prio_head->active)) { in sctp_sched_prio_unsched()
125 if (!list_empty(&soute->prio_list)) in sctp_sched_prio_sched()
224 if (prio && list_empty(&prio->prio_sched)) in sctp_sched_prio_free()
254 if (list_empty(&q->out_chunk_list)) in sctp_sched_prio_dequeue()
290 if (list_empty(&soute->outq)) in sctp_sched_prio_dequeue_done()
/linux/drivers/hid/intel-ish-hid/ishtp/
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()
/linux/tools/include/linux/
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)
/linux/drivers/gpu/drm/i915/
A Di915_scheduler.c224 GEM_BUG_ON(!list_empty(&node->link)); in __i915_schedule()
270 if (list_empty(&node->link)) in __i915_schedule()
311 GEM_BUG_ON(!list_empty(&node->signalers_list)); in i915_sched_node_reinit()
312 GEM_BUG_ON(!list_empty(&node->waiters_list)); in i915_sched_node_reinit()
313 GEM_BUG_ON(!list_empty(&node->link)); in i915_sched_node_reinit()
387 GEM_BUG_ON(!list_empty(&dep->dfs_link)); in i915_sched_node_fini()
398 GEM_BUG_ON(!list_empty(&dep->dfs_link)); in i915_sched_node_fini()
/linux/net/core/
A Dlink_watch.c110 if (list_empty(&dev->link_watch_list)) { in linkwatch_add_event()
202 while (!list_empty(&wrk) && do_dev > 0) { in __linkwatch_run_queue()
221 if (!list_empty(&lweventlist)) in __linkwatch_run_queue()
232 if (!list_empty(&dev->link_watch_list)) { in linkwatch_forget_dev()
/linux/fs/nfs_common/
A Dgrace.c34 if (list_empty(&lm->list)) in locks_start_grace()
69 return !list_empty(grace_list); in __state_in_grace()
116 WARN_ONCE(!list_empty(grace_list), in grace_exit_net()
/linux/drivers/s390/block/
A Ddasd_alias.c85 if (list_empty(&lcu->grouplist)) in _find_group()
286 if (list_empty(&lcu->grouplist) && in dasd_alias_disconnect_device_from_lcu()
287 list_empty(&lcu->active_devices) && in dasd_alias_disconnect_device_from_lcu()
288 list_empty(&lcu->inactive_devices)) { in dasd_alias_disconnect_device_from_lcu()
299 if (server && list_empty(&server->lculist)) { in dasd_alias_disconnect_device_from_lcu()
369 if (list_empty(&group->baselist) && list_empty(&group->aliaslist)) { in _remove_device_from_lcu()
593 if (!list_empty(&group->baselist)) in _schedule_lcu_update()
597 else if (!list_empty(&group->aliaslist)) in _schedule_lcu_update()
702 if (list_empty(&group->aliaslist)) { in dasd_alias_get_start_dev()
821 while (!list_empty(&active)) { in flush_all_alias_devices_on_lcu()
[all …]

Completed in 47 milliseconds

12345678910>>...77