Searched refs:protection_type (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Dsd.h56 u8 protection_type;/* Data Integrity Field */ member in struct:scsi_disk
H A Dsd_dif.c313 u8 type = sdkp->protection_type;
384 if (sdkp->protection_type == SD_DIF_TYPE3_PROTECTION)
439 if (sdkp->protection_type == SD_DIF_TYPE3_PROTECTION || good_bytes == 0)
H A Dsd.c258 return snprintf(buf, 20, "%u\n", sdkp->protection_type);
287 __ATTR(protection_type, S_IRUGO, sd_show_protection_type, NULL),
655 host_dif = scsi_host_dif_capable(sdp->host, sdkp->protection_type);
1266 if (scsi_host_dif_capable(sdkp->device->host, sdkp->protection_type)
1439 if (type == sdkp->protection_type || !sdkp->first_scan)
1442 sdkp->protection_type = type;
1985 if (sdkp->protection_type == 0)

Completed in 25 milliseconds