Home
last modified time | relevance | path

Searched refs:waiting (Results 1 – 25 of 223) sorted by relevance

123456789

/Linux-v5.4/drivers/staging/isdn/gigaset/
Dproc.c40 cs->waiting = 1; in set_cidmode()
43 cs->waiting = 0; in set_cidmode()
49 wait_event(cs->waitqueue, !cs->waiting); in set_cidmode()
Dcommon.c523 at_state->waiting = 0; in gigaset_at_init()
705 cs->waiting = 0; in gigaset_initcs()
857 if (cs->waiting) { in cleanup_cs()
859 cs->waiting = 0; in cleanup_cs()
894 cs->waiting = 1; in gigaset_start()
897 cs->waiting = 0; in gigaset_start()
902 wait_event(cs->waitqueue, !cs->waiting); in gigaset_start()
932 cs->waiting = 1; in gigaset_shutdown()
938 wait_event(cs->waitqueue, !cs->waiting); in gigaset_shutdown()
959 cs->waiting = 1; in gigaset_stop()
[all …]
Dinterface.c39 cs->waiting = 1; in if_lock()
42 cs->waiting = 0; in if_lock()
47 wait_event(cs->waitqueue, !cs->waiting); in if_lock()
73 cs->waiting = 1; in if_version()
76 cs->waiting = 0; in if_version()
81 wait_event(cs->waitqueue, !cs->waiting); in if_version()
/Linux-v5.4/Documentation/scheduler/
Dcompletion.rst22 until the result is actually needed, and both the waiting and the signalling
26 the Linux scheduler. The event the threads on the waitqueue are waiting for
39 - the waiting part through a call to one of the variants of wait_for_completion(),
43 Note that while initialization must happen first, the waiting and signaling
57 This provides the ->wait waitqueue to place tasks on for waiting (if any), and
122 must not return to a calling context until all activities (such as waiting
125 To emphasise this again: in particular when using some of the waiting API variants
164 to wait_for_completion() then the waiting side simply will continue
181 time depending on the nature of the activity they are waiting for, so in
206 This function marks the task TASK_INTERRUPTIBLE while it is waiting.
[all …]
/Linux-v5.4/block/
Dblk-exec.c22 struct completion *waiting = rq->end_io_data; in blk_end_sync_rq() local
30 complete(waiting); in blk_end_sync_rq()
/Linux-v5.4/drivers/scsi/
Dppa.c41 wait_queue_head_t *waiting; member
61 wake_up(dev->waiting); in got_it()
1019 DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waiting); in __ppa_attach()
1033 init_waitqueue_head(&waiting); in __ppa_attach()
1051 dev->waiting = &waiting; in __ppa_attach()
1052 prepare_to_wait(&waiting, &wait, TASK_UNINTERRUPTIBLE); in __ppa_attach()
1060 dev->waiting = NULL; in __ppa_attach()
1061 finish_wait(&waiting, &wait); in __ppa_attach()
1064 dev->waiting = NULL; in __ppa_attach()
1065 finish_wait(&waiting, &wait); in __ppa_attach()
Dimm.c48 wait_queue_head_t *waiting; member
71 wake_up(dev->waiting); in got_it()
1153 DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waiting); in __imm_attach()
1160 init_waitqueue_head(&waiting); in __imm_attach()
1188 dev->waiting = &waiting; in __imm_attach()
1189 prepare_to_wait(&waiting, &wait, TASK_UNINTERRUPTIBLE); in __imm_attach()
1197 dev->waiting = NULL; in __imm_attach()
1198 finish_wait(&waiting, &wait); in __imm_attach()
1201 dev->waiting = NULL; in __imm_attach()
1202 finish_wait(&waiting, &wait); in __imm_attach()
/Linux-v5.4/drivers/parport/
Dshare.c756 tmp->waiting = 0; in parport_register_device()
886 par_dev->waiting = 0; in parport_register_dev_model()
1150 if (dev->waiting & 1) { in parport_claim()
1151 dev->waiting = 0; in parport_claim()
1200 if (dev->waiting & 2 || dev->wakeup) { in parport_claim()
1202 if (test_and_set_bit(0, &dev->waiting) == 0) { in parport_claim()
1237 dev->waiting = 2; in parport_claim_or_block()
1258 if (dev->waiting) { in parport_claim_or_block()
1260 !dev->waiting); in parport_claim_or_block()
1279 dev->waiting = 0; in parport_claim_or_block()
[all …]
/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-async.c97 list_for_each_entry(asd, &notifier->waiting, list) { in v4l2_async_find_match()
182 if (!list_empty(&notifier->waiting)) in v4l2_async_notifier_can_complete()
205 if (!list_empty(&notifier->waiting)) in v4l2_async_notifier_try_complete()
346 list_for_each_entry(asd_y, &notifier->waiting, list) in __v4l2_async_notifier_has_async_subdev()
433 INIT_LIST_HEAD(&notifier->waiting); in __v4l2_async_notifier_register()
443 list_add_tail(&asd->list, &notifier->waiting); in __v4l2_async_notifier_register()
763 list_add(&sd->asd->list, &notifier->waiting); in v4l2_async_unregister_subdev()
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-scsi_tape16 Shows the total amount of time spent waiting for all I/O
23 To determine the amount of time spent waiting for other I/O
64 Shows the total amount of time in nanoseconds waiting for
95 Shows the total amount of time in nanoseconds waiting for
Dsysfs-bus-iio-distance-srf0816 This setting limits the time the driver is waiting for a
/Linux-v5.4/tools/lib/subcmd/
Drun-command.c172 pid_t waiting = waitpid(pid, &status, 0); in wait_or_whine() local
174 if (waiting < 0) { in wait_or_whine()
181 if (waiting != pid) in wait_or_whine()
/Linux-v5.4/arch/arm/include/debug/
Dsamsung.S63 @ busy waiting for non fifo
84 @ idle waiting for non fifo
/Linux-v5.4/drivers/sbus/char/
Dbbc_i2c.c129 bp->waiting = 1; in wait_for_pin()
145 bp->waiting = 0; in wait_for_pin()
278 if (bp->waiting && in bbc_i2c_interrupt()
317 bp->waiting = 0; in attach_one_i2c()
Dbbc_i2c.h63 volatile int waiting; member
/Linux-v5.4/drivers/staging/media/allegro-dvt/
DTODO3 - This driver is waiting for the stateful encoder spec and corresponding
/Linux-v5.4/drivers/gpu/drm/savage/
Dsavage_state.c57 dev_priv->waiting = 1; in savage_emit_clip_rect_s3d()
83 dev_priv->waiting = 1; in savage_emit_clip_rect_s4()
260 dev_priv->waiting = 1; in savage_dispatch_state()
367 if (S3_SAVAGE3D_SERIES(dev_priv->chipset) && dev_priv->waiting) { in savage_dispatch_dma_prim()
376 dev_priv->waiting = 0; in savage_dispatch_dma_prim()
619 if (S3_SAVAGE3D_SERIES(dev_priv->chipset) && dev_priv->waiting) { in savage_dispatch_dma_idx()
628 dev_priv->waiting = 0; in savage_dispatch_dma_idx()
1045 dev_priv->waiting = 1; in savage_bci_cmdbuf()
/Linux-v5.4/Documentation/block/
Dstat.rst69 waited on this block device. If there are multiple I/O requests waiting,
91 on this block device. If there are multiple I/O requests waiting, this
93 number of requests waiting (see "read ticks" above for an example).
/Linux-v5.4/Documentation/accounting/
Dtaskstats-struct.rst112 /* Delay waiting for cpu, while runnable
120 /* Delay waiting for synchronous block I/O to complete
126 /* Delay waiting for page fault I/O (swap in only) */
193 /* Delay waiting for memory reclaim */
/Linux-v5.4/drivers/block/drbd/
Ddrbd_interval.h14 unsigned int waiting:1; /* someone is waiting for completion */ member
/Linux-v5.4/Documentation/
Drobust-futex-ABI.txt24 call, and handles contested locking by maintaining a list of waiting
26 waiting on a particular futex, and waking up the next waiter on a
34 waiting on the same locks.
82 waiting for a lock on a threads exit if that next thread used the futex
90 indicating their holder died, and wakeup the next thread waiting for
168 they were waiting, and bit 30 is set by the kernel to indicate that the
Dfutex-requeue-pi.txt17 pthread_cond_broadcast() must resort to waking all the tasks waiting
90 is necessary for both the requeue code, as well as the waiting code,
113 possibly wake the waiting tasks. Internally, this system call is
/Linux-v5.4/arch/x86/platform/uv/
Duv_nmi.c577 int last_k = 0, waiting = 0; in uv_nmi_wait_cpus() local
610 waiting = 0; in uv_nmi_wait_cpus()
611 } else if (++waiting > uv_nmi_wait_count) in uv_nmi_wait_cpus()
615 if (waiting && (n - k) == 1 && in uv_nmi_wait_cpus()
/Linux-v5.4/arch/arm/mach-pxa/
Dsleep.S33 20: b 20b @ waiting for sleep
171 20: b 20b @ loop waiting for sleep
/Linux-v5.4/include/media/
Dv4l2-async.h135 struct list_head waiting; member

123456789