/drivers/scsi/arm/ |
D | queue.c | 63 spin_lock_init(&queue->queue_lock); in queue_initialise() 113 spin_lock_irqsave(&queue->queue_lock, flags); in __queue_add() 133 spin_unlock_irqrestore(&queue->queue_lock, flags); in __queue_add() 167 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove_exclude() 175 spin_unlock_irqrestore(&queue->queue_lock, flags); in queue_remove_exclude() 191 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove() 194 spin_unlock_irqrestore(&queue->queue_lock, flags); in queue_remove() 215 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove_tgtluntag() 224 spin_unlock_irqrestore(&queue->queue_lock, flags); in queue_remove_tgtluntag() 241 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove_all_target() [all …]
|
/drivers/connector/ |
D | cn_queue.c | 90 spin_lock_bh(&dev->queue_lock); in cn_queue_add_callback() 99 spin_unlock_bh(&dev->queue_lock); in cn_queue_add_callback() 118 spin_lock_bh(&dev->queue_lock); in cn_queue_del_callback() 126 spin_unlock_bh(&dev->queue_lock); in cn_queue_del_callback() 145 spin_lock_init(&dev->queue_lock); in cn_queue_alloc_dev() 165 spin_lock_bh(&dev->queue_lock); in cn_queue_free_dev() 168 spin_unlock_bh(&dev->queue_lock); in cn_queue_free_dev()
|
D | connector.c | 87 spin_lock_bh(&dev->cbdev->queue_lock); in cn_netlink_send() 96 spin_unlock_bh(&dev->cbdev->queue_lock); in cn_netlink_send() 138 spin_lock_bh(&dev->cbdev->queue_lock); in cn_call_callback() 181 spin_unlock_bh(&dev->cbdev->queue_lock); in cn_call_callback() 415 spin_lock_bh(&dev->queue_lock); in cn_proc_show() 424 spin_unlock_bh(&dev->queue_lock); in cn_proc_show()
|
/drivers/isdn/i4l/ |
D | isdn_net.h | 84 spin_lock_irqsave(&nd->queue_lock, flags); in isdn_net_get_locked_lp() 100 spin_unlock_irqrestore(&nd->queue_lock, flags); in isdn_net_get_locked_lp() 112 spin_lock_irqsave(&nd->queue_lock, flags); in isdn_net_add_to_bundle() 123 spin_unlock_irqrestore(&nd->queue_lock, flags); in isdn_net_add_to_bundle() 138 spin_lock_irqsave(&master_lp->netdev->queue_lock, flags); in isdn_net_rm_from_bundle() 150 spin_unlock_irqrestore(&master_lp->netdev->queue_lock, flags); in isdn_net_rm_from_bundle()
|
/drivers/mmc/card/ |
D | queue.c | 55 spin_lock_irq(q->queue_lock); in mmc_queue_thread() 60 spin_unlock_irq(q->queue_lock); in mmc_queue_thread() 232 spin_lock_irqsave(q->queue_lock, flags); in mmc_cleanup_queue() 234 spin_unlock_irqrestore(q->queue_lock, flags); in mmc_cleanup_queue() 275 spin_lock_irqsave(q->queue_lock, flags); in mmc_queue_suspend() 277 spin_unlock_irqrestore(q->queue_lock, flags); in mmc_queue_suspend() 297 spin_lock_irqsave(q->queue_lock, flags); in mmc_queue_resume() 299 spin_unlock_irqrestore(q->queue_lock, flags); in mmc_queue_resume()
|
/drivers/block/ |
D | nbd.c | 112 spin_lock_irqsave(q->queue_lock, flags); in nbd_end_request() 114 spin_unlock_irqrestore(q->queue_lock, flags); in nbd_end_request() 292 spin_lock(&lo->queue_lock); in nbd_find_request() 297 spin_unlock(&lo->queue_lock); in nbd_find_request() 300 spin_unlock(&lo->queue_lock); in nbd_find_request() 483 spin_lock(&lo->queue_lock); in nbd_handle_req() 485 spin_unlock(&lo->queue_lock); in nbd_handle_req() 515 spin_lock_irq(&lo->queue_lock); in nbd_thread() 519 spin_unlock_irq(&lo->queue_lock); in nbd_thread() 543 spin_unlock_irq(q->queue_lock); in do_nbd_request() [all …]
|
D | DAC960.c | 519 spin_unlock_irq(&Controller->queue_lock); in DAC960_WaitForCommand() 521 spin_lock_irq(&Controller->queue_lock); in DAC960_WaitForCommand() 781 spin_lock_irqsave(&Controller->queue_lock, flags); in DAC960_ExecuteCommand() 783 spin_unlock_irqrestore(&Controller->queue_lock, flags); in DAC960_ExecuteCommand() 2033 spin_lock_irqsave(&Controller->queue_lock, flags); in DAC960_V1_ReadDeviceConfiguration() 2035 spin_unlock_irqrestore(&Controller->queue_lock, flags); in DAC960_V1_ReadDeviceConfiguration() 2078 spin_lock_irqsave(&Controller->queue_lock, flags); in DAC960_V1_ReadDeviceConfiguration() 2080 spin_unlock_irqrestore(&Controller->queue_lock, flags); in DAC960_V1_ReadDeviceConfiguration() 2526 RequestQueue = blk_init_queue(DAC960_RequestFunction,&Controller->queue_lock); in DAC960_RegisterBlockDevice() 2771 spin_lock_init(&Controller->queue_lock); in DAC960_DetectController() [all …]
|
/drivers/mtd/ |
D | mtd_blkdevs.c | 32 spinlock_t queue_lock; member 95 spin_lock_irq(rq->queue_lock); in mtd_blktrans_thread() 105 spin_unlock_irq(rq->queue_lock); in mtd_blktrans_thread() 107 spin_lock_irq(rq->queue_lock); in mtd_blktrans_thread() 114 spin_unlock_irq(rq->queue_lock); in mtd_blktrans_thread() 120 spin_lock_irq(rq->queue_lock); in mtd_blktrans_thread() 124 spin_unlock_irq(rq->queue_lock); in mtd_blktrans_thread() 364 spin_lock_init(&tr->blkcore_priv->queue_lock); in register_mtd_blktrans() 366 tr->blkcore_priv->rq = blk_init_queue(mtd_blktrans_request, &tr->blkcore_priv->queue_lock); in register_mtd_blktrans()
|
/drivers/scsi/device_handler/ |
D | scsi_dh.c | 424 spin_lock_irqsave(q->queue_lock, flags); in scsi_dh_activate() 430 spin_unlock_irqrestore(q->queue_lock, flags); in scsi_dh_activate() 469 spin_lock_irqsave(q->queue_lock, flags); in scsi_dh_attach() 473 spin_unlock_irqrestore(q->queue_lock, flags); in scsi_dh_attach() 498 spin_lock_irqsave(q->queue_lock, flags); in scsi_dh_detach() 502 spin_unlock_irqrestore(q->queue_lock, flags); in scsi_dh_detach()
|
D | scsi_dh_hp_sw.c | 337 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in hp_sw_bus_attach() 339 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in hp_sw_bus_attach() 359 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in hp_sw_bus_detach() 362 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in hp_sw_bus_detach()
|
D | scsi_dh_emc.c | 621 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in clariion_bus_attach() 623 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in clariion_bus_attach() 645 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in clariion_bus_detach() 648 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in clariion_bus_detach()
|
D | scsi_dh_rdac.c | 655 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in rdac_bus_attach() 657 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in rdac_bus_attach() 678 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in rdac_bus_detach() 681 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in rdac_bus_detach()
|
D | scsi_dh_alua.c | 746 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in alua_bus_attach() 748 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in alua_bus_attach() 768 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in alua_bus_detach() 771 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in alua_bus_detach()
|
/drivers/ide/ |
D | ide-pm.c | 188 spin_lock_irqsave(q->queue_lock, flags); in ide_complete_pm_request() 193 spin_unlock_irqrestore(q->queue_lock, flags); in ide_complete_pm_request() 235 spin_lock_irqsave(q->queue_lock, flags); in ide_check_pm_state() 237 spin_unlock_irqrestore(q->queue_lock, flags); in ide_check_pm_state()
|
D | ide-io.c | 726 spin_unlock_irq(q->queue_lock); in do_ide_request() 761 spin_lock_irq(q->queue_lock); in do_ide_request() 767 spin_unlock_irq(q->queue_lock); in do_ide_request() 810 spin_lock_irq(q->queue_lock); in do_ide_request() 817 spin_lock_irq(q->queue_lock); in do_ide_request() 885 spin_lock_irqsave(q->queue_lock, flags); in ide_plug_device() 888 spin_unlock_irqrestore(q->queue_lock, flags); in ide_plug_device() 1189 spin_lock_irqsave(q->queue_lock, flags); in ide_do_drive_cmd() 1191 spin_unlock_irqrestore(q->queue_lock, flags); in ide_do_drive_cmd()
|
D | ide-park.c | 28 spin_lock_irq(q->queue_lock); in issue_park_cmd() 30 spin_unlock_irq(q->queue_lock); in issue_park_cmd()
|
/drivers/scsi/ |
D | scsi_lib.c | 160 spin_lock_irqsave(q->queue_lock, flags); in __scsi_queue_insert() 162 spin_unlock_irqrestore(q->queue_lock, flags); in __scsi_queue_insert() 503 spin_lock(sdev->request_queue->queue_lock); in scsi_device_unbusy() 505 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in scsi_device_unbusy() 630 spin_lock(sdev->request_queue->queue_lock); in scsi_run_queue() 639 spin_unlock(sdev->request_queue->queue_lock); in scsi_run_queue() 673 spin_lock_irqsave(q->queue_lock, flags); in scsi_requeue_command() 676 spin_unlock_irqrestore(q->queue_lock, flags); in scsi_requeue_command() 1586 spin_unlock(sdev->request_queue->queue_lock); in scsi_kill_request() 1591 spin_lock(sdev->request_queue->queue_lock); in scsi_kill_request() [all …]
|
/drivers/usb/host/ |
D | u132-hcd.c | 167 struct u132_spin queue_lock; member 521 spin_lock_irqsave(&endp->queue_lock.slock, irqs); in u132_hcd_giveback_urb() 526 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in u132_hcd_giveback_urb() 535 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in u132_hcd_giveback_urb() 561 spin_lock_irqsave(&endp->queue_lock.slock, irqs); in u132_hcd_abandon_urb() 566 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in u132_hcd_abandon_urb() 575 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in u132_hcd_abandon_urb() 1879 spin_lock_init(&endp->queue_lock.slock); in create_endpoint_and_queue_int() 1880 spin_lock_irqsave(&endp->queue_lock.slock, irqs); in create_endpoint_and_queue_int() 1883 spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); in create_endpoint_and_queue_int() [all …]
|
/drivers/media/video/gspca/ |
D | gspca.c | 837 if (mutex_lock_interruptible(&gspca_dev->queue_lock)) in vidioc_s_fmt_vid_cap() 866 mutex_unlock(&gspca_dev->queue_lock); in vidioc_s_fmt_vid_cap() 887 if (mutex_lock_interruptible(&gspca_dev->queue_lock)) in dev_open() 919 mutex_unlock(&gspca_dev->queue_lock); in dev_open() 932 if (mutex_lock_interruptible(&gspca_dev->queue_lock)) in dev_close() 949 mutex_unlock(&gspca_dev->queue_lock); in dev_close() 1152 if (mutex_lock_interruptible(&gspca_dev->queue_lock)) in vidioc_reqbufs() 1197 mutex_unlock(&gspca_dev->queue_lock); in vidioc_reqbufs() 1225 if (mutex_lock_interruptible(&gspca_dev->queue_lock)) in vidioc_streamon() 1251 mutex_unlock(&gspca_dev->queue_lock); in vidioc_streamon() [all …]
|
/drivers/ieee1394/ |
D | pcilynx.c | 549 spin_lock_irqsave(&d->queue_lock, flags); in lynx_transmit() 555 spin_unlock_irqrestore(&d->queue_lock, flags); in lynx_transmit() 738 spin_lock_irqsave(&lynx->async.queue_lock, flags); in lynx_devctl() 744 spin_unlock_irqrestore(&lynx->async.queue_lock, flags); in lynx_devctl() 764 spin_unlock_irqrestore(&lynx->async.queue_lock, flags); in lynx_devctl() 933 spin_lock(&lynx->async.queue_lock); in lynx_irq_handler() 936 spin_unlock(&lynx->async.queue_lock); in lynx_irq_handler() 959 spin_unlock(&lynx->async.queue_lock); in lynx_irq_handler() 979 spin_lock(&lynx->iso_send.queue_lock); in lynx_irq_handler() 982 spin_unlock(&lynx->iso_send.queue_lock); in lynx_irq_handler() [all …]
|
/drivers/media/video/ |
D | vino.c | 245 spinlock_t queue_lock; member 1231 spin_lock_irqsave(&q->queue_lock, flags); in vino_queue_add() 1255 spin_unlock_irqrestore(&q->queue_lock, flags); in vino_queue_add() 1274 spin_lock_irqsave(&q->queue_lock, flags); in vino_queue_transfer() 1296 spin_unlock_irqrestore(&q->queue_lock, flags); in vino_queue_transfer() 1312 spin_lock_irqsave(&q->queue_lock, flags); in vino_queue_incoming_contains() 1320 spin_unlock_irqrestore(&q->queue_lock, flags); in vino_queue_incoming_contains() 1336 spin_lock_irqsave(&q->queue_lock, flags); in vino_queue_outgoing_contains() 1344 spin_unlock_irqrestore(&q->queue_lock, flags); in vino_queue_outgoing_contains() 1359 spin_lock_irqsave(&q->queue_lock, flags); in vino_queue_get_incoming() [all …]
|
/drivers/s390/block/ |
D | dasd.c | 143 spin_lock_init(&block->queue_lock); in dasd_alloc_block() 1180 spin_lock_bh(&block->queue_lock); in __dasd_device_process_final_queue() 1201 spin_unlock_bh(&block->queue_lock); in __dasd_device_process_final_queue() 1840 spin_lock(&block->queue_lock); in dasd_block_tasklet() 1843 spin_unlock(&block->queue_lock); in dasd_block_tasklet() 1851 spin_lock(&block->queue_lock); in dasd_block_tasklet() 1856 spin_unlock(&block->queue_lock); in dasd_block_tasklet() 1878 spin_lock_bh(&block->queue_lock); in dasd_flush_block_queue() 1899 spin_unlock_bh(&block->queue_lock); in dasd_flush_block_queue() 1906 spin_lock_bh(&block->queue_lock); in dasd_flush_block_queue() [all …]
|
/drivers/media/video/zc0301/ |
D | zc0301_core.c | 205 spin_lock_irqsave(&cam->queue_lock, lock_flags); in zc0301_queue_unusedframes() 207 spin_unlock_irqrestore(&cam->queue_lock, lock_flags); in zc0301_queue_unusedframes() 394 spin_lock(&cam->queue_lock); in zc0301_urb_complete() 402 spin_unlock(&cam->queue_lock); in zc0301_urb_complete() 623 spin_lock_init(&cam->queue_lock); in zc0301_init() 850 spin_lock_irqsave(&cam->queue_lock, lock_flags); in zc0301_read() 854 spin_unlock_irqrestore(&cam->queue_lock, lock_flags); in zc0301_read() 898 spin_lock_irqsave(&cam->queue_lock, lock_flags); in zc0301_poll() 902 spin_unlock_irqrestore(&cam->queue_lock, lock_flags); in zc0301_poll() 1640 spin_lock_irqsave(&cam->queue_lock, lock_flags); in zc0301_vidioc_qbuf() [all …]
|
/drivers/media/video/et61x251/ |
D | et61x251_core.c | 203 spin_lock_irqsave(&cam->queue_lock, lock_flags); in et61x251_queue_unusedframes() 205 spin_unlock_irqrestore(&cam->queue_lock, lock_flags); in et61x251_queue_unusedframes() 432 spin_lock(&cam->queue_lock); in et61x251_urb_complete() 440 spin_unlock(&cam->queue_lock); in et61x251_urb_complete() 1174 spin_lock_init(&cam->queue_lock); in et61x251_init() 1410 spin_lock_irqsave(&cam->queue_lock, lock_flags); in et61x251_read() 1414 spin_unlock_irqrestore(&cam->queue_lock, lock_flags); in et61x251_read() 1459 spin_lock_irqsave(&cam->queue_lock, lock_flags); in et61x251_poll() 1463 spin_unlock_irqrestore(&cam->queue_lock, lock_flags); in et61x251_poll() 2239 spin_lock_irqsave(&cam->queue_lock, lock_flags); in et61x251_vidioc_qbuf() [all …]
|
/drivers/media/video/usbvision/ |
D | usbvision-video.c | 851 spin_lock_irqsave(&usbvision->queue_lock, lock_flags); in vidioc_qbuf() 853 spin_unlock_irqrestore(&usbvision->queue_lock, lock_flags); in vidioc_qbuf() 878 spin_lock_irqsave(&usbvision->queue_lock, lock_flags); in vidioc_dqbuf() 882 spin_unlock_irqrestore(&usbvision->queue_lock, lock_flags); in vidioc_dqbuf() 1062 spin_lock_irqsave(&usbvision->queue_lock, lock_flags); in usbvision_v4l2_read() 1064 spin_unlock_irqrestore(&usbvision->queue_lock, in usbvision_v4l2_read() 1081 spin_lock_irqsave(&usbvision->queue_lock, lock_flags); in usbvision_v4l2_read() 1085 spin_unlock_irqrestore(&usbvision->queue_lock, lock_flags); in usbvision_v4l2_read()
|