Searched refs:lu_gp_mem (Results 1 – 3 of 3) sorted by relevance
1151 struct t10_alua_lu_gp_member *lu_gp_mem, *local_lu_gp_mem; in core_alua_do_port_transition() local1187 list_for_each_entry(lu_gp_mem, &lu_gp->lu_gp_mem_list, in core_alua_do_port_transition()1190 dev = lu_gp_mem->lu_gp_mem_dev; in core_alua_do_port_transition()1191 atomic_inc_mb(&lu_gp_mem->lu_gp_mem_ref_cnt); in core_alua_do_port_transition()1236 atomic_dec_mb(&lu_gp_mem->lu_gp_mem_ref_cnt); in core_alua_do_port_transition()1527 struct t10_alua_lu_gp_member *lu_gp_mem; in core_alua_allocate_lu_gp_mem() local1529 lu_gp_mem = kmem_cache_zalloc(t10_alua_lu_gp_mem_cache, GFP_KERNEL); in core_alua_allocate_lu_gp_mem()1530 if (!lu_gp_mem) { in core_alua_allocate_lu_gp_mem()1534 INIT_LIST_HEAD(&lu_gp_mem->lu_gp_mem_list); in core_alua_allocate_lu_gp_mem()1535 spin_lock_init(&lu_gp_mem->lu_gp_mem_lock); in core_alua_allocate_lu_gp_mem()[all …]
1649 struct t10_alua_lu_gp_member *lu_gp_mem; in target_core_show_alua_lu_gp() local1652 lu_gp_mem = dev->dev_alua_lu_gp_mem; in target_core_show_alua_lu_gp()1653 if (!lu_gp_mem) in target_core_show_alua_lu_gp()1656 spin_lock(&lu_gp_mem->lu_gp_mem_lock); in target_core_show_alua_lu_gp()1657 lu_gp = lu_gp_mem->lu_gp; in target_core_show_alua_lu_gp()1663 spin_unlock(&lu_gp_mem->lu_gp_mem_lock); in target_core_show_alua_lu_gp()1676 struct t10_alua_lu_gp_member *lu_gp_mem; in target_core_store_alua_lu_gp() local1680 lu_gp_mem = dev->dev_alua_lu_gp_mem; in target_core_store_alua_lu_gp()1681 if (!lu_gp_mem) in target_core_store_alua_lu_gp()1705 spin_lock(&lu_gp_mem->lu_gp_mem_lock); in target_core_store_alua_lu_gp()[all …]
184 struct t10_alua_lu_gp_member *lu_gp_mem; in spc_emulate_evpd_83() local342 lu_gp_mem = dev->dev_alua_lu_gp_mem; in spc_emulate_evpd_83()343 if (!lu_gp_mem) in spc_emulate_evpd_83()346 spin_lock(&lu_gp_mem->lu_gp_mem_lock); in spc_emulate_evpd_83()347 lu_gp = lu_gp_mem->lu_gp; in spc_emulate_evpd_83()349 spin_unlock(&lu_gp_mem->lu_gp_mem_lock); in spc_emulate_evpd_83()353 spin_unlock(&lu_gp_mem->lu_gp_mem_lock); in spc_emulate_evpd_83()