Searched refs:off_idx (Results 1 – 2 of 2) sorted by relevance
/qemu/hw/ide/ |
H A D | ahci.c | 949 int off_idx = -1; in ahci_populate_sglist() local 983 off_idx = i; in ahci_populate_sglist() 989 if ((off_idx == -1) || (off_pos < 0) || (off_pos > tbl_entry_size)) { in ahci_populate_sglist() 991 off_idx, off_pos); in ahci_populate_sglist() 996 qemu_sglist_init(sglist, qbus->parent, (prdtl - off_idx), in ahci_populate_sglist() 998 qemu_sglist_add(sglist, le64_to_cpu(tbl[off_idx].addr) + off_pos, in ahci_populate_sglist() 999 MIN(prdt_tbl_entry_size(&tbl[off_idx]) - off_pos, in ahci_populate_sglist() 1002 for (i = off_idx + 1; i < prdtl && sglist->size < limit; i++) { in ahci_populate_sglist()
|
H A D | trace-events | 91 …e_sglist_bad_offset(void *s, int port, int off_idx, int64_t off_pos) "ahci(%p)[%d]: Incorrect offs…
|