Lines Matching refs:row

78 MR_GetSpanBlock(u_int32_t ld, u_int64_t row, u_int64_t *span_blk,
123 u_int32_t ld, u_int64_t row, u_int64_t *span_blk,
433 printf("span row start=0x%08lx, end=0x%08lx\n",
436 printf("data row start=0x%08lx, end=0x%08lx\n",
466 * This routine calculates the Span block for given row using spanset.
470 * row: Row number
479 mr_spanset_get_span_block(struct mrsas_softc *sc, u_int32_t ld, u_int64_t row,
493 if (row > span_set->data_row_end)
506 if (quad->logStart <= row &&
507 row <= quad->logEnd &&
508 (mega_mod64(row - quad->logStart,
514 ((row - quad->logStart),
529 * This routine calculates the row for given strip using spanset.
536 * Outputs : row - row associated with strip
576 mrsas_dprint(sc, MRSAS_PRL11, "AVAGO Debug : For strip 0x%llx row is 0x%llx\n", (unsigned long long)strip,
587 * This routine calculates the Start Strip for given row using spanset.
591 * row: Row number
594 * Outputs : Strip - Start strip associated with row
599 u_int32_t ld, u_int64_t row, MR_DRV_RAID_MAP_ALL * map)
613 if (row > span_set->data_row_end)
621 if (quad->logStart <= row &&
622 row <= quad->logEnd &&
623 mega_mod64((row - quad->logStart),
626 (((row - span_set->data_row_start)
637 "strip for ld=%x, row=%lx\n", ld, (long unsigned int)row);
745 u_int64_t row;
760 /* Get row and span from io_info for Uneven Span IO. */
761 row = io_info->start_row;
767 rowMod = mega_mod64(row, SPAN_ROW_SIZE(map, ld, span));
804 * This function will initiate command processing. The start/end row and strip
853 * calculate starting row and stripe, and number of strips and rows
877 mrsas_dprint(sc, MRSAS_PRL11, "AVAGO Debug: return from %s %d for row 0x%llx,"
886 mrsas_dprint(sc, MRSAS_PRL11, "AVAGO Debug: Check Span number from %s %d for row 0x%llx, "
898 numRows = (u_int8_t)(endRow - start_row + 1); /* get the row count */
901 * Calculate region info. (Assume region at start of first row, and
902 * assume this IO needs the full row - will adjust if not true.)
928 * is the last in the start row
942 /* if IO ends within first strip of last row */
961 /* if IO ends within first strip of last row */
1450 u_int64_t row;
1466 row = mega_div64_32(stripRow, raid->rowDataSize);
1469 /* logical arm within row */
1473 rowMod = mega_mod64(row, raid->rowSize); /* get logical row mod */
1487 *pdBlock = row << raid->stripeShift;
1489 span = (u_int8_t)MR_GetSpanBlock(ld, row, pdBlock, map, &error_code);
1525 * row PD
1534 MR_GetSpanBlock(u_int32_t ld, u_int64_t row, u_int64_t *span_blk,
1550 if (quad->logStart <= row && row <= quad->logEnd &&
1551 (mega_mod64(row - quad->logStart, quad->diff)) == 0) {
1553 blk = mega_div64_32((row - quad->logStart), quad->diff);