Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/nvme/target/
Dnvmet.h31 #define NVMET_SN_MAX_SIZE 20 macro
256 char serial[NVMET_SN_MAX_SIZE];
Dconfigfs.c1100 NVMET_SN_MAX_SIZE, subsys->serial); in nvmet_subsys_attr_serial_show()
1115 if (!len || len > NVMET_SN_MAX_SIZE) { in nvmet_subsys_attr_serial_store_locked()
1117 NVMET_SN_MAX_SIZE); in nvmet_subsys_attr_serial_store_locked()
1128 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.c374 memcpy(id->sn, ctrl->subsys->serial, NVMET_SN_MAX_SIZE); in nvmet_execute_identify_ctrl()
Dcore.c1550 char serial[NVMET_SN_MAX_SIZE / 2]; in nvmet_subsys_alloc()