Home
last modified time | relevance | path

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

/kernel/power/
Duser.c62 char ready; member
111 data->ready = 0; in snapshot_open()
150 if (!data->ready) { in snapshot_read()
234 if (!data->frozen || data->ready) in snapshot_ioctl()
243 if (data->mode != O_RDONLY || !data->frozen || data->ready) { in snapshot_ioctl()
251 data->ready = 1; in snapshot_ioctl()
267 data->ready = 0; in snapshot_ioctl()
276 if (!data->ready) { in snapshot_ioctl()
/kernel/
Dsignal.c86 unsigned long ready; in has_pending_signals() local
91 for (i = _NSIG_WORDS, ready = 0; --i >= 0 ;) in has_pending_signals()
92 ready |= signal->sig[i] &~ blocked->sig[i]; in has_pending_signals()
95 case 4: ready = signal->sig[3] &~ blocked->sig[3]; in has_pending_signals()
96 ready |= signal->sig[2] &~ blocked->sig[2]; in has_pending_signals()
97 ready |= signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
98 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
101 case 2: ready = signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
102 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
105 case 1: ready = signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
[all …]
Drelay.c263 size_t ready = buf->subbufs_produced - buf->subbufs_consumed; in relay_buf_full() local
264 return (ready >= buf->chan->n_subbufs) ? 1 : 0; in relay_buf_full()