Searched refs:protection_type (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/include/linux/ |
D | t10-pi.h | 56 extern void t10_pi_prepare(struct request *rq, u8 protection_type); 57 extern void t10_pi_complete(struct request *rq, u8 protection_type, 60 static inline void t10_pi_complete(struct request *rq, u8 protection_type, in t10_pi_complete() argument 64 static inline void t10_pi_prepare(struct request *rq, u8 protection_type) in t10_pi_prepare() argument
|
/Linux-v4.19/block/ |
D | t10-pi.c | 201 void t10_pi_prepare(struct request *rq, u8 protection_type) in t10_pi_prepare() argument 207 if (protection_type == T10_PI_TYPE3_PROTECTION) in t10_pi_prepare() 259 void t10_pi_complete(struct request *rq, u8 protection_type, in t10_pi_complete() argument 266 if (protection_type == T10_PI_TYPE3_PROTECTION) in t10_pi_complete()
|
/Linux-v4.19/drivers/scsi/qedi/ |
D | qedi_fw_scsi.h | 35 u8 protection_type; member
|
D | qedi_fw_api.c | 354 dif_task_params->protection_type); in init_rtdif_task_context() 442 dif_task_params->protection_type); in init_rtdif_task_context()
|
/Linux-v4.19/drivers/scsi/qedf/ |
D | drv_scsi_fw_funcs.h | 35 u8 protection_type; member
|
/Linux-v4.19/drivers/scsi/ |
D | sd_dif.c | 45 u8 type = sdkp->protection_type; in sd_dif_config_host()
|
D | sd.c | 303 return sprintf(buf, "%u\n", sdkp->protection_type); in protection_type_show() 323 sdkp->protection_type = val; in protection_type_store() 327 static DEVICE_ATTR_RW(protection_type); 337 dif = scsi_host_dif_capable(sdp->host, sdkp->protection_type); in protection_mode_show() 338 dix = scsi_host_dix_capable(sdp->host, sdkp->protection_type); in protection_mode_show() 1121 t10_pi_prepare(SCpnt->request, sdkp->protection_type); in sd_setup_read_write_cmnd() 1137 dif = scsi_host_dif_capable(SCpnt->device->host, sdkp->protection_type); in sd_setup_read_write_cmnd() 1144 if (protect && sdkp->protection_type == T10_PI_TYPE2_PROTECTION) { in sd_setup_read_write_cmnd() 2051 t10_pi_complete(SCpnt->request, sdkp->protection_type, in sd_done() 2202 if (sdkp->first_scan || type != sdkp->protection_type) in sd_read_protection_type() [all …]
|
D | sd.h | 98 u8 protection_type;/* Data Integrity Field */ member
|