Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/kernel/locking/
Dsemaphore.c130 int down_trylock(struct semaphore *sem) in down_trylock() function
143 EXPORT_SYMBOL(down_trylock);
/kernel/linux/linux-5.10/drivers/firmware/efi/
Druntime-wrappers.c353 if (down_trylock(&efi_runtime_lock)) in virt_efi_set_variable_nonblocking()
392 if (down_trylock(&efi_runtime_lock)) in virt_efi_query_variable_info_nonblocking()
418 if (down_trylock(&efi_runtime_lock)) { in virt_efi_reset_system()
Dvars.c700 if (down_trylock(&efivars_lock)) in efivar_entry_set_nonblocking()
770 if (down_trylock(&efivars_lock)) in efivar_entry_set_safe()
/kernel/linux/linux-5.10/include/linux/
Dsemaphore.h41 extern int __must_check down_trylock(struct semaphore *sem);
/kernel/linux/linux-5.10/drivers/staging/blackbox/
Dblackbox_storage.c53 if (down_trylock(&kmsg_sem) != 0) { in do_kmsg_dump()
/kernel/linux/linux-5.10/drivers/xen/xenbus/
Dxenbus_probe_backend.c267 if (down_trylock(&xdev->reclaim_sem)) in backend_reclaim_memory()
/kernel/linux/linux-5.10/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()
982 if (!down_trylock(&priv->scan.lock)) { in cw1200_event_handler()
/kernel/linux/linux-5.10/drivers/mux/
Dcore.c370 if (down_trylock(&mux->lock)) in mux_control_try_select()
/kernel/linux/linux-5.10/drivers/usb/
Dusb-skeleton.c384 if (down_trylock(&dev->limit_sem)) { in skel_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h901 return !down_trylock(&nn->bar_lock); in nn_ctrl_bar_trylock()
/kernel/linux/linux-5.10/drivers/md/
Ddm-region-hash.c627 while (!down_trylock(&rh->recovery_count)) { in dm_rh_recovery_prepare()
/kernel/linux/linux-5.10/drivers/crypto/ux500/cryp/
Dcryp_core.c1409 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_remove()
1460 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_shutdown()
/kernel/linux/linux-5.10/drivers/crypto/ux500/hash/
Dhash_core.c1776 if (down_trylock(&driver_data.device_allocation)) in ux500_hash_remove()
1829 if (down_trylock(&driver_data.device_allocation)) in ux500_hash_shutdown()
/kernel/linux/linux-5.10/drivers/lightnvm/
Dpblk-sysfs.c36 if (!down_trylock(&rlun->wr_sem)) { in pblk_sysfs_luns_show()
/kernel/linux/linux-5.10/net/core/
Dnetpoll.c183 if (!ni || down_trylock(&ni->dev_lock)) in netpoll_poll_dev()
/kernel/linux/linux-5.10/drivers/nfc/st95hf/
Dcore.c794 if (!down_trylock(&stcontext->exchange_lock)) { in st95hf_irq_thread_handler()
/kernel/linux/linux-5.10/drivers/usb/class/
Dusbtmc.c1124 if (down_trylock(&file_data->limit_write_sem)) { in usbtmc_generic_write()
1511 if (down_trylock(&file_data->limit_write_sem)) { in usbtmc_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c1691 while (down_trylock(&cmd->sem)) { in mlx5_cmd_flush()
1697 while (down_trylock(&cmd->pages_sem)) { in mlx5_cmd_flush()
/kernel/linux/linux-5.10/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()
2292 if (down_trylock(&local->sem) != 0) { in airo_get_stats()
2321 if (down_trylock(&ai->sem) != 0) { in airo_set_multicast_list()
3284 if (down_trylock(&ai->sem) != 0) { in airo_handle_link()
7811 if (down_trylock(&local->sem) != 0) { in airo_get_wireless_stats()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0018_linux_drivers_firmware.patch1669 + if (down_trylock(&dev_ctx->fops_lock))
1730 + if (down_trylock(&dev_ctx->fops_lock))
3330 + if (down_trylock(&dev_ctx->fops_lock))
3390 + if (down_trylock(&dev_ctx->fops_lock))
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duser_mad.c1089 if (down_trylock(&port->sm_sem)) { in ib_umad_sm_open()

12