Searched refs:list_empty_careful (Results 1 - 25 of 52) sorted by relevance
123
/linux-master/lib/ |
H A D | list-test.c | 36 /* 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 D | filelock.h | 430 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 D | swait.c | 138 if (!list_empty_careful(&wait->task_list)) {
|
H A D | wait.c | 374 if (!list_empty_careful(&wq_entry->entry)) {
|
/linux-master/block/ |
H A D | blk-mq-sched.c | 36 * 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 D | kyber-iosched.c | 723 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 D | mq-deadline.c | 759 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 D | blk-mq.c | 61 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 D | target_core_ua.c | 45 if (list_empty_careful(&deve->ua_list)) { 290 if (list_empty_careful(&deve->ua_list)) {
|
/linux-master/virt/kvm/ |
H A D | async_pf.c | 168 while (!list_empty_careful(&vcpu->async_pf.done) && 232 if (!list_empty_careful(&vcpu->async_pf.done))
|
/linux-master/fs/lockd/ |
H A D | svcsubs.c | 216 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 D | cq.c | 81 if (list_empty_careful(&cq->tasklet_ctx.list)) {
|
/linux-master/drivers/misc/mei/ |
H A D | client.h | 45 return !list_empty_careful(&me_cl->list);
|
/linux-master/io_uring/ |
H A D | napi.c | 321 if (list_empty_careful(&ctx->napi_list))
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | intel_memory_region.c | 319 GEM_WARN_ON(!list_empty_careful(&mem->objects.list));
|
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_network.h | 615 if (list_empty_careful(root))
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | cq.c | 94 if (list_empty_careful(&cq->tasklet_ctx.list)) {
|
/linux-master/drivers/leds/ |
H A D | led-triggers.c | 332 if (list_empty_careful(&trig->next_trig))
|
/linux-master/fs/nfs/ |
H A D | write.c | 1198 !(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 D | pagelist.c | 1188 !(list_empty_careful(&flctx->flc_posix) && 1189 list_empty_careful(&flctx->flc_flock)) &&
|
/linux-master/fs/xfs/ |
H A D | xfs_log.c | 359 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 D | xfs_trans_ail.c | 441 (!list_empty_careful(&ailp->ail_buf_list) ||
|
/linux-master/tools/include/linux/ |
H A D | list.h | 193 * 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 D | rtc-imxdi.c | 692 if (list_empty_careful(&imxdi->write_wait.head))
|
/linux-master/fs/ |
H A D | locks.c | 961 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