Home
last modified time | relevance | path

Searched refs:wq (Results 1 – 25 of 46) sorted by relevance

12

/linux-2.4.37.9/fs/autofs4/
Dwaitq.c28 struct autofs_wait_queue *wq, *nwq; in autofs4_catatonic_mode() local
33 wq = sbi->queues; in autofs4_catatonic_mode()
35 while ( wq ) { in autofs4_catatonic_mode()
36 nwq = wq->next; in autofs4_catatonic_mode()
37 wq->status = -ENOENT; /* Magic is gone - report failure */ in autofs4_catatonic_mode()
38 kfree(wq->name); in autofs4_catatonic_mode()
39 wq->name = NULL; in autofs4_catatonic_mode()
40 wake_up(&wq->queue); in autofs4_catatonic_mode()
41 wq = nwq; in autofs4_catatonic_mode()
87 struct autofs_wait_queue *wq, in autofs4_notify_daemon() argument
[all …]
/linux-2.4.37.9/fs/autofs/
Dwaitq.c28 struct autofs_wait_queue *wq, *nwq; in autofs_catatonic_mode() local
33 wq = sbi->queues; in autofs_catatonic_mode()
35 while ( wq ) { in autofs_catatonic_mode()
36 nwq = wq->next; in autofs_catatonic_mode()
37 wq->status = -ENOENT; /* Magic is gone - report failure */ in autofs_catatonic_mode()
38 kfree(wq->name); in autofs_catatonic_mode()
39 wq->name = NULL; in autofs_catatonic_mode()
40 wake_up(&wq->queue); in autofs_catatonic_mode()
41 wq = nwq; in autofs_catatonic_mode()
82 static void autofs_notify_daemon(struct autofs_sb_info *sbi, struct autofs_wait_queue *wq) in autofs_notify_daemon() argument
[all …]
/linux-2.4.37.9/include/linux/raid/
Dmd_k.h348 #define __wait_event_lock_irq(wq, condition, lock) \ argument
353 add_wait_queue(&wq, &__wait); \
364 remove_wait_queue(&wq, &__wait); \
367 #define wait_event_lock_irq(wq, condition, lock) \ argument
371 __wait_event_lock_irq(wq, condition, lock); \
375 #define __wait_disk_event(wq, condition) \ argument
380 add_wait_queue(&wq, &__wait); \
389 remove_wait_queue(&wq, &__wait); \
392 #define wait_disk_event(wq, condition) \ argument
396 __wait_disk_event(wq, condition); \
/linux-2.4.37.9/fs/jfs/
Djfs_lock.h34 #define __SLEEP_COND(wq, cond, lock_cmd, unlock_cmd) \ argument
38 add_wait_queue(&wq, &__wait); \
48 remove_wait_queue(&wq, &__wait); \
/linux-2.4.37.9/drivers/mtd/chips/
Dcfi_cmdset_0002.c296 add_wait_queue(&chip->wq, &wait); in do_read_onechip()
301 remove_wait_queue(&chip->wq, &wait); in do_read_onechip()
317 wake_up(&chip->wq); in do_read_onechip()
378 add_wait_queue(&chip->wq, &wait); in do_read_secsi_onechip()
383 remove_wait_queue(&chip->wq, &wait); in do_read_secsi_onechip()
408 wake_up(&chip->wq); in do_read_secsi_onechip()
473 add_wait_queue(&chip->wq, &wait); in do_write_oneword()
478 remove_wait_queue(&chip->wq, &wait); in do_write_oneword()
553 wake_up(&chip->wq); in do_write_oneword()
562 wake_up(&chip->wq); in do_write_oneword()
[all …]
Dcfi_cmdset_0020.c369 add_wait_queue(&chip->wq, &wait); in do_read_onechip()
372 remove_wait_queue(&chip->wq, &wait); in do_read_onechip()
394 wake_up(&chip->wq); in do_read_onechip()
504 add_wait_queue(&chip->wq, &wait); in do_write_buffer()
507 remove_wait_queue(&chip->wq, &wait); in do_write_buffer()
570 add_wait_queue(&chip->wq, &wait); in do_write_buffer()
573 remove_wait_queue(&chip->wq, &wait); in do_write_buffer()
624 wake_up(&chip->wq); in do_write_buffer()
628 wake_up(&chip->wq); in do_write_buffer()
808 add_wait_queue(&chip->wq, &wait); in do_erase_oneblock()
[all …]
Dcfi_cmdset_0001.c362 add_wait_queue(&chip->wq, &wait);
365 remove_wait_queue(&chip->wq, &wait);
455 wake_up(&chip->wq);
570 add_wait_queue(&chip->wq, &wait);
573 remove_wait_queue(&chip->wq, &wait);
595 wake_up(&chip->wq);
679 add_wait_queue(&chip->wq, &wait);
682 remove_wait_queue(&chip->wq, &wait);
706 wake_up(&chip->wq);
843 add_wait_queue(&chip->wq, &wait);
[all …]
Damd_flash.c778 init_waitqueue_head(&private->chips[i].wq); in amd_flash_probe()
805 add_wait_queue(&chip->wq, &wait); in read_one_chip()
810 remove_wait_queue(&chip->wq, &wait); in read_one_chip()
827 wake_up(&chip->wq); in read_one_chip()
905 add_wait_queue(&chip->wq, &wait); in write_one_word()
910 remove_wait_queue(&chip->wq, &wait); in write_one_word()
952 wake_up(&chip->wq); in write_one_word()
1101 add_wait_queue(&chip->wq, &wait); in erase_one_block()
1106 remove_wait_queue(&chip->wq, &wait); in erase_one_block()
1135 add_wait_queue(&chip->wq, &wait); in erase_one_block()
[all …]
Dsharp.c149 init_waitqueue_head(&sharp->chips[0].wq); in sharp_probe()
240 add_wait_queue(&chip->wq, &wait); in sharp_wait()
245 remove_wait_queue(&chip->wq, &wait); in sharp_wait()
264 wake_up(&chip->wq); in sharp_release()
385 wake_up(&chip->wq); in sharp_write_oneword()
452 add_wait_queue(&chip->wq, &wait); in sharp_do_wait_for_ready()
458 remove_wait_queue(&chip->wq, &wait); in sharp_do_wait_for_ready()
/linux-2.4.37.9/include/linux/
Dsched.h814 #define __wait_event(wq, condition) \ argument
819 add_wait_queue(&wq, &__wait); \
827 remove_wait_queue(&wq, &__wait); \
830 #define wait_event(wq, condition) \ argument
834 __wait_event(wq, condition); \
837 #define __wait_event_interruptible(wq, condition, ret) \ argument
842 add_wait_queue(&wq, &__wait); \
855 remove_wait_queue(&wq, &__wait); \
858 #define wait_event_interruptible(wq, condition) \ argument
862 __wait_event_interruptible(wq, condition, __ret); \
Dnfs_fs.h345 #define nfs_wait_event(clnt, wq, condition) \ argument
351 __retval = wait_event_interruptible(wq, condition); \
354 wait_event(wq, condition); \
/linux-2.4.37.9/drivers/mtd/nand/
Dnand.c303 add_wait_queue (&this->wq, &wait); in nand_get_chip()
306 remove_wait_queue (&this->wq, &wait); in nand_get_chip()
713 wake_up (&this->wq); in nand_read_ecc()
775 wake_up (&this->wq); in nand_read_oob()
869 wake_up (&this->wq); in nand_write_ecc()
962 wake_up (&this->wq); in nand_write_oob()
1081 wake_up (&this->wq); in nand_writev_ecc()
1186 add_wait_queue (&this->wq, &wait); in nand_erase()
1189 remove_wait_queue (&this->wq, &wait); in nand_erase()
1238 add_wait_queue (&this->wq, &wait); in nand_sync()
[all …]
/linux-2.4.37.9/drivers/sbus/char/
Dbbc_i2c.c63 wait_queue_head_t wq; member
187 add_wait_queue(&bp->wq, &wait); in wait_for_pin()
199 remove_wait_queue(&bp->wq, &wait); in wait_for_pin()
342 wake_up(&bp->wq); in bbc_i2c_interrupt()
375 init_waitqueue_head(&bp->wq); in attach_one_i2c()
/linux-2.4.37.9/drivers/s390/char/
Dtape34xx.c1474 wake_up (&ti->wq); in tape34xx_default_handler()
1482 wake_up_interruptible (&ti->wq); in tape34xx_default_handler()
1500 wake_up_interruptible (&ti->wq); in tape34xx_unexpect_uchk_handler()
1555 wake_up_interruptible (&ti->wq); in tape34xx_idle_done()
1586 wake_up_interruptible (&ti->wq); in tape34xx_bsf_init_done()
1598 wake_up_interruptible (&ti->wq); in tape34xx_dse_init_done()
1610 wake_up_interruptible (&ti->wq); in tape34xx_fsf_init_done()
1622 wake_up_interruptible (&ti->wq); in tape34xx_fsb_init_done()
1634 wake_up (&ti->wq); in tape34xx_bsb_init_done()
1647 wake_up (&ti->wq); in tape34xx_lbl_init_done()
[all …]
Dtapechar.c208 wait_event (ti->wq,ti->wanna_wakeup); in tape_read()
292 wait_event_interruptible (ti->wq,ti->wanna_wakeup); in tape_write()
430 wait_event_interruptible (ti->wq,ti->medium_is_unloaded==0); in tape_mtioctop()
483 wait_event_interruptible (ti->wq,ti->wanna_wakeup); in tape_mtioctop()
589 wait_event_interruptible (ti->wq,ti->wanna_wakeup); in tape_ioctl()
615 wait_event_interruptible (ti->wq,ti->wanna_wakeup); in tape_ioctl()
751 wait_event (ti->wq,ti->wanna_wakeup); in tape_release()
Dtapeblock.c442 wait_event_interruptible (ti->wq,ti->wanna_wakeup);
486 wait_event_interruptible (ti->wq,ti->wanna_wakeup);
526 wait_event_interruptible (ti->wq,ti->wanna_wakeup);
560 wait_event_interruptible (ti->wq,ti->wanna_wakeup);
/linux-2.4.37.9/include/linux/mtd/
Dflashchip.h63 wait_queue_head_t wq; /* Wait on here when we're waiting for the chip member
Dnand.h174 wait_queue_head_t wq; member
/linux-2.4.37.9/drivers/mtd/devices/
Ddoc1000.c64 wait_queue_head_t wq; member
108 interruptible_sleep_on(&priv->wq); in flashcard_sync()
506 wake_up_interruptible(&priv->wq); in flashcard_periodic()
542 init_waitqueue_head(&priv->wq); in init_doc1000()
/linux-2.4.37.9/drivers/scsi/
D3w-xxxx.h253 #define tw_wait_event_interruptible_timeout(wq, condition, ret) \ argument
258 add_wait_queue(&wq, &__wait); \
273 remove_wait_queue(&wq, &__wait); \
/linux-2.4.37.9/drivers/media/video/
Dmsp3400.c92 wait_queue_head_t wq; member
743 wake_up_interruptible(&msp->wq); in msp3400c_stereo_wake()
791 interruptible_sleep_on(&msp->wq); in msp3400c_thread()
1041 interruptible_sleep_on(&msp->wq); in msp3410d_thread()
1296 init_waitqueue_head(&msp->wq); in msp_attach()
1358 wake_up_interruptible(&msp->wq); in msp_attach()
1385 wake_up_interruptible(&msp->wq); in msp_detach()
1427 wake_up_interruptible(&msp->wq); in msp_wake_thread()
Dtvaudio.c129 wait_queue_head_t wq; member
268 wake_up_interruptible(&chip->wq); in chip_thread_wake()
288 interruptible_sleep_on(&chip->wq); in chip_thread()
1495 init_waitqueue_head(&chip->wq); in chip_attach()
1503 wake_up_interruptible(&chip->wq); in chip_attach()
1534 wake_up_interruptible(&chip->wq); in chip_detach()
/linux-2.4.37.9/drivers/usb/
Dstv680.h143 wait_queue_head_t wq; /* Processes waiting */ member
Dov511.h429 wait_queue_head_t wq; /* Processes waiting */ member
505 wait_queue_head_t wq; /* Processes waiting */ member
Dstv680.c696 if (waitqueue_active (&stv680->wq)) { in stv680_video_irq()
697 wake_up_interruptible (&stv680->wq); in stv680_video_irq()
708 if (waitqueue_active (&stv680->wq)) { in stv680_video_irq()
709 wake_up_interruptible (&stv680->wq); in stv680_video_irq()
1074 …wait_event_interruptible (stv680->wq, (stv680->scratch[stv680->scratch_use].state == BUFFER_READY)… in stv680_newframe()
1537 init_waitqueue_head (&stv680->wq); in stv680_probe()
1560 wake_up_interruptible (&stv680->wq); in usb_stv680_remove_disconnected()
1597 wake_up_interruptible (&stv680->wq); in stv680_disconnect()

12