Searched refs:NVME_IDENTIFY_DATA_SIZE (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/nvme/target/ |
D | passthru.c | 45 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()
|
D | admin-cmd.c | 581 static const int buf_size = NVME_IDENTIFY_DATA_SIZE; in nvmet_execute_identify_nslist() 673 if (sg_zero_buffer(req->sg, req->sg_cnt, NVME_IDENTIFY_DATA_SIZE - off, in nvmet_execute_identify_desclist() 674 off) != NVME_IDENTIFY_DATA_SIZE - off) in nvmet_execute_identify_desclist() 690 if (!nvmet_check_transfer_len(req, NVME_IDENTIFY_DATA_SIZE)) in nvmet_execute_identify()
|
D | discovery.c | 254 if (!nvmet_check_transfer_len(req, NVME_IDENTIFY_DATA_SIZE)) in nvmet_execute_disc_identify()
|
/linux-6.12.1/drivers/nvme/host/ |
D | core.c | 1521 data = kzalloc(NVME_IDENTIFY_DATA_SIZE, GFP_KERNEL); in nvme_identify_ns_descs() 1526 NVME_IDENTIFY_DATA_SIZE); in nvme_identify_ns_descs() 1534 for (pos = 0; pos < NVME_IDENTIFY_DATA_SIZE; pos += len) { in nvme_identify_ns_descs() 4112 const int nr_entries = NVME_IDENTIFY_DATA_SIZE / sizeof(__le32); in nvme_scan_ns_list() 4119 ns_list = kzalloc(NVME_IDENTIFY_DATA_SIZE, GFP_KERNEL); in nvme_scan_ns_list() 4133 NVME_IDENTIFY_DATA_SIZE); in nvme_scan_ns_list() 5029 BUILD_BUG_ON(sizeof(struct nvme_id_ctrl) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size() 5030 BUILD_BUG_ON(sizeof(struct nvme_id_ns) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size() 5032 NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size() 5033 BUILD_BUG_ON(sizeof(struct nvme_id_ns_zns) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size() [all …]
|
/linux-6.12.1/include/linux/ |
D | nvme.h | 1289 #define NVME_IDENTIFY_DATA_SIZE 4096 macro
|