Searched refs:down_trylock (Results 1 – 25 of 27) sorted by relevance
12
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()
609 BUG_ON(down_trylock(&mlc->isem)); in hilse_setup_input()695 if (down_trylock(&mlc->osem)) { in hilse_donode()
134 int __sched down_trylock(struct semaphore *sem) in down_trylock() function147 EXPORT_SYMBOL(down_trylock);
47 extern int __must_check down_trylock(struct semaphore *sem);
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()
152 if (down_trylock(&efivars_lock)) in efivar_trylock()
267 if (down_trylock(&xdev->reclaim_sem)) in backend_reclaim_memory()
190 if (down_trylock(&priv->scan.lock)) in cw1200_wow_suspend()
385 if (down_trylock(&priv->scan.lock)) { in cw1200_probe_work()
101 while (down_trylock(&priv->scan.lock)) { in cw1200_stop()983 if (!down_trylock(&priv->scan.lock)) { in cw1200_event_handler()
431 if (down_trylock(&mux->lock)) in mux_control_try_select_delay()
384 if (down_trylock(&dev->limit_sem)) { in skel_write()
630 while (!down_trylock(&rh->recovery_count)) { in dm_rh_recovery_prepare()
916 return !down_trylock(&nn->bar_lock); in nn_ctrl_bar_trylock()
197 if (!ni || down_trylock(&ni->dev_lock)) in netpoll_poll_dev()
793 if (!down_trylock(&stcontext->exchange_lock)) { in st95hf_irq_thread_handler()
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()
1776 while (down_trylock(&cmd->vars.sem)) { in mlx5_cmd_flush()1782 while (down_trylock(&cmd->vars.pages_sem)) { in mlx5_cmd_flush()
1101 locked = down_trylock(&bp->b_sema) == 0; in xfs_buf_trylock()
1090 if (down_trylock(&port->sm_sem)) { in ib_umad_sm_open()
1380 if (down_trylock(&bp->stats_lock)) { in bnx2x_stats_handle()
250 ret = down_trylock(&nau8825->xtalk_sem); in nau8825_sema_acquire()
329 lock_failed = down_trylock(&console_sem); in __down_trylock_console_sem()
2051 if (down_trylock(&hid->driver_input_lock)) in hid_input_report()
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()