Lines Matching refs:lgr_lock
60 spinlock_t **lgr_lock) in smc_lgr_list_head() argument
63 *lgr_lock = &lgr->smcd->lgr_lock; in smc_lgr_list_head()
67 *lgr_lock = &smc_lgr_list.lock; in smc_lgr_list_head()
615 spin_lock_bh(&dev->lgr_lock); in smc_nl_handle_smcd_lgr()
628 spin_unlock_bh(&dev->lgr_lock); in smc_nl_handle_smcd_lgr()
684 spinlock_t *lgr_lock; in smc_lgr_cleanup_early() local
689 smc_lgr_list_head(lgr, &lgr_lock); in smc_lgr_cleanup_early()
690 spin_lock_bh(lgr_lock); in smc_lgr_cleanup_early()
694 spin_unlock_bh(lgr_lock); in smc_lgr_cleanup_early()
719 spinlock_t *lgr_lock; in smc_lgr_free_work() local
722 smc_lgr_list_head(lgr, &lgr_lock); in smc_lgr_free_work()
723 spin_lock_bh(lgr_lock); in smc_lgr_free_work()
725 spin_unlock_bh(lgr_lock); in smc_lgr_free_work()
732 spin_unlock_bh(lgr_lock); in smc_lgr_free_work()
737 spin_unlock_bh(lgr_lock); in smc_lgr_free_work()
876 spinlock_t *lgr_lock; in smc_lgr_create() local
929 lgr_lock = &lgr->smcd->lgr_lock; in smc_lgr_create()
973 lgr_lock = &smc_lgr_list.lock; in smc_lgr_create()
978 spin_lock_bh(lgr_lock); in smc_lgr_create()
980 spin_unlock_bh(lgr_lock); in smc_lgr_create()
1575 spinlock_t *lgr_lock; in smc_lgr_terminate_sched() local
1577 smc_lgr_list_head(lgr, &lgr_lock); in smc_lgr_terminate_sched()
1578 spin_lock_bh(lgr_lock); in smc_lgr_terminate_sched()
1580 spin_unlock_bh(lgr_lock); in smc_lgr_terminate_sched()
1585 spin_unlock_bh(lgr_lock); in smc_lgr_terminate_sched()
1597 spin_lock_bh(&dev->lgr_lock); in smc_smcd_terminate()
1610 spin_unlock_bh(&dev->lgr_lock); in smc_smcd_terminate()
1625 spin_lock_bh(&smcd->lgr_lock); in smc_smcd_terminate_all()
1629 spin_unlock_bh(&smcd->lgr_lock); in smc_smcd_terminate_all()
1962 spinlock_t *lgr_lock; in smc_conn_create() local
1967 lgr_lock = ini->is_smcd ? &ini->ism_dev[ini->ism_selected]->lgr_lock : in smc_conn_create()
1976 spin_lock_bh(lgr_lock); in smc_conn_create()
2003 spin_unlock_bh(lgr_lock); in smc_conn_create()