Searched refs:nb_descs (Results 1 – 3 of 3) sorted by relevance
1184 uint32_t nb_descs = 0, max_n_descs, i; in vhost_crypto_process_one_req() local1205 nb_descs = max_n_descs = dlen / sizeof(struct vring_desc); in vhost_crypto_process_one_req()1206 if (unlikely(nb_descs > VHOST_CRYPTO_MAX_N_DESC || nb_descs == 0)) { in vhost_crypto_process_one_req()1208 VC_LOG_ERR("Cannot process num of descriptors %u", nb_descs); in vhost_crypto_process_one_req()1209 if (nb_descs > 0) { in vhost_crypto_process_one_req()1247 nb_descs = desc - descs; in vhost_crypto_process_one_req()
157 int nb_descs = 0; in virtio_send_command_packed() local171 nb_descs++; in virtio_send_command_packed()186 nb_descs++; in virtio_send_command_packed()200 nb_descs++; in virtio_send_command_packed()219 vq->vq_free_cnt += nb_descs; in virtio_send_command_packed()220 vq->vq_used_cons_idx += nb_descs; in virtio_send_command_packed()
1904 uint16_t nb_used, nb_clean, nb_descs; in virtio_xmit_try_cleanup_inorder() local1906 nb_descs = vq->vq_free_cnt + need; in virtio_xmit_try_cleanup_inorder()1912 return nb_descs - vq->vq_free_cnt; in virtio_xmit_try_cleanup_inorder()