Home
last modified time | relevance | path

Searched refs:woken (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/lib/
H A Dklist.c177 int woken; member
196 waiter->woken = 1; in klist_release()
244 waiter.woken = 0; in klist_remove()
253 if (waiter.woken) in klist_remove()
/kernel/linux/linux-6.6/lib/
H A Dklist.c177 int woken; member
196 waiter->woken = 1; in klist_release()
244 waiter.woken = 0; in klist_remove()
253 if (waiter.woken) in klist_remove()
H A Dsbitmap.c553 int i, wake_index, woken; in __sbitmap_queue_wake_up() local
571 woken = wake_up_nr(&ws->wait, nr); in __sbitmap_queue_wake_up()
572 if (woken == nr) in __sbitmap_queue_wake_up()
574 nr -= woken; in __sbitmap_queue_wake_up()
/kernel/linux/linux-5.10/kernel/locking/
H A Drwsem.c397 * - woken process blocks are discarded from the list after having task zeroed
398 * - writers are only marked woken if downgrading is false
405 long oldcount, woken = 0, adjustment = 0; in rwsem_mark_wake() local
479 * queue. We know that the woken will be at least 1 as we accounted in rwsem_mark_wake()
491 * is because the to-be-woken waiter may not have slept yet. So it in rwsem_mark_wake()
498 * put them into wake_q to be woken up later. in rwsem_mark_wake()
505 woken++; in rwsem_mark_wake()
509 * Limit # of readers that can be woken up per wakeup call. in rwsem_mark_wake()
511 if (woken >= MAX_READERS_WAKEUP) in rwsem_mark_wake()
515 adjustment = woken * RWSEM_READER_BIA in rwsem_mark_wake()
[all...]
/kernel/linux/linux-6.6/kernel/locking/
H A Drwsem.c406 * - woken process blocks are discarded from the list after having task zeroed
407 * - writers are only marked woken if downgrading is false
409 * Implies rwsem_del_waiter() for all woken readers.
416 long oldcount, woken = 0, adjustment = 0; in rwsem_mark_wake() local
488 * queue. We know that the woken will be at least 1 as we accounted in rwsem_mark_wake()
500 * is because the to-be-woken waiter may not have slept yet. So it in rwsem_mark_wake()
507 * put them into wake_q to be woken up later. in rwsem_mark_wake()
514 woken++; in rwsem_mark_wake()
518 * Limit # of readers that can be woken up per wakeup call. in rwsem_mark_wake()
520 if (unlikely(woken > in rwsem_mark_wake()
[all...]
/kernel/linux/linux-6.6/kernel/futex/
H A Dwaitwake.c54 * the changed user space value before blocking or is woken by a
387 * @woken: Index of the last woken futex, if any. Used to notify the
395 * - 1 - One of the futexes was woken by another thread
399 static int futex_wait_multiple_setup(struct futex_vector *vs, int count, int *woken) in futex_wait_multiple_setup() argument
458 * was woken, we don't return error and return this index to in futex_wait_multiple_setup()
461 *woken = unqueue_multiple(vs, i); in futex_wait_multiple_setup()
462 if (*woken >= 0) in futex_wait_multiple_setup()
494 * been woken up.
536 /* A futex was woken durin in futex_wait_multiple()
[all...]
/kernel/linux/linux-6.6/net/smc/
H A Dsmc.h148 bool woken; member
H A Daf_smc.c818 mark->woken = true; in smc_fback_mark_woken()
826 struct smc_mark_woken mark = { .woken = false }; in smc_fback_forward_wakeup()
839 if (mark.woken) in smc_fback_forward_wakeup()
933 * in smc sk->sk_wq and they should be woken up in smc_switch_to_fallback()
934 * as clcsock's wait queue is woken up. in smc_switch_to_fallback()
2849 /* woken up by sk_data_ready in smc_listen_work() */ in smc_poll()
/kernel/linux/linux-5.10/fs/ocfs2/dlm/
H A Ddlmmaster.c266 atomic_set(&mle->woken, 0); in dlm_init_mle()
1105 atomic_set(&mle->woken, 0); in dlm_wait_for_lock_mastery()
1107 (atomic_read(&mle->woken) == 1), in dlm_wait_for_lock_mastery()
1925 atomic_set(&mle->woken, 1); in dlm_assert_master_handler()
2684 (atomic_read(&mle->woken) == 1), in dlm_migrate_lockres()
2688 if (atomic_read(&mle->woken) == 1 || in dlm_migrate_lockres()
2873 mlog(0, "woken again: migrating? %s, dead? %s\n", in dlm_mark_lockres_migrating()
3223 atomic_set(&tmp->woken, 1); in dlm_add_migration_mle()
3294 atomic_set(&mle->woken, 1); in dlm_clean_migration_mle()
3319 atomic_set(&mle->woken, in dlm_clean_block_mle()
[all...]
H A Ddlmcommon.h50 atomic_t woken; member
/kernel/linux/linux-6.6/fs/ocfs2/dlm/
H A Ddlmmaster.c264 atomic_set(&mle->woken, 0); in dlm_init_mle()
1103 atomic_set(&mle->woken, 0); in dlm_wait_for_lock_mastery()
1105 (atomic_read(&mle->woken) == 1), in dlm_wait_for_lock_mastery()
1923 atomic_set(&mle->woken, 1); in dlm_assert_master_handler()
2682 (atomic_read(&mle->woken) == 1), in dlm_migrate_lockres()
2686 if (atomic_read(&mle->woken) == 1 || in dlm_migrate_lockres()
2871 mlog(0, "woken again: migrating? %s, dead? %s\n", in dlm_mark_lockres_migrating()
3221 atomic_set(&tmp->woken, 1); in dlm_add_migration_mle()
3292 atomic_set(&mle->woken, 1); in dlm_clean_migration_mle()
3317 atomic_set(&mle->woken, in dlm_clean_block_mle()
[all...]
H A Ddlmcommon.h45 atomic_t woken; member
/kernel/linux/linux-6.6/net/core/
H A Ddev.c4479 * if the thread is explicitly woken from here. in ____napi_schedule()
6638 bool woken = false; in napi_thread_wait() local
6648 if (test_bit(NAPI_STATE_SCHED_THREADED, &napi->state) || woken) { in napi_thread_wait()
6655 /* woken being true indicates this thread owns this napi. */ in napi_thread_wait()
6656 woken = true; in napi_thread_wait()

Completed in 42 milliseconds