Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/target/
Dtarget_core_alua.c1085 if (!lu_gp->lu_gp_id) { in core_alua_do_port_transition()
1385 lu_gp->lu_gp_id = alua_lu_gps_counter++; in core_alua_allocate_lu_gp()
1393 int core_alua_set_lu_gp_id(struct t10_alua_lu_gp *lu_gp, u16 lu_gp_id) in core_alua_set_lu_gp_id() argument
1415 lu_gp_id_tmp = (lu_gp_id != 0) ? lu_gp_id : in core_alua_set_lu_gp_id()
1419 if (lu_gp_tmp->lu_gp_id == lu_gp_id_tmp) { in core_alua_set_lu_gp_id()
1420 if (!lu_gp_id) in core_alua_set_lu_gp_id()
1425 lu_gp_id); in core_alua_set_lu_gp_id()
1431 lu_gp->lu_gp_id = lu_gp_id_tmp; in core_alua_set_lu_gp_id()
Dtarget_core_configfs.c2387 config_item_name(lu_ci), lu_gp->lu_gp_id); in target_dev_alua_lu_gp_show()
2442 lu_gp->lu_gp_id); in target_dev_alua_lu_gp_store()
2467 lu_gp_new->lu_gp_id); in target_dev_alua_lu_gp_store()
2687 return sprintf(page, "%hu\n", lu_gp->lu_gp_id); in target_lu_gp_lu_gp_id_show()
2695 unsigned long lu_gp_id; in target_lu_gp_lu_gp_id_store() local
2698 ret = kstrtoul(page, 0, &lu_gp_id); in target_lu_gp_lu_gp_id_store()
2704 if (lu_gp_id > 0x0000ffff) { in target_lu_gp_lu_gp_id_store()
2706 " 0x0000ffff\n", lu_gp_id); in target_lu_gp_lu_gp_id_store()
2710 ret = core_alua_set_lu_gp_id(lu_gp, (u16)lu_gp_id); in target_lu_gp_lu_gp_id_store()
2717 lu_gp->lu_gp_id); in target_lu_gp_lu_gp_id_store()
[all …]
Dtarget_core_spc.c291 u16 lu_gp_id = 0; in spc_emulate_evpd_83() local
362 lu_gp_id = lu_gp->lu_gp_id; in spc_emulate_evpd_83()
371 put_unaligned_be16(lu_gp_id, &buf[off]); in spc_emulate_evpd_83()
/linux-6.6.21/include/target/
Dtarget_core_base.h273 u16 lu_gp_id; member