Searched refs:lport_tpg_enabled (Results 1 – 2 of 2) sorted by relevance
44 atomic_t lport_tpg_enabled; member
929 if (atomic_read(&tpg->lport_tpg_enabled)) in tcm_qla2xxx_enable_tpg()932 atomic_set(&tpg->lport_tpg_enabled, 1); in tcm_qla2xxx_enable_tpg()935 if (!atomic_read(&tpg->lport_tpg_enabled)) in tcm_qla2xxx_enable_tpg()938 atomic_set(&tpg->lport_tpg_enabled, 0); in tcm_qla2xxx_enable_tpg()1072 if (atomic_read(&tpg->lport_tpg_enabled)) in tcm_qla2xxx_npiv_enable_tpg()1075 atomic_set(&tpg->lport_tpg_enabled, 1); in tcm_qla2xxx_npiv_enable_tpg()1078 if (!atomic_read(&tpg->lport_tpg_enabled)) in tcm_qla2xxx_npiv_enable_tpg()1081 atomic_set(&tpg->lport_tpg_enabled, 0); in tcm_qla2xxx_npiv_enable_tpg()1677 !atomic_read(&base_lport->tpg_1->lport_tpg_enabled)) { in tcm_qla2xxx_lport_register_npiv_cb()