Home
last modified time | relevance | path

Searched refs:tgtdev_lock (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_os.c693 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_tgtdev_add_to_list()
698 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_tgtdev_add_to_list()
717 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_tgtdev_del_from_list()
725 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_tgtdev_del_from_list()
743 assert_spin_locked(&mrioc->tgtdev_lock); in __mpi3mr_get_tgtdev_by_handle()
770 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_get_tgtdev_by_handle()
772 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_get_tgtdev_by_handle()
791 assert_spin_locked(&mrioc->tgtdev_lock); in __mpi3mr_get_tgtdev_by_perst_id()
818 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_get_tgtdev_by_perst_id()
820 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_get_tgtdev_by_perst_id()
[all …]
H A Dmpi3mr_transport.c346 assert_spin_locked(&mrioc->tgtdev_lock); in __mpi3mr_get_tgtdev_by_addr()
382 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_get_tgtdev_by_addr()
384 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_get_tgtdev_by_addr()
411 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_remove_device_by_sas_address()
421 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_remove_device_by_sas_address()
445 assert_spin_locked(&mrioc->tgtdev_lock); in __mpi3mr_get_tgtdev_by_addr_and_rphy()
2488 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_get_port_id_by_rphy()
2497 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_get_port_id_by_rphy()
2725 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_transport_get_enclosure_identifier()
2737 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_transport_get_enclosure_identifier()
[all …]
H A Dmpi3mr_app.c1398 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_get_all_tgt_info()
1401 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_get_all_tgt_info()
1419 spin_lock_irqsave(&mrioc->tgtdev_lock, flags); in mpi3mr_get_all_tgt_info()
1433 spin_unlock_irqrestore(&mrioc->tgtdev_lock, flags); in mpi3mr_get_all_tgt_info()
H A Dmpi3mr.h1255 spinlock_t tgtdev_lock; member