/openbmc/linux/drivers/input/serio/ |
H A D | hp_sdc_mlc.c | 151 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 D | hil_mlc.c | 609 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 D | semaphore.c | 134 int __sched down_trylock(struct semaphore *sem) in down_trylock() function 147 EXPORT_SYMBOL(down_trylock);
|
/openbmc/linux/include/linux/ |
H A D | semaphore.h | 47 extern int __must_check down_trylock(struct semaphore *sem);
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | runtime-wrappers.c | 444 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 D | vars.c | 152 if (down_trylock(&efivars_lock)) in efivar_trylock()
|
/openbmc/linux/drivers/xen/xenbus/ |
H A D | xenbus_probe_backend.c | 267 if (down_trylock(&xdev->reclaim_sem)) in backend_reclaim_memory()
|
/openbmc/linux/drivers/net/wireless/st/cw1200/ |
H A D | pm.c | 190 if (down_trylock(&priv->scan.lock)) in cw1200_wow_suspend()
|
H A D | scan.c | 385 if (down_trylock(&priv->scan.lock)) { in cw1200_probe_work()
|
H A D | sta.c | 101 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 D | core.c | 431 if (down_trylock(&mux->lock)) in mux_control_try_select_delay()
|
/openbmc/linux/drivers/usb/ |
H A D | usb-skeleton.c | 384 if (down_trylock(&dev->limit_sem)) { in skel_write()
|
/openbmc/linux/drivers/md/ |
H A D | dm-region-hash.c | 630 while (!down_trylock(&rh->recovery_count)) { in dm_rh_recovery_prepare()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net.h | 916 return !down_trylock(&nn->bar_lock); in nn_ctrl_bar_trylock()
|
/openbmc/linux/net/core/ |
H A D | netpoll.c | 197 if (!ni || down_trylock(&ni->dev_lock)) in netpoll_poll_dev()
|
/openbmc/linux/drivers/nfc/st95hf/ |
H A D | core.c | 793 if (!down_trylock(&stcontext->exchange_lock)) { in st95hf_irq_thread_handler()
|
/openbmc/linux/drivers/usb/class/ |
H A D | usbtmc.c | 1154 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 D | cmd.c | 1806 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 D | xfs_buf.c | 1101 locked = down_trylock(&bp->b_sema) == 0; in xfs_buf_trylock()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | user_mad.c | 1099 if (down_trylock(&port->sm_sem)) { in ib_umad_sm_open()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_stats.c | 1380 if (down_trylock(&bp->stats_lock)) { in bnx2x_stats_handle()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | nau8825.c | 250 ret = down_trylock(&nau8825->xtalk_sem); in nau8825_sema_acquire()
|
/openbmc/linux/kernel/printk/ |
H A D | printk.c | 329 lock_failed = down_trylock(&console_sem); in __down_trylock_console_sem()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-core.c | 2050 if (down_trylock(&hid->driver_input_lock)) in hid_input_report()
|
/openbmc/linux/drivers/net/wireless/cisco/ |
H A D | airo.c | 2163 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()
|