Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_alua.c1111 if (!lu_gp->lu_gp_id) { in core_alua_do_port_transition()
1411 lu_gp->lu_gp_id = alua_lu_gps_counter++; in core_alua_allocate_lu_gp()
1419 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
1441 lu_gp_id_tmp = (lu_gp_id != 0) ? lu_gp_id : in core_alua_set_lu_gp_id()
1445 if (lu_gp_tmp->lu_gp_id == lu_gp_id_tmp) { in core_alua_set_lu_gp_id()
1446 if (!lu_gp_id) in core_alua_set_lu_gp_id()
1451 lu_gp_id); in core_alua_set_lu_gp_id()
1457 lu_gp->lu_gp_id = lu_gp_id_tmp; in core_alua_set_lu_gp_id()
Dtarget_core_configfs.c2283 config_item_name(lu_ci), lu_gp->lu_gp_id); in target_dev_alua_lu_gp_show()
2339 lu_gp->lu_gp_id); in target_dev_alua_lu_gp_store()
2364 lu_gp_new->lu_gp_id); in target_dev_alua_lu_gp_store()
2584 return sprintf(page, "%hu\n", lu_gp->lu_gp_id); in target_lu_gp_lu_gp_id_show()
2592 unsigned long lu_gp_id; in target_lu_gp_lu_gp_id_store() local
2595 ret = kstrtoul(page, 0, &lu_gp_id); in target_lu_gp_lu_gp_id_store()
2601 if (lu_gp_id > 0x0000ffff) { in target_lu_gp_lu_gp_id_store()
2603 " 0x0000ffff\n", lu_gp_id); in target_lu_gp_lu_gp_id_store()
2607 ret = core_alua_set_lu_gp_id(lu_gp, (u16)lu_gp_id); in target_lu_gp_lu_gp_id_store()
2614 lu_gp->lu_gp_id); in target_lu_gp_lu_gp_id_store()
[all …]
Dtarget_core_spc.c263 u16 lu_gp_id = 0; in spc_emulate_evpd_83() local
334 lu_gp_id = lu_gp->lu_gp_id; in spc_emulate_evpd_83()
343 put_unaligned_be16(lu_gp_id, &buf[off]); in spc_emulate_evpd_83()
/kernel/linux/linux-5.10/include/target/
Dtarget_core_base.h267 u16 lu_gp_id; member