Searched refs:waiting (Results 1 - 25 of 46) sorted by relevance

12

/drivers/isdn/gigaset/
H A Dproc.c43 cs->waiting = 1;
46 cs->waiting = 0;
52 wait_event(cs->waitqueue, !cs->waiting);
H A Dcommon.c526 at_state->waiting = 0;
708 cs->waiting = 0;
861 if (cs->waiting) {
863 cs->waiting = 0;
875 * waiting for completion of the initialization.
898 cs->waiting = 1;
901 cs->waiting = 0;
906 wait_event(cs->waitqueue, !cs->waiting);
922 * waiting for completion of the shutdown.
936 cs->waiting
[all...]
H A Dinterface.c42 cs->waiting = 1;
45 cs->waiting = 0;
50 wait_event(cs->waitqueue, !cs->waiting);
76 cs->waiting = 1;
79 cs->waiting = 0;
84 wait_event(cs->waitqueue, !cs->waiting);
H A Dev-layer.c897 cs->waiting = 0;
917 cs->waiting = 0;
1094 at_state->waiting = 1;
1333 case ACT_CONNTIMEOUT: /* timeout waiting for ZSAU=ACTIVE */
1441 cs->waiting = 0;
1453 cs->waiting = 0;
1473 cs->waiting = 0;
1549 if (at_state->waiting)
1550 gig_dbg(DEBUG_EVENT, "stopped waiting");
1594 at_state->waiting
[all...]
H A Dgigaset.h335 int waiting; member in struct:at_state_t
416 int waiting; member in struct:cardstate
/drivers/block/drbd/
H A Ddrbd_interval.h13 int waiting:1; /* someone is waiting for this to complete */ member in struct:drbd_interval
H A Ddrbd_req.c83 req->i.waiting = false;
105 /* Wake up any processes waiting for this request to complete. */
106 if (i->waiting)
317 if (req->i.waiting)
542 if (req->i.waiting)
817 * worker will be waiting on misc_wait. Wake it up once this
822 if (req->i.waiting)
1002 i->waiting = true;
1591 /* maybe the oldest request waiting for the peer is in fact still
1614 * - the oldest request is waiting fo
[all...]
/drivers/media/v4l2-core/
H A Dv4l2-async.c57 list_for_each_entry(asd, &notifier->waiting, list) {
95 /* Remove from the waiting list */
115 if (list_empty(&notifier->waiting) && notifier->complete)
141 INIT_LIST_HEAD(&notifier->waiting);
159 list_add_tail(&asd->list, &notifier->waiting);
259 * Don't care about the waiting list, it is initialised and populated
303 list_add(&sd->asd->list, &notifier->waiting);
/drivers/sbus/char/
H A Dbbc_i2c.h62 volatile int waiting; member in struct:bbc_i2c_bus
H A Dbbc_i2c.c128 bp->waiting = 1;
144 bp->waiting = 0;
277 if (bp->waiting &&
316 bp->waiting = 0;
/drivers/parport/
H A Dshare.c576 tmp->waiting = 0;
805 /* Can't fail from now on, so mark ourselves as no longer waiting. */
806 if (dev->waiting & 1) {
807 dev->waiting = 0;
854 if (dev->waiting & 2 || dev->wakeup) {
856 if (test_and_set_bit(0, &dev->waiting) == 0) {
888 dev->waiting = 2;
897 * FIXME!!! Use the proper locking for dev->waiting,
905 /* If dev->waiting is clear now, an interrupt
907 if (dev->waiting) {
[all...]
/drivers/scsi/
H A Dimm.c46 wait_queue_head_t *waiting; member in struct:__anon5495
69 wake_up(dev->waiting);
1128 DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waiting);
1134 init_waitqueue_head(&waiting);
1156 dev->waiting = &waiting;
1157 prepare_to_wait(&waiting, &wait, TASK_UNINTERRUPTIBLE);
1165 dev->waiting = NULL;
1166 finish_wait(&waiting, &wait);
1169 dev->waiting
[all...]
H A Dppa.c40 wait_queue_head_t *waiting; member in struct:__anon5971
60 wake_up(dev->waiting);
992 DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waiting);
1005 init_waitqueue_head(&waiting);
1016 dev->waiting = &waiting;
1017 prepare_to_wait(&waiting, &wait, TASK_UNINTERRUPTIBLE);
1025 dev->waiting = NULL;
1026 finish_wait(&waiting, &wait);
1029 dev->waiting
[all...]
H A Dst.h31 struct completion *waiting; member in struct:st_request
H A Dst.c477 if (SRpnt->waiting)
478 complete(SRpnt->waiting);
533 struct completion *waiting;
559 waiting = &STp->wait;
560 init_completion(waiting);
561 SRpnt->waiting = waiting;
586 wait_for_completion(waiting);
587 SRpnt->waiting = NULL;
621 SRpnt->waiting
531 struct completion *waiting; local
[all...]
/drivers/gpu/drm/
H A Ddrm_dma.c133 buf->waiting = 0;
/drivers/gpu/drm/savage/
H A Dsavage_state.c50 dev_priv->waiting = 1;
76 dev_priv->waiting = 1;
253 dev_priv->waiting = 1;
359 if (S3_SAVAGE3D_SERIES(dev_priv->chipset) && dev_priv->waiting) {
368 dev_priv->waiting = 0;
609 if (S3_SAVAGE3D_SERIES(dev_priv->chipset) && dev_priv->waiting) {
618 dev_priv->waiting = 0;
1039 dev_priv->waiting = 1;
/drivers/gpu/drm/nouveau/core/include/subdev/
H A Dclock.h77 atomic_t waiting; member in struct:nouveau_clock
/drivers/gpu/drm/nouveau/core/subdev/clock/
H A Dbase.c211 if (!atomic_xchg(&clk->waiting, 0))
244 atomic_set(&clk->waiting, 1);
247 wait_event(clk->wait, !atomic_read(&clk->waiting));
560 atomic_set(&clk->waiting, 0);
/drivers/mmc/host/
H A Djz4740_mmc.c136 unsigned long waiting; member in struct:jz4740_mmc_host
431 set_bit(0, &host->waiting);
599 if (!test_and_clear_bit(0, &host->waiting))
797 if (test_and_clear_bit(0, &host->waiting)) {
854 set_bit(0, &host->waiting);
/drivers/block/
H A Dcciss_cmd.h210 struct completion *waiting; member in struct:_CommandList_struct
/drivers/net/wan/
H A Dsdla.c437 int ret, waiting, len; local
461 waiting = 1;
463 while (waiting && time_before_eq(jiffies, jiffs))
465 if (waiting++ % 3)
469 waiting = ((volatile int)(cmd_buf->opp_flag));
474 if (!waiting)
/drivers/scsi/libsas/
H A Dsas_ata.c608 struct completion *waiting; local
625 waiting = qc->private_data;
626 complete(waiting);
/drivers/staging/lustre/lustre/osc/
H A Dosc_cache.c551 /* a truncate process is waiting for this extent.
695 * if there is someone waiting for this extent to be
774 /* waiting for IO to finish. Please notice that it's impossible
872 /* `Kick' this extent only if the caller is waiting for it to be
1620 * waiting for space. as they're waiting, they're not going to
1621 * create more pages to coalesce with what's waiting.. */
2401 * one making the extent active, we could deadlock waiting for
2566 struct osc_extent *waiting = NULL; local
2593 "waiting fo
[all...]
/drivers/infiniband/hw/nes/
H A Dnes_verbs.c113 cqp_request->waiting = 1;
176 cqp_request->waiting = 1;
306 cqp_request->waiting = 1;
1342 cqp_request->waiting = 1;
1655 cqp_request->waiting = 1;
1814 cqp_request->waiting = 1;
1952 cqp_request->waiting = 1;
2684 cqp_request->waiting = 1;
2710 nes_debug(NES_DBG_MR, "Timeout waiting to destroy STag,"
2868 cqp_request->waiting
[all...]

Completed in 636 milliseconds

12