Searched refs:lun_ref (Results 1 – 6 of 6) sorted by relevance
500 struct se_lun *lun = container_of(ref, struct se_lun, lun_ref); in core_tpg_lun_ref_release()649 ret = percpu_ref_init(&lun->lun_ref, core_tpg_lun_ref_release, 0, in core_tpg_add_lun()682 percpu_ref_exit(&lun->lun_ref); in core_tpg_add_lun()720 percpu_ref_exit(&lun->lun_ref); in core_tpg_remove_lun()
85 percpu_ref_get(&se_lun->lun_ref); in transport_lookup_cmd_lun()120 percpu_ref_get(&se_lun->lun_ref); in transport_lookup_cmd_lun()
730 if (!percpu_ref_tryget_live(&lun_tmp->lun_ref)) in __core_scsi3_alloc_registration()778 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()797 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()809 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()
966 if (!percpu_ref_tryget_live(&lun->lun_ref)) in core_alua_queue_state_change_ua()1005 percpu_ref_put(&lun->lun_ref); in core_alua_queue_state_change_ua()
616 percpu_ref_put(&lun->lun_ref); in transport_lun_remove_cmd()2651 percpu_ref_kill(&lun->lun_ref); in transport_clear_lun_ref()
740 struct percpu_ref lun_ref; member