Home
last modified time | relevance | path

Searched refs:INQUIRY_MODEL_LEN (Results 1 – 5 of 5) sorted by relevance

/linux/include/target/
H A Dtarget_core_base.h50 #define INQUIRY_MODEL_LEN 16 macro
341 char model[INQUIRY_MODEL_LEN + 1];
/linux/drivers/target/
H A Dtarget_core_configfs.c643 if (strlen(configname) >= INQUIRY_MODEL_LEN) { in dev_set_t10_wwn_model_alias()
653 strscpy(dev->t10_wwn.model, configname, INQUIRY_MODEL_LEN); in dev_set_t10_wwn_model_alias()
675 BUILD_BUG_ON(sizeof(dev->t10_wwn.model) != INQUIRY_MODEL_LEN + 1); in emulate_model_alias_store()
1487 unsigned char buf[INQUIRY_MODEL_LEN + 2]; in target_wwn_product_id_store()
1498 if (len < 0 || len > INQUIRY_MODEL_LEN) { in target_wwn_product_id_store()
1500 __stringify(INQUIRY_MODEL_LEN) in target_wwn_product_id_store()
1522 BUILD_BUG_ON(sizeof(dev->t10_wwn.model) != INQUIRY_MODEL_LEN + 1); in target_wwn_product_id_store()
H A Dtarget_core_spc.c132 INQUIRY_VENDOR_LEN + INQUIRY_MODEL_LEN + INQUIRY_REVISION_LEN); in spc_emulate_inquiry_std()
136 strnlen(dev->t10_wwn.model, INQUIRY_MODEL_LEN)); in spc_emulate_inquiry_std()
H A Dtarget_core_device.c675 pr_debug(" Model: %-" __stringify(INQUIRY_MODEL_LEN) "s\n", in scsi_dump_inquiry()
H A Dtarget_core_stat.c242 return snprintf(page, PAGE_SIZE, "%-" __stringify(INQUIRY_MODEL_LEN) in target_stat_lu_prod_show()