Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A 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()
H A 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()
H A Ddiscovery.c254 if (!nvmet_check_transfer_len(req, NVME_IDENTIFY_DATA_SIZE)) in nvmet_execute_disc_identify()
/linux/drivers/nvme/host/
H A Dcore.c1471 data = kzalloc(NVME_IDENTIFY_DATA_SIZE, GFP_KERNEL); in nvme_identify_ns_descs()
1476 NVME_IDENTIFY_DATA_SIZE); in nvme_identify_ns_descs()
1484 for (pos = 0; pos < NVME_IDENTIFY_DATA_SIZE; pos += len) { in nvme_identify_ns_descs()
3977 const int nr_entries = NVME_IDENTIFY_DATA_SIZE / sizeof(__le32); in nvme_scan_ns_list()
3982 ns_list = kzalloc(NVME_IDENTIFY_DATA_SIZE, GFP_KERNEL); in nvme_scan_ns_list()
3994 NVME_IDENTIFY_DATA_SIZE); in nvme_scan_ns_list()
4866 BUILD_BUG_ON(sizeof(struct nvme_id_ctrl) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size()
4867 BUILD_BUG_ON(sizeof(struct nvme_id_ns) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size()
4869 NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size()
4870 BUILD_BUG_ON(sizeof(struct nvme_id_ns_zns) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size()
[all …]
/linux/include/linux/
H A Dnvme.h1275 #define NVME_IDENTIFY_DATA_SIZE 4096 macro