Lines Matching refs:unlikely
117 if (unlikely(cpt_fc_ciph_validate_key_aes(key_len) != 0)) in cpt_fc_ciph_set_type()
126 if (unlikely(key_len == 24)) { in cpt_fc_ciph_set_type()
130 if (unlikely(cpt_fc_ciph_validate_key_aes(key_len) != 0)) in cpt_fc_ciph_set_type()
136 if (unlikely(key_len != 16)) in cpt_fc_ciph_set_type()
139 if (unlikely(ctx->hash_type)) in cpt_fc_ciph_set_type()
145 if (unlikely(key_len != 16)) in cpt_fc_ciph_set_type()
148 if (unlikely(ctx->hash_type)) in cpt_fc_ciph_set_type()
243 if (unlikely(ret)) in cpt_fc_ciph_set_key()
405 if (unlikely(from_offset)) { in fill_sg_comp_from_iov()
539 if (unlikely(!hash_type && !ctx->enc_cipher)) { in cpt_digest_gen_prep()
575 if (unlikely(size)) { in cpt_digest_gen_prep()
598 if (unlikely(params->mac_buf.size < mac_len)) { in cpt_digest_gen_prep()
611 if (unlikely(size)) { in cpt_digest_gen_prep()
684 if (unlikely(flags & VALID_AAD_BUF)) { in cpt_enc_hmac_prep()
725 if (unlikely(!(flags & VALID_IV_BUF))) { in cpt_enc_hmac_prep()
730 if (unlikely(flags & VALID_AAD_BUF)) { in cpt_enc_hmac_prep()
765 if (unlikely(encr_data_len & 0xf)) { in cpt_enc_hmac_prep()
775 if (unlikely(auth_dlen > enc_dlen)) { in cpt_enc_hmac_prep()
885 if (unlikely(flags & SINGLE_BUF_INPLACE)) { in cpt_enc_hmac_prep()
896 if (unlikely(size)) { in cpt_enc_hmac_prep()
920 if (unlikely(flags & VALID_MAC_BUF)) { in cpt_enc_hmac_prep()
926 if (unlikely(flags & SINGLE_BUF_INPLACE)) { in cpt_enc_hmac_prep()
941 if (unlikely(size)) { in cpt_enc_hmac_prep()
960 if (unlikely(flags & SINGLE_BUF_INPLACE)) { in cpt_enc_hmac_prep()
975 if (unlikely(size)) { in cpt_enc_hmac_prep()
1003 if (unlikely((encr_offset >> 16) || in cpt_enc_hmac_prep()
1060 if (unlikely(flags & VALID_AAD_BUF)) { in cpt_dec_hmac_prep()
1075 if (unlikely(!(flags & VALID_IV_BUF))) { in cpt_dec_hmac_prep()
1080 if (unlikely(flags & VALID_AAD_BUF)) { in cpt_dec_hmac_prep()
1196 if (unlikely((encr_offset >> 16) || in cpt_dec_hmac_prep()
1237 if (unlikely((encr_offset >> 16) || in cpt_dec_hmac_prep()
1276 if (unlikely(flags & SINGLE_BUF_INPLACE)) { in cpt_dec_hmac_prep()
1292 if (unlikely(size)) { in cpt_dec_hmac_prep()
1309 if (unlikely(flags & SINGLE_BUF_INPLACE)) { in cpt_dec_hmac_prep()
1318 if (unlikely(!fc_params->src_iov)) { in cpt_dec_hmac_prep()
1331 if (unlikely(size)) { in cpt_dec_hmac_prep()
1360 if (unlikely(flags & SINGLE_BUF_INPLACE)) { in cpt_dec_hmac_prep()
1369 if (unlikely(!fc_params->dst_iov)) { in cpt_dec_hmac_prep()
1380 if (unlikely(size)) { in cpt_dec_hmac_prep()
1524 if (unlikely((encr_offset >> 16) || in cpt_zuc_snow3g_enc_prep()
1641 if (unlikely(size)) { in cpt_zuc_snow3g_enc_prep()
1676 if (unlikely(size)) { in cpt_zuc_snow3g_enc_prep()
1696 if (unlikely(size)) { in cpt_zuc_snow3g_enc_prep()
1919 if (unlikely(size)) { in cpt_zuc_snow3g_dec_prep()
1948 if (unlikely(size)) { in cpt_zuc_snow3g_dec_prep()
1974 if (unlikely((encr_offset >> 16))) { in cpt_zuc_snow3g_dec_prep()
2114 if (unlikely((encr_offset >> 16))) { in cpt_kasumi_enc_prep()
2124 if (unlikely((auth_offset >> 8))) { in cpt_kasumi_enc_prep()
2144 if (unlikely(size)) { in cpt_kasumi_enc_prep()
2180 if (unlikely(size)) { in cpt_kasumi_enc_prep()
2200 if (unlikely(size)) { in cpt_kasumi_enc_prep()
2341 if (unlikely((encr_offset >> 16))) { in cpt_kasumi_dec_prep()
2359 if (unlikely(size)) { in cpt_kasumi_dec_prep()
2386 if (unlikely(size)) { in cpt_kasumi_dec_prep()
2626 if (unlikely(cpt_fc_ciph_set_key(ctx, enc_type, aead_form->key.data, in fill_sess_aead()
2630 if (unlikely(cpt_fc_auth_set_key(ctx, auth_type, NULL, 0, in fill_sess_aead()
2738 if (unlikely(cpt_fc_ciph_set_key(SESS_PRIV(sess), enc_type, in fill_sess_cipher()
2842 if (unlikely(cpt_fc_auth_set_key(SESS_PRIV(sess), auth_type, in fill_sess_auth()
2888 if (unlikely(cpt_fc_ciph_set_key(ctx, enc_type, a_form->key.data, in fill_sess_gmac()
2892 if (unlikely(cpt_fc_auth_set_key(ctx, auth_type, NULL, 0, in fill_sess_gmac()
2931 if (unlikely(rte_mempool_get(cpt_meta_pool, (void **)&mdata) < 0)) in alloc_op_meta()
2994 while (unlikely(pkt != NULL)) { in prepare_iov_from_pkt()
3053 while (unlikely(pkt != NULL)) { in prepare_iov_from_pkt_inplace()
3107 unlikely(sess_misc->iv_length != 16)) { in fill_fc_params()
3155 if (unlikely(*(uint32_t *)salt != sess_misc->salt)) { in fill_fc_params()
3168 if (unlikely(rte_pktmbuf_mtod(m, uint8_t *) + in fill_fc_params()
3194 if (unlikely(sess_misc->is_gmac)) { in fill_fc_params()
3197 if (unlikely(*(uint32_t *)salt != sess_misc->salt)) { in fill_fc_params()
3212 (unlikely(rte_pktmbuf_mtod(m, uint8_t *) + in fill_fc_params()
3230 unlikely(sess_misc->is_null || in fill_fc_params()
3241 if (unlikely(prepare_iov_from_pkt_inplace(m_src, in fill_fc_params()
3261 if (unlikely(m_dst != NULL)) { in fill_fc_params()
3267 if (unlikely(pkt_len < rte_pktmbuf_pkt_len(m_src))) { in fill_fc_params()
3297 if (unlikely(mdata == NULL)) { in fill_fc_params()
3321 if (unlikely(*prep_req == NULL)) { in fill_fc_params()
3444 if (unlikely(sess->zsk_flag)) { in fill_digest_params()
3549 if (unlikely(*prep_req == NULL)) { in fill_digest_params()