cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

md-linear.h (303B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _LINEAR_H
      3#define _LINEAR_H
      4
      5struct dev_info {
      6	struct md_rdev	*rdev;
      7	sector_t	end_sector;
      8};
      9
     10struct linear_conf
     11{
     12	struct rcu_head		rcu;
     13	sector_t		array_sectors;
     14	int			raid_disks; /* a copy of mddev->raid_disks */
     15	struct dev_info		disks[];
     16};
     17#endif