Lines Matching defs:hdr
105 static void nvmet_format_discovery_entry(struct nvmf_disc_rsp_page_hdr *hdr,
109 struct nvmf_disc_rsp_page_entry *e = &hdr->entries[numrec];
165 struct nvmf_disc_rsp_page_hdr *hdr;
200 alloc_len = sizeof(*hdr) + entry_size * discovery_log_entries(req);
207 hdr = buffer;
211 nvmet_format_discovery_entry(hdr, req->port,
220 nvmet_format_discovery_entry(hdr, req->port,
227 nvmet_format_discovery_entry(hdr, r,
234 hdr->genctr = cpu_to_le64(nvmet_genctr);
235 hdr->numrec = cpu_to_le64(numrec);
236 hdr->recfmt = cpu_to_le16(0);