Home
last modified time | relevance | path

Searched refs:down_trylock (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/drivers/input/serio/
H A Dhp_sdc_mlc.c151 if (down_trylock(&mlc->isem)) { in hp_sdc_mlc_in()
186 BUG_ON(down_trylock(&mlc->isem)); in hp_sdc_mlc_cts()
187 BUG_ON(down_trylock(&mlc->osem)); in hp_sdc_mlc_cts()
192 if (down_trylock(&mlc->csem)) { in hp_sdc_mlc_cts()
229 BUG_ON(down_trylock(&mlc->osem)); in hp_sdc_mlc_out()
240 BUG_ON(down_trylock(&mlc->csem)); in hp_sdc_mlc_out()
296 BUG_ON(down_trylock(&mlc->csem)); in hp_sdc_mlc_out()
H A Dhil_mlc.c609 BUG_ON(down_trylock(&mlc->isem)); in hilse_setup_input()
695 if (down_trylock(&mlc->osem)) { in hilse_donode()
/openbmc/linux/kernel/locking/
H A Dsemaphore.c134 int __sched down_trylock(struct semaphore *sem) in down_trylock() function
147 EXPORT_SYMBOL(down_trylock);
/openbmc/linux/include/linux/
H A Dsemaphore.h47 extern int __must_check down_trylock(struct semaphore *sem);
/openbmc/linux/drivers/firmware/efi/
H A Druntime-wrappers.c444 if (down_trylock(&efi_runtime_lock)) in virt_efi_set_variable_nb()
481 if (down_trylock(&efi_runtime_lock)) in virt_efi_query_variable_info_nb()
507 if (down_trylock(&efi_runtime_lock)) { in virt_efi_reset_system()
H A Dvars.c152 if (down_trylock(&efivars_lock)) in efivar_trylock()
/openbmc/linux/drivers/xen/xenbus/
H A Dxenbus_probe_backend.c267 if (down_trylock(&xdev->reclaim_sem)) in backend_reclaim_memory()
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dpm.c190 if (down_trylock(&priv->scan.lock)) in cw1200_wow_suspend()
H A Dscan.c385 if (down_trylock(&priv->scan.lock)) { in cw1200_probe_work()
H A Dsta.c101 while (down_trylock(&priv->scan.lock)) { in cw1200_stop()
983 if (!down_trylock(&priv->scan.lock)) { in cw1200_event_handler()
/openbmc/linux/drivers/mux/
H A Dcore.c431 if (down_trylock(&mux->lock)) in mux_control_try_select_delay()
/openbmc/linux/drivers/usb/
H A Dusb-skeleton.c384 if (down_trylock(&dev->limit_sem)) { in skel_write()
/openbmc/linux/drivers/md/
H A Ddm-region-hash.c630 while (!down_trylock(&rh->recovery_count)) { in dm_rh_recovery_prepare()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net.h916 return !down_trylock(&nn->bar_lock); in nn_ctrl_bar_trylock()
/openbmc/linux/net/core/
H A Dnetpoll.c197 if (!ni || down_trylock(&ni->dev_lock)) in netpoll_poll_dev()
/openbmc/linux/drivers/nfc/st95hf/
H A Dcore.c793 if (!down_trylock(&stcontext->exchange_lock)) { in st95hf_irq_thread_handler()
/openbmc/linux/drivers/usb/class/
H A Dusbtmc.c1154 if (down_trylock(&file_data->limit_write_sem)) { in usbtmc_generic_write()
1541 if (down_trylock(&file_data->limit_write_sem)) { in usbtmc_write()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c1806 while (down_trylock(&cmd->vars.sem)) { in mlx5_cmd_flush()
1812 while (down_trylock(&cmd->vars.pages_sem)) { in mlx5_cmd_flush()
/openbmc/linux/fs/xfs/
H A Dxfs_buf.c1101 locked = down_trylock(&bp->b_sema) == 0; in xfs_buf_trylock()
/openbmc/linux/drivers/infiniband/core/
H A Duser_mad.c1099 if (down_trylock(&port->sm_sem)) { in ib_umad_sm_open()
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_stats.c1380 if (down_trylock(&bp->stats_lock)) { in bnx2x_stats_handle()
/openbmc/linux/sound/soc/codecs/
H A Dnau8825.c250 ret = down_trylock(&nau8825->xtalk_sem); in nau8825_sema_acquire()
/openbmc/linux/kernel/printk/
H A Dprintk.c329 lock_failed = down_trylock(&console_sem); in __down_trylock_console_sem()
/openbmc/linux/drivers/hid/
H A Dhid-core.c2050 if (down_trylock(&hid->driver_input_lock)) in hid_input_report()
/openbmc/linux/drivers/net/wireless/cisco/
H A Dairo.c2163 if (down_trylock(&priv->sem) != 0) { in airo_start_xmit()
2242 if (down_trylock(&priv->sem) != 0) { in airo_start_xmit11()
2317 if (down_trylock(&ai->sem) != 0) { in airo_set_multicast_list()

12