Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
async_raid6_recov.c File Reference
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/dma-mapping.h>
#include <linux/raid/pq.h>
#include <linux/async_tx.h>

Go to the source code of this file.

Functions

struct dma_async_tx_descriptorasync_raid6_2data_recov (int disks, size_t bytes, int faila, int failb, struct page **blocks, struct async_submit_ctl *submit)
 
 EXPORT_SYMBOL_GPL (async_raid6_2data_recov)
 
struct dma_async_tx_descriptorasync_raid6_datap_recov (int disks, size_t bytes, int faila, struct page **blocks, struct async_submit_ctl *submit)
 
 EXPORT_SYMBOL_GPL (async_raid6_datap_recov)
 
 MODULE_AUTHOR ("Dan Williams <[email protected]>")
 
 MODULE_DESCRIPTION ("asynchronous RAID-6 recovery api")
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

struct dma_async_tx_descriptor* async_raid6_2data_recov ( int  disks,
size_t  bytes,
int  faila,
int  failb,
struct page **  blocks,
struct async_submit_ctl submit 
)
read

async_raid6_2data_recov - asynchronously calculate two missing data blocks : number of disks in the RAID-6 array : block size : first failed drive index : second failed drive index : array of source pointers where the last two entries are p and q : submission/completion modifiers

Definition at line 325 of file async_raid6_recov.c.

struct dma_async_tx_descriptor* async_raid6_datap_recov ( int  disks,
size_t  bytes,
int  faila,
struct page **  blocks,
struct async_submit_ctl submit 
)
read

async_raid6_datap_recov - asynchronously calculate a data and the 'p' block : number of disks in the RAID-6 array : block size : failed drive index : array of source pointers where the last two entries are p and q : submission/completion modifiers

Definition at line 398 of file async_raid6_recov.c.

EXPORT_SYMBOL_GPL ( async_raid6_2data_recov  )
EXPORT_SYMBOL_GPL ( async_raid6_datap_recov  )
MODULE_AUTHOR ( "Dan Williams <[email protected]>"  )
MODULE_DESCRIPTION ( "asynchronous RAID-6 recovery api"  )
MODULE_LICENSE ( "GPL"  )