Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs | Functions
sd_dif.c File Reference
#include <linux/blkdev.h>
#include <linux/crc-t10dif.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_dbg.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_driver.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_ioctl.h>
#include <scsi/scsicam.h>
#include <net/checksum.h>
#include "sd.h"

Go to the source code of this file.

Typedefs

typedef __u16csum_fn )(void *, unsigned int)
 

Functions

void sd_dif_config_host (struct scsi_disk *sdkp)
 
void sd_dif_prepare (struct request *rq, sector_t hw_sector, unsigned int sector_sz)
 
void sd_dif_complete (struct scsi_cmnd *scmd, unsigned int good_bytes)
 

Typedef Documentation

typedef __u16( csum_fn)(void *, unsigned int)

Definition at line 40 of file sd_dif.c.

Function Documentation

void sd_dif_complete ( struct scsi_cmnd scmd,
unsigned int  good_bytes 
)

Definition at line 419 of file sd_dif.c.

void sd_dif_config_host ( struct scsi_disk sdkp)

Definition at line 309 of file sd_dif.c.

void sd_dif_prepare ( struct request rq,
sector_t  hw_sector,
unsigned int  sector_sz 
)

Definition at line 369 of file sd_dif.c.