Lines Matching refs:tgtdev_lock
658 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_tgtdev_add_to_list()
663 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_tgtdev_add_to_list()
682 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_tgtdev_del_from_list()
690 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_tgtdev_del_from_list()
708 assert_spin_locked(&mrioc->tgtdev_lock); in __mpi3mr_get_tgtdev_by_handle()
735 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_get_tgtdev_by_handle()
737 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_get_tgtdev_by_handle()
756 assert_spin_locked(&mrioc->tgtdev_lock); in __mpi3mr_get_tgtdev_by_perst_id()
783 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_get_tgtdev_by_perst_id()
785 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_get_tgtdev_by_perst_id()
804 assert_spin_locked(&mrioc->tgtdev_lock); in __mpi3mr_get_tgtdev_from_tgtpriv()
829 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_set_io_divert_for_all_vd_in_tg()
837 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_set_io_divert_for_all_vd_in_tg()
1868 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_set_qd_for_all_vd_in_tg()
1883 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_set_qd_for_all_vd_in_tg()
2064 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_create_tgtdev()
2068 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_create_tgtdev()
2270 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_dev_rmhs_send_tm()
2274 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_dev_rmhs_send_tm()
4307 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_slave_destroy()
4320 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_slave_destroy()
4349 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_target_destroy()
4360 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_target_destroy()
4389 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_slave_configure()
4397 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_slave_configure()
4456 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_slave_alloc()
4472 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_slave_alloc()
4476 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_slave_alloc()
4515 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_target_alloc()
4560 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_target_alloc()
5058 spin_lock_init(&mrioc->tgtdev_lock); in mpi3mr_probe()