Home
last modified time | relevance | path

Searched refs:lun_ref (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/target/
A Dtarget_core_tpg.c437 struct se_lun *lun = container_of(ref, struct se_lun, lun_ref); in core_tpg_lun_ref_release()
576 ret = percpu_ref_init(&lun->lun_ref, core_tpg_lun_ref_release, 0, in core_tpg_add_lun()
609 percpu_ref_exit(&lun->lun_ref); in core_tpg_add_lun()
651 percpu_ref_exit(&lun->lun_ref); in core_tpg_remove_lun()
A Dtarget_core_device.c80 if (!percpu_ref_tryget_live(&se_lun->lun_ref)) { in transport_lookup_cmd_lun()
116 if (!percpu_ref_tryget_live(&se_lun->lun_ref)) in transport_lookup_cmd_lun()
157 if (!percpu_ref_tryget_live(&se_lun->lun_ref)) { in transport_lookup_tmr_lun()
A Dtarget_core_xcopy.c96 if (percpu_ref_tryget_live(&this_lun->lun_ref)) in target_xcopy_locate_se_dev_e4()
108 *_found_lun_ref = &this_lun->lun_ref; in target_xcopy_locate_se_dev_e4()
A Dtarget_core_pr.c728 if (!percpu_ref_tryget_live(&lun_tmp->lun_ref)) in __core_scsi3_alloc_registration()
776 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()
795 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()
807 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()
A Dtarget_core_alua.c931 if (!percpu_ref_tryget_live(&lun->lun_ref)) in core_alua_queue_state_change_ua()
970 percpu_ref_put(&lun->lun_ref); in core_alua_queue_state_change_ua()
A Dtarget_core_transport.c743 percpu_ref_put(&lun->lun_ref); in transport_lun_remove_cmd()
3174 percpu_ref_kill(&lun->lun_ref); in transport_clear_lun_ref()
/linux/include/target/
A Dtarget_core_base.h760 struct percpu_ref lun_ref; member

Completed in 28 milliseconds