Searched refs:dring_len (Results 1 – 3 of 3) sorted by relevance
158 ASSERT(idx < vdc->dring_len); \377 uint32_t dring_len; /* dring length */ member
243 ((((id) + 1) >= vd->dring_len)? 0 : (id) + 1)490 uint32_t dring_len; /* number of dring elements */ member4647 vd->dring_len = reg_msg->num_descriptors; in vd_process_dring_reg_msg()4651 vd->descriptor_size, vd->dring_len); in vd_process_dring_reg_msg()4658 kmem_zalloc((sizeof (*vd->dring_task)) * vd->dring_len, KM_SLEEP); in vd_process_dring_reg_msg()4659 for (int i = 0; i < vd->dring_len; i++) { in vd_process_dring_reg_msg()4682 kmem_zalloc(sizeof (buf_t *) * vd->dring_len, KM_SLEEP); in vd_process_dring_reg_msg()4888 nelem = ((end < start) ? end + vd->dring_len : end) - start + 1; in vd_process_element_range()4889 for (i = start, n = nelem; n > 0; i = (i + 1) % vd->dring_len, n--) { in vd_process_element_range()4945 if (dring_msg->start_idx >= vd->dring_len) { in vd_process_dring_msg()[all …]
1851 pkt.num_descriptors = vdc->dring_len; in vdc_init_dring_negotiate()2681 vdc->dring_len = VD_DRING_LEN; in vdc_init_descriptor_ring()2683 status = ldc_mem_dring_create(vdc->dring_len, in vdc_init_descriptor_ring()2727 kmem_zalloc(vdc->dring_len * sizeof (vdc_local_desc_t), in vdc_init_descriptor_ring()2739 for (i = 0; i < vdc->dring_len; i++) { in vdc_init_descriptor_ring()2789 for (i = 0; i < vdc->dring_len; i++) { in vdc_destroy_descriptor_ring()2824 vdc->dring_len * sizeof (vdc_local_desc_t)); in vdc_destroy_descriptor_ring()3102 if (next_idx >= vdcp->dring_len) in vdc_populate_descriptor()3496 if (idx >= vdc->dring_len) { in vdc_drain_response()3521 if ((idx + 1) % vdc->dring_len == vdc->dring_curr_idx) { in vdc_drain_response()[all …]