Searched refs:to_t10_wwn (Results 1 – 1 of 1) sorted by relevance
1303 static struct t10_wwn *to_t10_wwn(struct config_item *item) in to_t10_wwn() function1337 return sprintf(page, "%s\n", &to_t10_wwn(item)->vendor[0]); in target_wwn_vendor_id_show()1343 struct t10_wwn *t10_wwn = to_t10_wwn(item); in target_wwn_vendor_id_store()1393 return sprintf(page, "%s\n", &to_t10_wwn(item)->model[0]); in target_wwn_product_id_show()1399 struct t10_wwn *t10_wwn = to_t10_wwn(item); in target_wwn_product_id_store()1449 return sprintf(page, "%s\n", &to_t10_wwn(item)->revision[0]); in target_wwn_revision_show()1455 struct t10_wwn *t10_wwn = to_t10_wwn(item); in target_wwn_revision_store()1507 to_t10_wwn(item)->company_id); in target_wwn_company_id_show()1514 struct t10_wwn *t10_wwn = to_t10_wwn(item); in target_wwn_company_id_store()1557 &to_t10_wwn(item)->unit_serial[0]); in target_wwn_vpd_unit_serial_show()[all …]