Lines Matching refs:bdrv_pread
127 if (bdrv_pread(s->hd, 0x200, desc, DESC_SIZE) != DESC_SIZE)
153 if (bdrv_pread(s->hd, 0x200, desc, DESC_SIZE) != DESC_SIZE)
331 if (bdrv_pread(s->hd, 0x200, desc, DESC_SIZE) != DESC_SIZE)
381 if (bdrv_pread(s->hd, 0, &magic, sizeof(magic)) != sizeof(magic))
388 if (bdrv_pread(s->hd, sizeof(magic), &header, sizeof(header)) != sizeof(header))
400 if (bdrv_pread(s->hd, sizeof(magic), &header, sizeof(header)) != sizeof(header))
430 if (bdrv_pread(s->hd, s->l1_table_offset, s->l1_table, l1_size) != l1_size)
438 if (bdrv_pread(s->hd, s->l1_backup_table_offset, s->l1_backup_table, l1_size) != l1_size)
478 if (bdrv_pread(ps->hd, parent_cluster_offset, whole_grain, ps->cluster_sectors*512) != ps->cluster_sectors*512)
548 if (bdrv_pread(s->hd, (int64_t)l2_offset * 512, l2_table, s->l2_size * sizeof(uint32_t)) !=
634 if(bdrv_pread(s->hd, cluster_offset + index_in_cluster * 512, buf, n * 512) != n * 512)