Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/input/serio/
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()
Dhil_mlc.c609 BUG_ON(down_trylock(&mlc->isem)); in hilse_setup_input()
695 if (down_trylock(&mlc->osem)) { in hilse_donode()
/linux-6.6.21/kernel/locking/
Dsemaphore.c134 int __sched down_trylock(struct semaphore *sem) in down_trylock() function
147 EXPORT_SYMBOL(down_trylock);
/linux-6.6.21/include/linux/
Dsemaphore.h47 extern int __must_check down_trylock(struct semaphore *sem);
/linux-6.6.21/drivers/firmware/efi/
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()
Dvars.c152 if (down_trylock(&efivars_lock)) in efivar_trylock()
/linux-6.6.21/drivers/xen/xenbus/
Dxenbus_probe_backend.c267 if (down_trylock(&xdev->reclaim_sem)) in backend_reclaim_memory()
/linux-6.6.21/drivers/net/wireless/st/cw1200/
Dpm.c190 if (down_trylock(&priv->scan.lock)) in cw1200_wow_suspend()
Dscan.c385 if (down_trylock(&priv->scan.lock)) { in cw1200_probe_work()
Dsta.c101 while (down_trylock(&priv->scan.lock)) { in cw1200_stop()
983 if (!down_trylock(&priv->scan.lock)) { in cw1200_event_handler()
/linux-6.6.21/drivers/mux/
Dcore.c431 if (down_trylock(&mux->lock)) in mux_control_try_select_delay()
/linux-6.6.21/drivers/usb/
Dusb-skeleton.c384 if (down_trylock(&dev->limit_sem)) { in skel_write()
/linux-6.6.21/drivers/md/
Ddm-region-hash.c630 while (!down_trylock(&rh->recovery_count)) { in dm_rh_recovery_prepare()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h916 return !down_trylock(&nn->bar_lock); in nn_ctrl_bar_trylock()
/linux-6.6.21/net/core/
Dnetpoll.c197 if (!ni || down_trylock(&ni->dev_lock)) in netpoll_poll_dev()
/linux-6.6.21/drivers/nfc/st95hf/
Dcore.c793 if (!down_trylock(&stcontext->exchange_lock)) { in st95hf_irq_thread_handler()
/linux-6.6.21/drivers/usb/class/
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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c1776 while (down_trylock(&cmd->vars.sem)) { in mlx5_cmd_flush()
1782 while (down_trylock(&cmd->vars.pages_sem)) { in mlx5_cmd_flush()
/linux-6.6.21/fs/xfs/
Dxfs_buf.c1101 locked = down_trylock(&bp->b_sema) == 0; in xfs_buf_trylock()
/linux-6.6.21/drivers/infiniband/core/
Duser_mad.c1090 if (down_trylock(&port->sm_sem)) { in ib_umad_sm_open()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c1380 if (down_trylock(&bp->stats_lock)) { in bnx2x_stats_handle()
/linux-6.6.21/sound/soc/codecs/
Dnau8825.c250 ret = down_trylock(&nau8825->xtalk_sem); in nau8825_sema_acquire()
/linux-6.6.21/kernel/printk/
Dprintk.c329 lock_failed = down_trylock(&console_sem); in __down_trylock_console_sem()
/linux-6.6.21/drivers/hid/
Dhid-core.c2051 if (down_trylock(&hid->driver_input_lock)) in hid_input_report()
/linux-6.6.21/drivers/net/wireless/cisco/
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