Lines Matching full:row
617 aio_req->row = rcb->row_num;
639 aio_req->row = ;
712 DBG_INFO("%15s: 0x%lx\n", "row", aio_req->row);
1257 l->row.data_disks =
1265 l->row.blks_per_row = l->row.data_disks * l->strip_sz;
1266 if (!l->row.blks_per_row || !l->strip_sz) {
1272 rcb->blocks_per_row = l->row.blks_per_row;
1273 l->row.first = l->block.first / l->row.blks_per_row;
1274 rcb->row_num = l->row.first;
1275 l->row.last = l->block.last / l->row.blks_per_row;
1276 l->row.offset_first = (uint32_t)(l->block.first -
1277 (l->row.first * l->row.blks_per_row));
1278 l->row.offset_last = (uint32_t)(l->block.last -
1279 (l->row.last * l->row.blks_per_row));
1280 l->col.first = l->row.offset_first / l->strip_sz;
1281 l->col.last = l->row.offset_last / l->strip_sz;
1287 /* Not AIO-eligible if it isn't a single row/column. */
1294 if (l->row.first != l->row.last || l->col.first != l->col.last) {
1302 /* figure out disks/row, row, and map index. */
1306 if (!l->row.data_disks) {
1311 l->row.total_disks = l->row.data_disks +
1314 l->map.row = ((uint32_t)(l->row.first >>
1318 l->map.idx = (l->map.row * l->row.total_disks) + l->col.first;
1320 rcb->raid_map_row = l->map.row;
1342 l->map.idx += mirror * l->row.data_disks;
1360 index = l->map.idx + (l->row.data_disks * mirror);
1376 l->r5or6.row.blks_per_row = l->strip_sz * l->row.data_disks;
1377 l->stripesz = l->r5or6.row.blks_per_row * l->map.layout_map_count;
1379 l->r5or6.row.blks_per_row;
1381 l->r5or6.row.blks_per_row;
1400 /* figure row nums containing first & last block */
1401 l->row.first = l->r5or6.row.first =
1403 l->r5or6.row.last = l->block.last / l->stripesz;
1405 if (l->r5or6.row.first != l->r5or6.row.last) {
1422 l->row.offset_first = l->r5or6.row.offset_first =
1424 l->r5or6.row.blks_per_row);
1425 l->r5or6.row.offset_last =
1427 l->r5or6.row.blks_per_row);
1429 l->col.first = l->r5or6.row.offset_first / l->strip_sz;
1431 l->r5or6.col.last = l->r5or6.row.offset_last / l->strip_sz;
1443 /* Set the map row and index for a R5 or R6 AIO request */
1448 l->map.row = ((uint32_t)
1449 (l->row.first >> l->raid_map->parity_rotation_shift)) %
1454 * l->row.total_disks))
1455 + (l->map.row * l->row.total_disks)
1459 rcb->raid_map_row = l->map.row;
1470 + (l->row.first * l->strip_sz)
1471 + ((uint64_t)(l->row.offset_first) - (uint64_t)(l->col.first) * l->strip_sz);
1596 DBG_INFO("%-25s: 0x%x\n", "row.blks_per_row", l->row.blks_per_row);
1597 DBG_INFO("%-25s: 0x%lx\n", "row.first", l->row.first);
1598 DBG_INFO("%-25s: 0x%lx\n", "row.last", l->row.last);
1599 DBG_INFO("%-25s: 0x%x\n", "row.offset_first", l->row.offset_first);
1600 DBG_INFO("%-25s: 0x%x\n", "row.offset_last", l->row.offset_last);
1601 DBG_INFO("%-25s: 0x%x\n", "row.data_disks", l->row.data_disks);
1602 DBG_INFO("%-25s: 0x%x\n", "row.total_disks", l->row.total_disks);
1607 DBG_INFO("%-25s: 0x%x\n", "r5or6.row.blks_per_row",
1608 l->r5or6.row.blks_per_row);
1609 DBG_INFO("%-25s: 0x%lx\n", "r5or6.row.first", l->r5or6.row.first);
1610 DBG_INFO("%-25s: 0x%lx\n", "r5or6.row.last", l->r5or6.row.last);
1611 DBG_INFO("%-25s: 0x%x\n", "r5or6.row.offset_first",
1612 l->r5or6.row.offset_first);
1613 DBG_INFO("%-25s: 0x%x\n", "r5or6.row.offset_last",
1614 l->r5or6.row.offset_last);
1615 DBG_INFO("%-25s: 0x%x\n", "r5or6.row.data_disks",
1616 l->r5or6.row.data_disks);
1617 DBG_INFO("%-25s: 0x%x\n", "r5or6.row.total_disks",
1618 l->r5or6.row.total_disks);
1622 DBG_INFO("%-25s: 0x%x\n", "map.row", l->map.row);
1751 DBG_INFO("row=%u blk/row=%u index=%u map_row=%u\n",