Home
last modified time | relevance | path

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

/openbmc/qemu/hw/nvme/
H A Dctrl.c988 NvmeSglDescriptor *segment, uint64_t nsgld, in nvme_map_sgl_data() argument
995 for (int i = 0; i < nsgld; i++) { in nvme_map_sgl_data()
1061 uint64_t nsgld; in nvme_map_sgl() local
1107 nsgld = seg_len / sizeof(NvmeSglDescriptor); in nvme_map_sgl()
1109 while (nsgld > SEG_CHUNK_SIZE) { in nvme_map_sgl()
1122 nsgld -= SEG_CHUNK_SIZE; in nvme_map_sgl()
1126 ret = nvme_addr_read(n, addr, segment, nsgld * in nvme_map_sgl()
1134 last_sgld = &segment[nsgld - 1]; in nvme_map_sgl()
1140 status = nvme_map_sgl_data(n, sg, segment, nsgld, &len, cmd); in nvme_map_sgl()
1164 status = nvme_map_sgl_data(n, sg, segment, nsgld - 1, &len, cmd); in nvme_map_sgl()