Searched refs:is_ver1 (Results 1 – 2 of 2) sorted by relevance
465 static inline int osd_data_out_integrity_info_sizeof(bool is_ver1) in osd_data_out_integrity_info_sizeof() argument468 (is_ver1 * (OSDv2_CRYPTO_KEYID_SIZE - OSDv1_CRYPTO_KEYID_SIZE)); in osd_data_out_integrity_info_sizeof()481 static inline int osd_data_in_integrity_info_sizeof(bool is_ver1) in osd_data_in_integrity_info_sizeof() argument484 (is_ver1 * (OSDv2_CRYPTO_KEYID_SIZE - OSDv1_CRYPTO_KEYID_SIZE)); in osd_data_in_integrity_info_sizeof()
2008 bool is_ver1 = true; in osd_set_caps() local2010 memcpy(&cdb->v1.caps, caps, is_ver1 ? OSDv1_CAP_LEN : OSD_CAP_LEN); in osd_set_caps()