Home
last modified time | relevance | path

Searched refs:lu_gp_mem (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/target/
Dtarget_core_alua.c1063 struct t10_alua_lu_gp_member *lu_gp_mem, *local_lu_gp_mem; in core_alua_do_port_transition() local
1103 list_for_each_entry(lu_gp_mem, &lu_gp->lu_gp_mem_list, in core_alua_do_port_transition()
1106 dev = lu_gp_mem->lu_gp_mem_dev; in core_alua_do_port_transition()
1107 atomic_inc_mb(&lu_gp_mem->lu_gp_mem_ref_cnt); in core_alua_do_port_transition()
1152 atomic_dec_mb(&lu_gp_mem->lu_gp_mem_ref_cnt); in core_alua_do_port_transition()
1443 struct t10_alua_lu_gp_member *lu_gp_mem; in core_alua_allocate_lu_gp_mem() local
1445 lu_gp_mem = kmem_cache_zalloc(t10_alua_lu_gp_mem_cache, GFP_KERNEL); in core_alua_allocate_lu_gp_mem()
1446 if (!lu_gp_mem) { in core_alua_allocate_lu_gp_mem()
1450 INIT_LIST_HEAD(&lu_gp_mem->lu_gp_mem_list); in core_alua_allocate_lu_gp_mem()
1451 spin_lock_init(&lu_gp_mem->lu_gp_mem_lock); in core_alua_allocate_lu_gp_mem()
[all …]
Dtarget_core_configfs.c2375 struct t10_alua_lu_gp_member *lu_gp_mem; in target_dev_alua_lu_gp_show() local
2378 lu_gp_mem = dev->dev_alua_lu_gp_mem; in target_dev_alua_lu_gp_show()
2379 if (!lu_gp_mem) in target_dev_alua_lu_gp_show()
2382 spin_lock(&lu_gp_mem->lu_gp_mem_lock); in target_dev_alua_lu_gp_show()
2383 lu_gp = lu_gp_mem->lu_gp; in target_dev_alua_lu_gp_show()
2389 spin_unlock(&lu_gp_mem->lu_gp_mem_lock); in target_dev_alua_lu_gp_show()
2400 struct t10_alua_lu_gp_member *lu_gp_mem; in target_dev_alua_lu_gp_store() local
2404 lu_gp_mem = dev->dev_alua_lu_gp_mem; in target_dev_alua_lu_gp_store()
2405 if (!lu_gp_mem) in target_dev_alua_lu_gp_store()
2428 spin_lock(&lu_gp_mem->lu_gp_mem_lock); in target_dev_alua_lu_gp_store()
[all …]
Dtarget_core_spc.c226 struct t10_alua_lu_gp_member *lu_gp_mem; in spc_emulate_evpd_83() local
352 lu_gp_mem = dev->dev_alua_lu_gp_mem; in spc_emulate_evpd_83()
353 if (!lu_gp_mem) in spc_emulate_evpd_83()
356 spin_lock(&lu_gp_mem->lu_gp_mem_lock); in spc_emulate_evpd_83()
357 lu_gp = lu_gp_mem->lu_gp; in spc_emulate_evpd_83()
359 spin_unlock(&lu_gp_mem->lu_gp_mem_lock); in spc_emulate_evpd_83()
363 spin_unlock(&lu_gp_mem->lu_gp_mem_lock); in spc_emulate_evpd_83()