Home
last modified time | relevance | path

Searched refs:ready (Results 1 – 6 of 6) sorted by relevance

/kernel/power/
Duser.c36 bool ready; member
97 data->ready = false; in snapshot_open()
145 if (!data->ready) { in snapshot_read()
296 if (!data->frozen || data->ready) in snapshot_ioctl()
306 if (data->mode != O_RDONLY || !data->frozen || data->ready) { in snapshot_ioctl()
314 data->ready = !freezer_test_done && !error; in snapshot_ioctl()
332 data->ready = false; in snapshot_ioctl()
349 if (!data->ready) { in snapshot_ioctl()
396 data->ready = false; in snapshot_ioctl()
Dswap.c597 atomic_t ready; /* ready to start flag */ member
616 wait_event(d->go, atomic_read_acquire(&d->ready) || in crc32_threadfn()
624 atomic_set(&d->ready, 0); in crc32_threadfn()
639 atomic_t ready; /* ready to start flag */ member
659 wait_event(d->go, atomic_read_acquire(&d->ready) || in lzo_compress_threadfn()
668 atomic_set(&d->ready, 0); in lzo_compress_threadfn()
808 atomic_set_release(&data[thr].ready, 1); in save_image_lzo()
816 atomic_set_release(&crc->ready, 1); in save_image_lzo()
1124 atomic_t ready; /* ready to start flag */ member
1143 wait_event(d->go, atomic_read_acquire(&d->ready) || in lzo_decompress_threadfn()
[all …]
/kernel/locking/
Dtest-ww_mutex.c31 struct completion ready, go, done; member
44 complete(&mtx->ready); in test_mutex_work()
68 init_completion(&mtx.ready); in __test_mutex()
75 wait_for_completion(&mtx.ready); in __test_mutex()
/kernel/
Dseccomp.c96 struct completion ready; member
1115 init_completion(&n.ready); in seccomp_do_user_notification()
1130 err = wait_for_completion_killable(&n.ready); in seccomp_do_user_notification()
1132 err = wait_for_completion_interruptible(&n.ready); in seccomp_do_user_notification()
1421 complete(&knotif->ready); in seccomp_notify_detach()
1516 complete(&knotif->ready); in seccomp_notify_recv()
1564 complete(&knotif->ready); in seccomp_notify_send()
1670 complete(&knotif->ready); in seccomp_notify_addfd()
Dsignal.c132 unsigned long ready; in has_pending_signals() local
137 for (i = _NSIG_WORDS, ready = 0; --i >= 0 ;) in has_pending_signals()
138 ready |= signal->sig[i] &~ blocked->sig[i]; in has_pending_signals()
141 case 4: ready = signal->sig[3] &~ blocked->sig[3]; in has_pending_signals()
142 ready |= signal->sig[2] &~ blocked->sig[2]; in has_pending_signals()
143 ready |= signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
144 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
147 case 2: ready = signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
148 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
151 case 1: ready = signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
[all …]
Drelay.c243 size_t ready = buf->subbufs_produced - buf->subbufs_consumed; in relay_buf_full() local
244 return (ready >= buf->chan->n_subbufs) ? 1 : 0; in relay_buf_full()