OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [linux/] [raid0.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef _RAID0_H
2
#define _RAID0_H
3
 
4
struct strip_zone
5
{
6
  int zone_offset;              /* Zone offset in md_dev */
7
  int dev_offset;               /* Zone offset in real dev */
8
  int size;                     /* Zone size */
9
  int nb_dev;                   /* Number of devices attached to the zone */
10
  struct real_dev *dev[MAX_REAL]; /* Devices attached to the zone */
11
};
12
 
13
struct raid0_hash
14
{
15
  struct strip_zone *zone0, *zone1;
16
};
17
 
18
struct raid0_data
19
{
20
  struct raid0_hash *hash_table; /* Dynamically allocated */
21
  struct strip_zone *strip_zone; /* This one too */
22
  int nr_strip_zones;
23
  struct strip_zone *smallest;
24
  int nr_zones;
25
};
26
 
27
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.