Lines Matching refs:type
33 csum_fn *fn, enum t10_dif_type type) in t10_pi_generate() argument
43 if (type == T10_PI_TYPE1_PROTECTION) in t10_pi_generate()
57 csum_fn *fn, enum t10_dif_type type) in t10_pi_verify() argument
61 BUG_ON(type == T10_PI_TYPE0_PROTECTION); in t10_pi_verify()
67 if (type == T10_PI_TYPE1_PROTECTION || in t10_pi_verify()
68 type == T10_PI_TYPE2_PROTECTION) { in t10_pi_verify()
80 } else if (type == T10_PI_TYPE3_PROTECTION) { in t10_pi_verify()
289 enum t10_dif_type type) in ext_pi_crc64_generate() argument
299 if (type == T10_PI_TYPE1_PROTECTION) in ext_pi_crc64_generate()
320 enum t10_dif_type type) in ext_pi_crc64_verify() argument
329 if (type == T10_PI_TYPE1_PROTECTION) { in ext_pi_crc64_verify()
340 } else if (type == T10_PI_TYPE3_PROTECTION) { in ext_pi_crc64_verify()