PageRenderTime 52ms CodeModel.GetById 42ms app.highlight 5ms RepoModel.GetById 3ms app.codeStats 1ms

/drivers/md/linear.h

https://bitbucket.org/abioy/linux
C Header | 21 lines | 15 code | 6 blank | 0 comment | 0 complexity | b9bdceffc17cca5073c6e1663481baf2 MD5 | raw file
Possible License(s): CC-BY-SA-3.0, GPL-2.0, LGPL-2.0, AGPL-1.0
 1#ifndef _LINEAR_H
 2#define _LINEAR_H
 3
 4struct dev_info {
 5	mdk_rdev_t	*rdev;
 6	sector_t	end_sector;
 7};
 8
 9typedef struct dev_info dev_info_t;
10
11struct linear_private_data
12{
13	sector_t		array_sectors;
14	dev_info_t		disks[0];
15	struct rcu_head		rcu;
16};
17
18
19typedef struct linear_private_data linear_conf_t;
20
21#endif