File: raid_io.h

package info (click to toggle)
raidtools 0.42-16
  • links: PTS
  • area: main
  • in suites: slink
  • size: 392 kB
  • ctags: 128
  • sloc: ansic: 2,056; makefile: 134; sh: 107
file content (21 lines) | stat: -rw-r--r-- 610 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * raid_io.h : Utility for the Linux Multiple Devices driver
 *             Copyright (C) 1997 Ingo Molnar, Miguel de Icaza, Gadi Oxman
 *
 * Externaly visible RAID IO operations interface.
 *
 * This source is covered by the GNU GPL, the same as all Linux kernel
 * sources.
 */

void progress (unsigned long blocks, unsigned long current);

long long raidseek (unsigned int fd, unsigned long blk);
extern void print_sb (md_superblock_t *sb);
extern int analyze_sb (void);
extern int init_set (void);
extern int check_active (md_cfg_entry_t *p);
extern int read_sb (void);
extern int write_sb (int old);