Lines Matching refs:num_elems
639 array->num_elems = tuple_set->num_tuples; in copy_tuples()
1690 j = tplg_get_tuple_size(va->type) * va->num_elems; in tplg_verify_tuple_set()
1694 va->size, j + sizeof(*va), va->type, va->num_elems); in tplg_verify_tuple_set()
1698 if (va->num_elems > 4096) { in tplg_verify_tuple_set()
1699 tplg_log(tplg, 'A', pos, "tuple set verify: tuples overflow %d", va->num_elems); in tplg_verify_tuple_set()
1737 j = tplg_get_tuple_size(va->type) * va->num_elems; in tplg_decode_tuple_set()
1741 va->size, j + sizeof(*va), va->type, va->num_elems); in tplg_decode_tuple_set()
1745 if (va->num_elems > 4096) { in tplg_decode_tuple_set()
1746 SNDERR("tuples: tuples overflow %d", va->num_elems); in tplg_decode_tuple_set()
1750 set = calloc(1, sizeof(*set) + va->num_elems * sizeof(struct tplg_tuple)); in tplg_decode_tuple_set()
1755 set->num_tuples = va->num_elems; in tplg_decode_tuple_set()