Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/target/
Dtarget_core_tpg.c453 struct se_lun *lun = container_of(ref, struct se_lun, lun_ref); in core_tpg_lun_ref_release()
602 ret = percpu_ref_init(&lun->lun_ref, core_tpg_lun_ref_release, 0, in core_tpg_add_lun()
636 percpu_ref_exit(&lun->lun_ref); in core_tpg_add_lun()
678 percpu_ref_exit(&lun->lun_ref); in core_tpg_remove_lun()
Dtarget_core_device.c83 if (!percpu_ref_tryget_live(&se_lun->lun_ref)) { in transport_lookup_cmd_lun()
127 percpu_ref_get(&se_lun->lun_ref); in transport_lookup_cmd_lun()
174 if (!percpu_ref_tryget_live(&se_lun->lun_ref)) { in transport_lookup_tmr_lun()
Dtarget_core_pr.c735 if (!percpu_ref_tryget_live(&lun_tmp->lun_ref)) in __core_scsi3_alloc_registration()
783 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()
802 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()
814 percpu_ref_put(&lun_tmp->lun_ref); in __core_scsi3_alloc_registration()
Dtarget_core_alua.c973 if (!percpu_ref_tryget_live(&lun->lun_ref)) in core_alua_queue_state_change_ua()
1012 percpu_ref_put(&lun->lun_ref); in core_alua_queue_state_change_ua()
Dtarget_core_transport.c695 percpu_ref_put(&lun->lun_ref); in transport_lun_remove_cmd()
2924 struct se_lun *lun = container_of(ref, struct se_lun, lun_ref); in target_lun_confirm()
2936 percpu_ref_kill_and_confirm(&lun->lun_ref, target_lun_confirm); in transport_clear_lun_ref()
/Linux-v4.19/include/target/
Dtarget_core_base.h737 struct percpu_ref lun_ref; member