Lines Matching full:subsys
108 struct nvme_subsystem *subsys = head->subsys; in wwid_show() local
109 int serial_len = sizeof(subsys->serial); in wwid_show()
110 int model_len = sizeof(subsys->model); in wwid_show()
121 while (serial_len > 0 && (subsys->serial[serial_len - 1] == ' ' || in wwid_show()
122 subsys->serial[serial_len - 1] == '\0')) in wwid_show()
124 while (model_len > 0 && (subsys->model[model_len - 1] == ' ' || in wwid_show()
125 subsys->model[model_len - 1] == '\0')) in wwid_show()
128 return sysfs_emit(buf, "nvme.%04x-%*phN-%*phN-%08x\n", subsys->vendor_id, in wwid_show()
129 serial_len, subsys->serial, model_len, subsys->model, in wwid_show()
313 (int)sizeof(ctrl->subsys->field), ctrl->subsys->field); \
391 return sysfs_emit(buf, "%s\n", ctrl->subsys->subnqn); in nvme_sysfs_show_subsysnqn()
817 struct nvme_subsystem *subsys = in nvme_subsys_show_nqn() local
820 return sysfs_emit(buf, "%s\n", subsys->subnqn); in nvme_subsys_show_nqn()
828 struct nvme_subsystem *subsys = in nvme_subsys_show_type() local
831 switch (subsys->subtype) { in nvme_subsys_show_type()
846 struct nvme_subsystem *subsys = \
849 (int)sizeof(subsys->field), subsys->field); \