Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A Dnvmet.h33 #define NVMET_SN_MAX_SIZE 20 macro
324 char serial[NVMET_SN_MAX_SIZE];
H A Ddiscovery.c269 memcpy(id->sn, ctrl->subsys->serial, NVMET_SN_MAX_SIZE); in nvmet_execute_disc_identify()
H A Dconfigfs.c1294 NVMET_SN_MAX_SIZE, subsys->serial); in nvmet_subsys_attr_serial_show()
1309 if (!len || len > NVMET_SN_MAX_SIZE) { in nvmet_subsys_attr_serial_store_locked()
1311 NVMET_SN_MAX_SIZE); in nvmet_subsys_attr_serial_store_locked()
1322 memcpy_and_pad(subsys->serial, NVMET_SN_MAX_SIZE, page, len, ' '); in nvmet_subsys_attr_serial_store_locked()
H A Dadmin-cmd.c530 memcpy(id->sn, ctrl->subsys->serial, NVMET_SN_MAX_SIZE); in nvmet_execute_identify_ctrl()
H A Dcore.c1661 char serial[NVMET_SN_MAX_SIZE / 2]; in nvmet_subsys_alloc()