Searched refs:INQUIRY_MODEL_LEN (Results 1 – 6 of 6) sorted by relevance
175 BUILD_BUG_ON(sizeof(wwn->model) != INQUIRY_MODEL_LEN + 1); in pscsi_set_inquiry_info()177 "%." __stringify(INQUIRY_MODEL_LEN) "s", sdev->model); in pscsi_set_inquiry_info()815 __stringify(INQUIRY_MODEL_LEN) "s", sd->model); in pscsi_show_configfs_dev_params()
612 if (strlen(configname) >= INQUIRY_MODEL_LEN) { in dev_set_t10_wwn_model_alias()622 strlcpy(dev->t10_wwn.model, configname, INQUIRY_MODEL_LEN); in dev_set_t10_wwn_model_alias()644 BUILD_BUG_ON(sizeof(dev->t10_wwn.model) != INQUIRY_MODEL_LEN + 1); in emulate_model_alias_store()1391 unsigned char buf[INQUIRY_MODEL_LEN + 2]; in target_wwn_product_id_store()1402 if (len > INQUIRY_MODEL_LEN) { in target_wwn_product_id_store()1404 __stringify(INQUIRY_MODEL_LEN) in target_wwn_product_id_store()1426 BUILD_BUG_ON(sizeof(dev->t10_wwn.model) != INQUIRY_MODEL_LEN + 1); in target_wwn_product_id_store()
126 INQUIRY_VENDOR_LEN + INQUIRY_MODEL_LEN + INQUIRY_REVISION_LEN); in spc_emulate_inquiry_std()130 strnlen(dev->t10_wwn.model, INQUIRY_MODEL_LEN)); in spc_emulate_inquiry_std()
713 pr_debug(" Model: %-" __stringify(INQUIRY_MODEL_LEN) "s\n", in scsi_dump_inquiry()
242 return snprintf(page, PAGE_SIZE, "%-" __stringify(INQUIRY_MODEL_LEN) in target_stat_lu_prod_show()
50 #define INQUIRY_MODEL_LEN 16 macro330 char model[INQUIRY_MODEL_LEN + 1];
Completed in 24 milliseconds