Searched refs:down_interruptible (Results 1 - 47 of 47) sorted by relevance

/linux-4.1.27/include/linux/
H A Dsemaphore.h40 extern int __must_check down_interruptible(struct semaphore *sem);
/linux-4.1.27/kernel/locking/
H A Dsemaphore.c21 * irqsave variants for down(), down_interruptible() and down_killable()
50 * Use of this function is deprecated, please use down_interruptible() or
67 * down_interruptible - acquire the semaphore unless interrupted
75 int down_interruptible(struct semaphore *sem) down_interruptible() function
89 EXPORT_SYMBOL(down_interruptible); variable
H A Dmutex.c786 * This function is similar to (but not equivalent to) down_interruptible().
/linux-4.1.27/drivers/staging/rtl8712/
H A Dosdep_service.h69 if (down_interruptible(sema)) _down_sema()
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/
H A Dosdep_service.c68 if (down_interruptible(sema)) _rtw_down_sema()
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dopal-async.c65 if (down_interruptible(&opal_async_sem)) opal_async_get_token_interruptible()
/linux-4.1.27/drivers/char/
H A Dsnsc.c175 if (down_interruptible(&sd->sd_rbs)) { scdrv_read()
267 if (down_interruptible(&sd->sd_wbs)) { scdrv_write()
/linux-4.1.27/drivers/input/misc/
H A Dhp_sdc_rtc.c111 if (WARN_ON(down_interruptible(&tsem))) hp_sdc_rtc_do_read_bbrtc()
180 if (WARN_ON(down_interruptible(&i8042tregs))) hp_sdc_rtc_read_i8042timer()
189 if (WARN_ON(down_interruptible(&i8042tregs))) hp_sdc_rtc_read_i8042timer()
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c432 ret = down_interruptible(&driver_data.device_allocation); cryp_get_device_data()
460 * Since we allocated a device with down_interruptible, this cryp_get_device_data()
870 * The down_interruptible part for this semaphore is called in ablk_dma_crypt()
936 * The down_interruptible part for this semaphore is called in ablk_crypt()
1721 if (down_interruptible(&driver_data.device_allocation)) ux500_cryp_suspend()
1722 dev_dbg(dev, "[%s]: down_interruptible() failed", ux500_cryp_suspend()
/linux-4.1.27/drivers/misc/sgi-xp/
H A Dxp_main.c220 * We've decided not to make this a down_interruptible(), since we xpc_disconnect()
/linux-4.1.27/drivers/gpu/drm/udl/
H A Dudl_main.c153 ret = down_interruptible(&udl->urbs.limit_sem); udl_free_urb_list()
/linux-4.1.27/arch/powerpc/kernel/
H A Deeh_event.c58 if (down_interruptible(&eeh_eventlist_sem)) eeh_event_handler()
/linux-4.1.27/drivers/crypto/ux500/hash/
H A Dhash_core.c115 * The down_interruptible part for this semaphore is called in release_hash_device()
389 ret = down_interruptible(&driver_data.device_allocation); hash_get_device_data()
416 * Since we allocated a device with down_interruptible, this hash_get_device_data()
1907 if (down_interruptible(&driver_data.device_allocation)) ux500_hash_suspend()
1908 dev_dbg(dev, "%s: down_interruptible() failed\n", ux500_hash_suspend()
/linux-4.1.27/net/9p/
H A Dtrans_rdma.c477 if (down_interruptible(&rdma->rq_sem)) { rdma_request()
519 if (down_interruptible(&rdma->sq_sem)) { rdma_request()
/linux-4.1.27/drivers/usb/misc/
H A Dusblcd.c235 r = down_interruptible(&dev->limit_sem); lcd_write()
H A Dftdi-elan.c636 if (down_interruptible(&ftdi->sw_lock)) { ftdi_elan_open()
/linux-4.1.27/drivers/scsi/esas2r/
H A Desas2r_ioctl.c113 if (down_interruptible(&a->fm_api_semaphore)) { do_fm_api()
212 if (down_interruptible(&buffered_ioctl_semaphore)) handle_buffered_ioctl()
1983 if (down_interruptible(&a->fs_api_semaphore)) { esas2r_read_fs()
H A Desas2r_flash.c1194 if (down_interruptible(&a->nvram_semaphore)) esas2r_nvram_read_direct()
1268 if (down_interruptible(&a->nvram_semaphore)) esas2r_nvram_write()
/linux-4.1.27/drivers/hv/
H A Dhv_fcopy.c285 if (down_interruptible(&fcopy_transaction.read_sema)) fcopy_read()
/linux-4.1.27/drivers/net/wireless/
H A Dairo.c1753 if (down_interruptible(&ai->sem)) readBSSListRid()
2709 if (lock && down_interruptible(&ai->sem)) reset_card()
3074 locked = down_interruptible(&ai->sem); airo_thread()
3582 if (lock && down_interruptible(&ai->sem)) enable_MAC()
3611 if (lock && down_interruptible(&ai->sem)) disable_MAC()
3806 if (lock && down_interruptible(&ai->sem)) setup_card()
4122 if (down_interruptible(&ai->sem)) PC4500_readrid()
4190 if (down_interruptible(&ai->sem)) PC4500_writerid()
4265 if (down_interruptible(&ai->sem)) transmit_allocate()
5458 if (down_interruptible(&ai->sem)) proc_BSSList_open()
5595 if (down_interruptible(&ai->sem)) airo_pci_suspend()
5949 if (down_interruptible(&local->sem)) airo_set_wap()
7229 if (down_interruptible(&ai->sem)) airo_set_scan()
7448 if (down_interruptible(&ai->sem)) airo_get_scan()
7505 if (down_interruptible(&local->sem)) airo_config_commit()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Dmain.c1107 if (down_interruptible(sem)) mwifiex_add_card()
1208 if (down_interruptible(sem)) mwifiex_remove_card()
H A Dusb.c1083 if (!down_interruptible(&add_remove_card_sem)) mwifiex_usb_cleanup_module()
H A Dpcie.c2660 if (!down_interruptible(&add_remove_card_sem)) mwifiex_pcie_cleanup_module()
H A Dscan.c2311 if (down_interruptible(&priv->async_sem)) { mwifiex_request_scan()
H A Dsdio.c2419 if (!down_interruptible(&add_remove_card_sem)) mwifiex_sdio_cleanup_module()
/linux-4.1.27/drivers/media/dvb-core/
H A Ddvb_frontend.c256 if (down_interruptible (&fepriv->sem)) dvb_frontend_get_event()
738 if (!down_interruptible(&fepriv->sem)) dvb_frontend_thread()
747 if (down_interruptible(&fepriv->sem)) dvb_frontend_thread()
952 if (down_interruptible (&fepriv->sem)) dvb_frontend_start()
2026 if (down_interruptible(&fepriv->sem)) dvb_frontend_ioctl()
/linux-4.1.27/drivers/scsi/aacraid/
H A Dcommsup.c557 if (down_interruptible(&fibptr->event_wait)) { aac_fib_send()
619 } else if (down_interruptible(&fibptr->event_wait)) { aac_fib_send()
621 * down_interruptible must_check */ aac_fib_send()
H A Dcommctrl.c326 if(down_interruptible(&fibctx->wait_sem) < 0) { next_getadapter_fib()
/linux-4.1.27/drivers/parport/
H A Dieee1284.c86 ret = down_interruptible (&port->physport->ieee1284.irq); parport_wait_event()
/linux-4.1.27/drivers/hid/
H A Dhid-core.c2113 if (down_interruptible(&hdev->driver_lock)) hid_device_probe()
2115 if (down_interruptible(&hdev->driver_input_lock)) { hid_device_probe()
2155 if (down_interruptible(&hdev->driver_lock)) hid_device_remove()
2157 if (down_interruptible(&hdev->driver_input_lock)) { hid_device_remove()
/linux-4.1.27/drivers/usb/
H A Dusb-skeleton.c381 if (down_interruptible(&dev->limit_sem)) { skel_write()
/linux-4.1.27/arch/ia64/kernel/
H A Dsalinfo.c314 if (down_interruptible(&data->mutex)) salinfo_event_read()
H A Dperfmon.c4985 * (TIF_NEED_RESCHED) or disabled. The down_interruptible
5041 * force interrupt enable because of down_interruptible() pfm_handle_work()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c560 if (down_interruptible(&ar->sem)) { read_file_tgt_stats()
1161 if (down_interruptible(&ar->sem)) ath6kl_roam_table_read()
H A Dinit.c1869 if (down_interruptible(&ar->sem)) { ath6kl_stop_txrx()
1870 ath6kl_err("down_interruptible failed\n"); ath6kl_stop_txrx()
H A Dcfg80211.c483 if (down_interruptible(&ar->sem)) { ath6kl_cfg80211_connect()
835 if (down_interruptible(&ar->sem)) { ath6kl_cfg80211_disconnect()
1778 if (down_interruptible(&ar->sem)) ath6kl_get_station()
/linux-4.1.27/drivers/infiniband/core/
H A Duser_mad.c1032 if (down_interruptible(&port->sm_sem)) { ib_umad_sm_open()
/linux-4.1.27/drivers/target/
H A Dtarget_core_sbc.c575 rc = down_interruptible(&dev->caw_sem); sbc_compare_and_write()
/linux-4.1.27/drivers/net/wan/
H A Dcosa.c872 if (down_interruptible(&chan->wsem)) cosa_write()
/linux-4.1.27/drivers/video/fbdev/
H A Dsmscufx.c1844 ret = down_interruptible(&dev->urbs.limit_sem); ufx_free_urb_list()
H A Dudlfb.c1834 ret = down_interruptible(&dev->urbs.limit_sem); dlfb_free_urb_list()
/linux-4.1.27/drivers/staging/dgnc/
H A Ddgnc_tty.c1800 if (down_interruptible(&dgnc_TmpWriteSem)) dgnc_tty_write()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c10325 rc = down_interruptible(&bnx2x_prev_sem); bnx2x_prev_path_mark_eeh()
10390 rc = down_interruptible(&bnx2x_prev_sem); bnx2x_prev_mark_path()
10424 rc = down_interruptible(&bnx2x_prev_sem); bnx2x_prev_mark_path()
10649 rc = down_interruptible(&bnx2x_prev_sem); bnx2x_prev_unload()
/linux-4.1.27/drivers/infiniband/ulp/isert/
H A Dib_isert.c3244 ret = down_interruptible(&isert_np->np_sem); isert_accept_np()
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target.c232 ret = down_interruptible(&tpg->np_login_sem); iscsit_access_np()
/linux-4.1.27/drivers/net/ethernet/micrel/
H A Dksz884x.c5850 if (down_interruptible(&priv->proc_sem)) netdev_ioctl()
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c6269 if (down_interruptible(&instance->ioctl_sem)) { megasas_mgmt_ioctl_fw()

Completed in 1856 milliseconds