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

/linux-master/lib/
H A Dklist.c177 int woken; member in struct:klist_waiter
196 waiter->woken = 1;
244 waiter.woken = 0;
253 if (waiter.woken)
H A Dsbitmap.c548 int i, wake_index, woken; local
566 woken = wake_up_nr(&ws->wait, nr);
567 if (woken == nr)
569 nr -= woken;
/linux-master/drivers/gpu/drm/xe/
H A Dxe_force_wake.c147 enum xe_force_wake_domains tmp, woken = 0; local
154 woken |= BIT(domain->id);
158 for_each_fw_domain_masked(domain, woken, fw, tmp) {
165 fw->awake_domains |= woken;
/linux-master/fs/ocfs2/dlm/
H A Ddlmcommon.h45 atomic_t woken; member in struct:dlm_master_list_entry
H A Ddlmmaster.c264 atomic_set(&mle->woken, 0);
1103 atomic_set(&mle->woken, 0);
1105 (atomic_read(&mle->woken) == 1),
1923 atomic_set(&mle->woken, 1);
2682 (atomic_read(&mle->woken) == 1),
2686 if (atomic_read(&mle->woken) == 1 ||
2871 mlog(0, "woken again: migrating? %s, dead? %s\n",
3221 atomic_set(&tmp->woken, 1);
3292 atomic_set(&mle->woken, 1);
3317 atomic_set(&mle->woken,
[all...]
/linux-master/io_uring/
H A Dfutex.c276 int ret, woken = -1; local
280 ret = futex_wait_multiple_setup(futexv, iof->futex_nr, &woken);
299 * under the submission lock. 1 means We got woken while setting up,
311 * futexes woken, but it obviously won't work for an
318 if (woken != -1)
319 io_req_set_res(req, woken, 0);
/linux-master/kernel/futex/
H A Dfutex.h163 * A futex_q has a woken state, just like tasks have TASK_RUNNING.
164 * It is considered woken when plist_node_empty(&q->list) || q->lock_ptr == 0.
168 * PI futexes are typically woken before they are removed from the hash list via
245 * state is implicit in the state of woken task (see futex_wait_requeue_pi() for
370 int *woken);
H A Dwaitwake.c55 * the changed user space value before blocking or is woken by a
402 * @woken: Index of the last woken futex, if any. Used to notify the
410 * - 1 - One of the futexes was woken by another thread
414 int futex_wait_multiple_setup(struct futex_vector *vs, int count, int *woken) argument
473 * was woken, we don't return error and return this index to
476 *woken = futex_unqueue_multiple(vs, i);
477 if (*woken >= 0)
509 * been woken up.
551 /* A futex was woken durin
[all...]
/linux-master/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; local
488 * queue. We know that the woken will be at least 1 as we accounted
500 * is because the to-be-woken waiter may not have slept yet. So it
507 * put them into wake_q to be woken up later.
514 woken++;
518 * Limit # of readers that can be woken up per wakeup call.
520 if (unlikely(woken >
[all...]
/linux-master/kernel/trace/
H A Dtrace.c8091 bool woken = false; local
8169 if (woken)
8185 woken = true;
/linux-master/net/core/
H A Ddev.c4439 * if the thread is explicitly woken from here.
6719 bool woken = false; local
6729 if (test_bit(NAPI_STATE_SCHED_THREADED, &napi->state) || woken) {
6736 /* woken being true indicates this thread owns this napi. */
6737 woken = true;
/linux-master/net/smc/
H A Daf_smc.c814 mark->woken = true;
822 struct smc_mark_woken mark = { .woken = false };
835 if (mark.woken)
930 * in smc sk->sk_wq and they should be woken up
931 * as clcsock's wait queue is woken up.
2872 /* woken up by sk_data_ready in smc_listen_work() */
H A Dsmc.h152 bool woken; member in struct:smc_mark_woken

Completed in 499 milliseconds