Searched refs:NVME_IDENTIFY_DATA_SIZE (Results 1 – 5 of 5) sorted by relevance
555 static const int buf_size = NVME_IDENTIFY_DATA_SIZE; in nvmet_execute_identify_nslist()635 if (sg_zero_buffer(req->sg, req->sg_cnt, NVME_IDENTIFY_DATA_SIZE - off, in nvmet_execute_identify_desclist()636 off) != NVME_IDENTIFY_DATA_SIZE - off) in nvmet_execute_identify_desclist()646 if (!nvmet_check_transfer_len(req, NVME_IDENTIFY_DATA_SIZE)) in nvmet_execute_identify()
249 if (!nvmet_check_transfer_len(req, NVME_IDENTIFY_DATA_SIZE)) in nvmet_execute_disc_identify()
1333 data = kzalloc(NVME_IDENTIFY_DATA_SIZE, GFP_KERNEL); in nvme_identify_ns_descs()1338 NVME_IDENTIFY_DATA_SIZE); in nvme_identify_ns_descs()1345 for (pos = 0; pos < NVME_IDENTIFY_DATA_SIZE; pos += len) { in nvme_identify_ns_descs()4127 const int nr_entries = NVME_IDENTIFY_DATA_SIZE / sizeof(__le32); in nvme_scan_ns_list()4135 ns_list = kzalloc(NVME_IDENTIFY_DATA_SIZE, GFP_KERNEL); in nvme_scan_ns_list()4147 NVME_IDENTIFY_DATA_SIZE); in nvme_scan_ns_list()4794 BUILD_BUG_ON(sizeof(struct nvme_id_ctrl) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size()4795 BUILD_BUG_ON(sizeof(struct nvme_id_ns) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size()4796 BUILD_BUG_ON(sizeof(struct nvme_id_ns_zns) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size()4797 BUILD_BUG_ON(sizeof(struct nvme_id_ctrl_zns) != NVME_IDENTIFY_DATA_SIZE); in _nvme_check_size()
251 BUILD_BUG_ON(sizeof(struct nvme_nvm_id12) != NVME_IDENTIFY_DATA_SIZE); in _nvme_nvm_check_size()254 BUILD_BUG_ON(sizeof(struct nvme_nvm_id20) != NVME_IDENTIFY_DATA_SIZE); in _nvme_nvm_check_size()
1101 #define NVME_IDENTIFY_DATA_SIZE 4096 macro