Home
last modified time | relevance | path

Searched refs:model_len (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dsysfs.c55 int model_len = sizeof(subsys->model); in wwid_show() local
69 while (model_len > 0 && (subsys->model[model_len - 1] == ' ' || in wwid_show()
70 subsys->model[model_len - 1] == '\0')) in wwid_show()
71 model_len--; in wwid_show()
74 serial_len, subsys->serial, model_len, subsys->model, in wwid_show()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dmyrs.c590 int i, model_len; in myrs_get_config() local
603 model_len = sizeof(info->ctlr_name); in myrs_get_config()
604 if (model_len > sizeof(model)-1) in myrs_get_config()
605 model_len = sizeof(model)-1; in myrs_get_config()
606 memcpy(model, info->ctlr_name, model_len); in myrs_get_config()
607 model_len--; in myrs_get_config()
608 while (model[model_len] == ' ' || model[model_len] == '\0') in myrs_get_config()
609 model_len--; in myrs_get_config()
610 model[++model_len] in myrs_get_config()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dmyrs.c587 int i, model_len; in myrs_get_config() local
600 model_len = sizeof(info->ctlr_name); in myrs_get_config()
601 if (model_len > sizeof(model)-1) in myrs_get_config()
602 model_len = sizeof(model)-1; in myrs_get_config()
603 memcpy(model, info->ctlr_name, model_len); in myrs_get_config()
604 model_len--; in myrs_get_config()
605 while (model[model_len] == ' ' || model[model_len] == '\0') in myrs_get_config()
606 model_len--; in myrs_get_config()
607 model[++model_len] in myrs_get_config()
[all...]
/kernel/linux/linux-5.10/drivers/nvme/host/
H A Dcore.c3392 int model_len = sizeof(subsys->model); in wwid_show() local
3406 while (model_len > 0 && (subsys->model[model_len - 1] == ' ' || in wwid_show()
3407 subsys->model[model_len - 1] == '\0')) in wwid_show()
3408 model_len--; in wwid_show()
3411 serial_len, subsys->serial, model_len, subsys->model, in wwid_show()

Completed in 13 milliseconds