Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvme/target/
Dnvmet.h31 #define NVMET_SN_MAX_SIZE 20 macro
255 char serial[NVMET_SN_MAX_SIZE];
Dconfigfs.c1097 NVMET_SN_MAX_SIZE, subsys->serial); in nvmet_subsys_attr_serial_show()
1112 if (!len || len > NVMET_SN_MAX_SIZE) { in nvmet_subsys_attr_serial_store_locked()
1114 NVMET_SN_MAX_SIZE); in nvmet_subsys_attr_serial_store_locked()
1125 memcpy_and_pad(subsys->serial, NVMET_SN_MAX_SIZE, page, len, ' '); in nvmet_subsys_attr_serial_store_locked()
Ddiscovery.c269 memcpy(id->sn, ctrl->subsys->serial, NVMET_SN_MAX_SIZE); in nvmet_execute_disc_identify()
Dadmin-cmd.c372 memcpy(id->sn, ctrl->subsys->serial, NVMET_SN_MAX_SIZE); in nvmet_execute_identify_ctrl()
Dcore.c1547 char serial[NVMET_SN_MAX_SIZE / 2]; in nvmet_subsys_alloc()