Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/target/
Dtarget_core_alua.c1102 struct t10_alua_lu_gp *lu_gp; in core_alua_do_port_transition() local
1117 lu_gp = local_lu_gp_mem->lu_gp; in core_alua_do_port_transition()
1118 atomic_inc(&lu_gp->lu_gp_ref_cnt); in core_alua_do_port_transition()
1125 if (!lu_gp->lu_gp_id) { in core_alua_do_port_transition()
1134 atomic_dec_mb(&lu_gp->lu_gp_ref_cnt); in core_alua_do_port_transition()
1142 spin_lock(&lu_gp->lu_gp_lock); in core_alua_do_port_transition()
1143 list_for_each_entry(lu_gp_mem, &lu_gp->lu_gp_mem_list, in core_alua_do_port_transition()
1148 spin_unlock(&lu_gp->lu_gp_lock); in core_alua_do_port_transition()
1191 spin_lock(&lu_gp->lu_gp_lock); in core_alua_do_port_transition()
1194 spin_unlock(&lu_gp->lu_gp_lock); in core_alua_do_port_transition()
[all …]
Dtarget_core_configfs.c1978 struct t10_alua_lu_gp *lu_gp; in target_dev_alua_lu_gp_show() local
1987 lu_gp = lu_gp_mem->lu_gp; in target_dev_alua_lu_gp_show()
1988 if (lu_gp) { in target_dev_alua_lu_gp_show()
1989 lu_ci = &lu_gp->lu_gp_group.cg_item; in target_dev_alua_lu_gp_show()
1991 config_item_name(lu_ci), lu_gp->lu_gp_id); in target_dev_alua_lu_gp_show()
2003 struct t10_alua_lu_gp *lu_gp = NULL, *lu_gp_new = NULL; in target_dev_alua_lu_gp_store() local
2034 lu_gp = lu_gp_mem->lu_gp; in target_dev_alua_lu_gp_store()
2035 if (lu_gp) { in target_dev_alua_lu_gp_store()
2046 config_item_name(&lu_gp->lu_gp_group.cg_item), in target_dev_alua_lu_gp_store()
2047 lu_gp->lu_gp_id); in target_dev_alua_lu_gp_store()
[all …]
Dtarget_core_spc.c264 struct t10_alua_lu_gp *lu_gp; in spc_emulate_evpd_83() local
332 lu_gp = lu_gp_mem->lu_gp; in spc_emulate_evpd_83()
333 if (!lu_gp) { in spc_emulate_evpd_83()
337 lu_gp_id = lu_gp->lu_gp_id; in spc_emulate_evpd_83()
/Linux-v4.19/include/target/
Dtarget_core_base.h278 struct t10_alua_lu_gp *lu_gp; member