Searched refs:list_empty_careful (Results 1 - 25 of 52) sorted by relevance

123

/linux-master/lib/
H A Dlist-test.c36 /* list_empty_careful() checks both next and prev. */
37 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list1));
38 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list2));
39 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list3));
40 KUNIT_EXPECT_TRUE(test, list_empty_careful(list4));
41 KUNIT_EXPECT_TRUE(test, list_empty_careful(list5));
123 KUNIT_EXPECT_TRUE(test, list_empty_careful(&a_old));
162 KUNIT_EXPECT_TRUE(test, list_empty_careful(&a));
182 KUNIT_EXPECT_TRUE(test, list_empty_careful(&a));
321 KUNIT_EXPECT_FALSE(test, list_empty_careful(
[all...]
/linux-master/include/linux/
H A Dfilelock.h430 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease))
444 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease))
474 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease))
/linux-master/kernel/sched/
H A Dswait.c138 if (!list_empty_careful(&wait->task_list)) {
H A Dwait.c374 if (!list_empty_careful(&wq_entry->entry)) {
/linux-master/block/
H A Dblk-mq-sched.c36 * Order clearing SCHED_RESTART and list_empty_careful(&hctx->dispatch)
109 if (!list_empty_careful(&hctx->dispatch)) {
226 if (!list_empty_careful(&hctx->dispatch)) {
279 if (!list_empty_careful(&hctx->dispatch)) {
355 list_empty_careful(&ctx->rq_lists[type]))
H A Dkyber-iosched.c723 if (nr < 0 && list_empty_careful(&wait->wait.entry)) {
740 * between the !list_empty_careful() check and us grabbing the lock, but
743 if (nr >= 0 && !list_empty_careful(&wait->wait.entry)) {
855 if (!list_empty_careful(&khd->rqs[i]) ||
951 seq_printf(m, "%d\n", !list_empty_careful(&wait->entry)); \
H A Dmq-deadline.c759 return !list_empty_careful(&per_prio->dispatch) ||
760 !list_empty_careful(&per_prio->fifo_list[DD_READ]) ||
761 !list_empty_careful(&per_prio->fifo_list[DD_WRITE]);
H A Dblk-mq.c61 return !list_empty_careful(&hctx->dispatch) ||
1826 if (!list_empty_careful(&wait->entry))
2116 (no_tag && list_empty_careful(&hctx->dispatch_wait.entry)))
2298 !list_empty_careful(&hctx->dispatch))
2334 !list_empty_careful(&hctx->dispatch))
/linux-master/drivers/target/
H A Dtarget_core_ua.c45 if (list_empty_careful(&deve->ua_list)) {
290 if (list_empty_careful(&deve->ua_list)) {
/linux-master/virt/kvm/
H A Dasync_pf.c168 while (!list_empty_careful(&vcpu->async_pf.done) &&
232 if (!list_empty_careful(&vcpu->async_pf.done))
/linux-master/fs/lockd/
H A Dsvcsubs.c216 if (!flctx || list_empty_careful(&flctx->flc_posix))
273 if (flctx && !list_empty_careful(&flctx->flc_posix)) {
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcq.c81 if (list_empty_careful(&cq->tasklet_ctx.list)) {
/linux-master/drivers/misc/mei/
H A Dclient.h45 return !list_empty_careful(&me_cl->list);
/linux-master/io_uring/
H A Dnapi.c321 if (list_empty_careful(&ctx->napi_list))
/linux-master/drivers/gpu/drm/i915/
H A Dintel_memory_region.c319 GEM_WARN_ON(!list_empty_careful(&mem->objects.list));
/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Docteon_network.h615 if (list_empty_careful(root))
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dcq.c94 if (list_empty_careful(&cq->tasklet_ctx.list)) {
/linux-master/drivers/leds/
H A Dled-triggers.c332 if (list_empty_careful(&trig->next_trig))
/linux-master/fs/nfs/
H A Dwrite.c1198 !(list_empty_careful(&flctx->flc_posix) &&
1199 list_empty_careful(&flctx->flc_flock))) {
1325 if (!flctx || (list_empty_careful(&flctx->flc_flock) &&
1326 list_empty_careful(&flctx->flc_posix)))
H A Dpagelist.c1188 !(list_empty_careful(&flctx->flc_posix) &&
1189 list_empty_careful(&flctx->flc_flock)) &&
/linux-master/fs/xfs/
H A Dxfs_log.c359 if (!list_empty_careful(&head->waiters)) {
1148 if (!list_empty_careful(&log->l_write_head.waiters)) {
1157 if (!list_empty_careful(&log->l_reserve_head.waiters)) {
2557 ASSERT(list_empty_careful(&iclog->ic_callbacks));
2717 if (list_empty_careful(&iclog->ic_callbacks))
H A Dxfs_trans_ail.c441 (!list_empty_careful(&ailp->ail_buf_list) ||
/linux-master/tools/include/linux/
H A Dlist.h193 * list_empty_careful - tests whether a list is empty and not being modified
200 * NOTE: using list_empty_careful() without synchronization
205 static inline int list_empty_careful(const struct list_head *head) function
/linux-master/drivers/rtc/
H A Drtc-imxdi.c692 if (list_empty_careful(&imxdi->write_wait.head))
/linux-master/fs/
H A Dlocks.c961 if (!ctx || list_empty_careful(&ctx->flc_posix)) {
1663 if (ctx && !list_empty_careful(&ctx->flc_lease)) {
1709 if (ctx && !list_empty_careful(&ctx->flc_lease)) {

Completed in 500 milliseconds

123