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

12

/linux-master/include/linux/
H A Dsemaphore.h31 * It is also safe to call down_trylock() and up() from interrupt
47 extern int __must_check down_trylock(struct semaphore *sem);
/linux-master/drivers/input/serio/
H A Dhp_sdc_mlc.c151 if (down_trylock(&mlc->isem)) {
186 BUG_ON(down_trylock(&mlc->isem));
187 BUG_ON(down_trylock(&mlc->osem));
192 if (down_trylock(&mlc->csem)) {
229 BUG_ON(down_trylock(&mlc->osem));
240 BUG_ON(down_trylock(&mlc->csem));
296 BUG_ON(down_trylock(&mlc->csem));
H A Dhil_mlc.c609 BUG_ON(down_trylock(&mlc->isem));
695 if (down_trylock(&mlc->osem)) {
/linux-master/kernel/locking/
H A Dsemaphore.c16 * down_trylock() and up() can be called from interrupt context, so we
122 * down_trylock - try to acquire the semaphore, without waiting
134 int __sched down_trylock(struct semaphore *sem) function
147 EXPORT_SYMBOL(down_trylock); variable
/linux-master/drivers/firmware/efi/
H A Druntime-wrappers.c444 if (down_trylock(&efi_runtime_lock))
481 if (down_trylock(&efi_runtime_lock))
507 if (down_trylock(&efi_runtime_lock)) {
H A Dvars.c160 if (down_trylock(&efivars_lock))
/linux-master/drivers/net/wireless/st/cw1200/
H A Dpm.c190 if (down_trylock(&priv->scan.lock))
H A Dscan.c385 if (down_trylock(&priv->scan.lock)) {
H A Dsta.c101 while (down_trylock(&priv->scan.lock)) {
983 if (!down_trylock(&priv->scan.lock)) {
/linux-master/drivers/xen/xenbus/
H A Dxenbus_probe_backend.c267 if (down_trylock(&xdev->reclaim_sem))
/linux-master/drivers/usb/
H A Dusb-skeleton.c384 if (down_trylock(&dev->limit_sem)) {
/linux-master/drivers/mux/
H A Dcore.c431 if (down_trylock(&mux->lock))
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net.h949 return !down_trylock(&nn->bar_lock);
/linux-master/drivers/md/
H A Ddm-region-hash.c630 while (!down_trylock(&rh->recovery_count)) {
/linux-master/drivers/nfc/st95hf/
H A Dcore.c787 * the correct behaviour is down_trylock() should always
793 if (!down_trylock(&stcontext->exchange_lock)) {
/linux-master/net/core/
H A Dnetpoll.c197 if (!ni || down_trylock(&ni->dev_lock))
/linux-master/fs/bcachefs/
H A Dchardev.c841 if (down_trylock(&c->online_fsck_mutex)) {
/linux-master/drivers/usb/class/
H A Dusbtmc.c1154 if (down_trylock(&file_data->limit_write_sem)) {
1541 if (down_trylock(&file_data->limit_write_sem)) {
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c1778 while (down_trylock(&cmd->vars.sem)) {
1784 while (down_trylock(&cmd->vars.pages_sem)) {
/linux-master/drivers/infiniband/core/
H A Duser_mad.c1090 if (down_trylock(&port->sm_sem)) {
/linux-master/fs/xfs/
H A Dxfs_buf.c1168 locked = down_trylock(&bp->b_sema) == 0;
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_stats.c1380 if (down_trylock(&bp->stats_lock)) {
/linux-master/drivers/md/bcache/
H A Dbtree.c627 if (down_trylock(&b->io_mutex))
/linux-master/drivers/hid/
H A Dhid-core.c2051 if (down_trylock(&hid->driver_input_lock))
/linux-master/sound/soc/codecs/
H A Dnau8825.c250 ret = down_trylock(&nau8825->xtalk_sem);

Completed in 257 milliseconds

12