Home
last modified time | relevance | path

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

/linux/drivers/target/tcm_remote/
H A Dtcm_remote.h6 #define TL_WWN_ADDR_LEN 256 macro
17 unsigned char remote_wwn_address[TL_WWN_ADDR_LEN];
H A Dtcm_remote.c194 if (strlen(name) >= TL_WWN_ADDR_LEN) { in tcm_remote_make_wwn()
196 name, tcm_remote_dump_proto_id(remote_hba), TL_WWN_ADDR_LEN); in tcm_remote_make_wwn()
200 snprintf(&remote_hba->remote_wwn_address[0], TL_WWN_ADDR_LEN, "%s", &name[off]); in tcm_remote_make_wwn()
/linux/drivers/target/loopback/
H A Dtcm_loop.h7 #define TL_WWN_ADDR_LEN 256 macro
46 unsigned char tl_wwn_address[TL_WWN_ADDR_LEN];
H A Dtcm_loop.c813 unsigned char i_port[TL_WWN_ADDR_LEN], *ptr, *port_ptr; in tcm_loop_tpg_nexus_store()
827 if (strlen(page) >= TL_WWN_ADDR_LEN) { in tcm_loop_tpg_nexus_store()
829 page, TL_WWN_ADDR_LEN); in tcm_loop_tpg_nexus_store()
832 snprintf(&i_port[0], TL_WWN_ADDR_LEN, "%s", page); in tcm_loop_tpg_nexus_store()
1066 if (strlen(name) >= TL_WWN_ADDR_LEN) { in tcm_loop_make_scsi_hba()
1068 name, tcm_loop_dump_proto_id(tl_hba), TL_WWN_ADDR_LEN); in tcm_loop_make_scsi_hba()
1072 snprintf(&tl_hba->tl_wwn_address[0], TL_WWN_ADDR_LEN, "%s", &name[off]); in tcm_loop_make_scsi_hba()