Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/nvme/target/
Dpassthru.c45 data = kzalloc(NVME_IDENTIFY_DATA_SIZE, GFP_KERNEL); in nvmet_passthru_override_id_descs()
49 status = nvmet_copy_from_sgl(req, 0, data, NVME_IDENTIFY_DATA_SIZE); in nvmet_passthru_override_id_descs()
53 for (pos = 0; pos < NVME_IDENTIFY_DATA_SIZE; pos += len) { in nvmet_passthru_override_id_descs()
66 memset(data, 0, NVME_IDENTIFY_DATA_SIZE); in nvmet_passthru_override_id_descs()
74 status = nvmet_copy_to_sgl(req, 0, data, NVME_IDENTIFY_DATA_SIZE); in nvmet_passthru_override_id_descs()
Dadmin-cmd.c581 static const int buf_size = NVME_IDENTIFY_DATA_SIZE; in nvmet_execute_identify_nslist()
663 if (sg_zero_buffer(req->sg, req->sg_cnt, NVME_IDENTIFY_DATA_SIZE - off, in nvmet_execute_identify_desclist()
664 off) != NVME_IDENTIFY_DATA_SIZE - off) in nvmet_execute_identify_desclist()
680 if (!nvmet_check_transfer_len(req, NVME_IDENTIFY_DATA_SIZE)) in nvmet_execute_identify()
Ddiscovery.c254 if (!nvmet_check_transfer_len(req, NVME_IDENTIFY_DATA_SIZE)) in nvmet_execute_disc_identify()
/linux-6.6.21/drivers/nvme/host/
Dcore.c1410 data = kzalloc(NVME_IDENTIFY_DATA_SIZE, GFP_KERNEL); in nvme_identify_ns_descs()
1415 NVME_IDENTIFY_DATA_SIZE); in nvme_identify_ns_descs()
1423 for (pos = 0; pos < NVME_IDENTIFY_DATA_SIZE; pos += len) { in nvme_identify_ns_descs()
3838 const int nr_entries = NVME_IDENTIFY_DATA_SIZE / sizeof(__le32); in nvme_scan_ns_list()
3843 ns_list = kzalloc(NVME_IDENTIFY_DATA_SIZE, GFP_KERNEL); in nvme_scan_ns_list()
3855 NVME_IDENTIFY_DATA_SIZE); in nvme_scan_ns_list()
4694 BUILD_BUG_ON(sizeof(struct nvme_id_ctrl) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size()
4695 BUILD_BUG_ON(sizeof(struct nvme_id_ns) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size()
4697 NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size()
4698 BUILD_BUG_ON(sizeof(struct nvme_id_ns_zns) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size()
[all …]
/linux-6.6.21/include/linux/
Dnvme.h1276 #define NVME_IDENTIFY_DATA_SIZE 4096 macro