Searched refs:lu_gp_mem (Results 1 – 3 of 3) sorted by relevance
1089 struct t10_alua_lu_gp_member *lu_gp_mem, *local_lu_gp_mem; in core_alua_do_port_transition() local1129 list_for_each_entry(lu_gp_mem, &lu_gp->lu_gp_mem_list, in core_alua_do_port_transition()1132 dev = lu_gp_mem->lu_gp_mem_dev; in core_alua_do_port_transition()1133 atomic_inc_mb(&lu_gp_mem->lu_gp_mem_ref_cnt); in core_alua_do_port_transition()1178 atomic_dec_mb(&lu_gp_mem->lu_gp_mem_ref_cnt); in core_alua_do_port_transition()1469 struct t10_alua_lu_gp_member *lu_gp_mem; in core_alua_allocate_lu_gp_mem() local1471 lu_gp_mem = kmem_cache_zalloc(t10_alua_lu_gp_mem_cache, GFP_KERNEL); in core_alua_allocate_lu_gp_mem()1472 if (!lu_gp_mem) { in core_alua_allocate_lu_gp_mem()1476 INIT_LIST_HEAD(&lu_gp_mem->lu_gp_mem_list); in core_alua_allocate_lu_gp_mem()1477 spin_lock_init(&lu_gp_mem->lu_gp_mem_lock); in core_alua_allocate_lu_gp_mem()[all …]
173 struct t10_alua_lu_gp_member *lu_gp_mem; in spc_emulate_evpd_83() local324 lu_gp_mem = dev->dev_alua_lu_gp_mem; in spc_emulate_evpd_83()325 if (!lu_gp_mem) in spc_emulate_evpd_83()328 spin_lock(&lu_gp_mem->lu_gp_mem_lock); in spc_emulate_evpd_83()329 lu_gp = lu_gp_mem->lu_gp; in spc_emulate_evpd_83()331 spin_unlock(&lu_gp_mem->lu_gp_mem_lock); in spc_emulate_evpd_83()335 spin_unlock(&lu_gp_mem->lu_gp_mem_lock); in spc_emulate_evpd_83()
2271 struct t10_alua_lu_gp_member *lu_gp_mem; in target_dev_alua_lu_gp_show() local2274 lu_gp_mem = dev->dev_alua_lu_gp_mem; in target_dev_alua_lu_gp_show()2275 if (!lu_gp_mem) in target_dev_alua_lu_gp_show()2278 spin_lock(&lu_gp_mem->lu_gp_mem_lock); in target_dev_alua_lu_gp_show()2279 lu_gp = lu_gp_mem->lu_gp; in target_dev_alua_lu_gp_show()2285 spin_unlock(&lu_gp_mem->lu_gp_mem_lock); in target_dev_alua_lu_gp_show()2296 struct t10_alua_lu_gp_member *lu_gp_mem; in target_dev_alua_lu_gp_store() local2300 lu_gp_mem = dev->dev_alua_lu_gp_mem; in target_dev_alua_lu_gp_store()2301 if (!lu_gp_mem) in target_dev_alua_lu_gp_store()2325 spin_lock(&lu_gp_mem->lu_gp_mem_lock); in target_dev_alua_lu_gp_store()[all …]