Home
last modified time | relevance | path

Searched refs:protection_type (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/include/linux/
Dt10-pi.h56 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/
Dt10-pi.c201 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/
Dqedi_fw_scsi.h35 u8 protection_type; member
Dqedi_fw_api.c354 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/
Ddrv_scsi_fw_funcs.h35 u8 protection_type; member
/Linux-v4.19/drivers/scsi/
Dsd_dif.c45 u8 type = sdkp->protection_type; in sd_dif_config_host()
Dsd.c303 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 …]
Dsd.h98 u8 protection_type;/* Data Integrity Field */ member