Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/oox/qa/unit/data/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 16 kB image not shown  

Quelle  raid0.h

  Sprache: C
 

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _RAID0_H
#define _RAID0_H

struct strip_zone {
 sector_t zone_end; /* Start of the next zone (in sectors) */
 sector_t dev_start; /* Zone offset in real dev (in sectors) */
 int  nb_dev; /* # of devices attached to the zone */
 int  disk_shift; /* start disk for the original layout */
};

/* Linux 3.14 (20d0189b101) made an unintended change to
 * the RAID0 layout for multi-zone arrays (where devices aren't all
 * the same size.
 * RAID0_ORIG_LAYOUT restores the original layout
 * RAID0_ALT_MULTIZONE_LAYOUT uses the altered layout
 * The layouts are identical when there is only one zone (all
 * devices the same size).
 */


enum r0layout {
 RAID0_ORIG_LAYOUT = 1,
 RAID0_ALT_MULTIZONE_LAYOUT = 2,
};
struct r0conf {
 struct strip_zone *strip_zone;
 struct md_rdev  **devlist; /* lists of rdevs, pointed to
    * by strip_zone->dev */

 int   nr_strip_zones;
 enum r0layout  layout;
};

#endif

Messung V0.5 in Prozent
C=96 H=90 G=93

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-06-08) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.