Lines Matching refs:BLOCK_SECTORS

24 #define BLOCK_SECTORS (8)  macro
407 return BLOCK_SECTORS * in r5c_log_required_to_flush_cache()
750 log->log_start = r5l_ring_add(log, log->log_start, BLOCK_SECTORS); in r5_reserve_log_entry()
1687 offset = r5l_ring_add(log, offset, BLOCK_SECTORS); in r5l_recovery_fetch_ra_pool()
1710 offset >= ctx->pool_offset + ctx->valid_pages * BLOCK_SECTORS) { in r5l_recovery_read_page()
1717 offset >= ctx->pool_offset + ctx->valid_pages * BLOCK_SECTORS); in r5l_recovery_read_page()
1755 ctx->meta_total_blocks = BLOCK_SECTORS; in r5l_recovery_read_meta_block()
1821 ctx->meta_total_blocks += BLOCK_SECTORS; in r5l_recovery_load_data()
1836 ctx->meta_total_blocks += BLOCK_SECTORS * conf->max_degraded; in r5l_recovery_load_parity()
1845 r5l_ring_add(log, log_offset, BLOCK_SECTORS)); in r5l_recovery_load_parity()
2000 sector_t log_offset = r5l_ring_add(log, ctx->pos, BLOCK_SECTORS); in r5l_recovery_verify_data_checksum_for_mb()
2027 BLOCK_SECTORS), in r5l_recovery_verify_data_checksum_for_mb()
2094 log_offset = r5l_ring_add(log, ctx->pos, BLOCK_SECTORS); in r5c_recovery_analyze_meta_block()
2370 write_pos = r5l_ring_add(log, ctx->pos, BLOCK_SECTORS); in r5c_recovery_rewrite_data_only_stripes()
2381 payload->size = cpu_to_le32(BLOCK_SECTORS); in r5c_recovery_rewrite_data_only_stripes()
2392 BLOCK_SECTORS); in r5c_recovery_rewrite_data_only_stripes()
2493 ctx->pos = r5l_ring_add(log, ctx->pos, BLOCK_SECTORS); in r5l_recovery_log()
2957 if (cp >= rdev->sectors || round_down(cp, BLOCK_SECTORS) != cp) in r5l_load_log()
2999 log->device_size = round_down(rdev->sectors, BLOCK_SECTORS); in r5l_load_log()
3008 log->log_start = r5l_ring_add(log, cp, BLOCK_SECTORS); in r5l_load_log()