Searched refs:divs (Results 1 – 1 of 1) sorted by relevance
444 static unsigned int count_test_sg_divisions(const struct test_sg_division *divs) in count_test_sg_divisions() argument450 remaining -= divs[ndivs++].proportion_of_total; in count_test_sg_divisions()459 static bool valid_sg_divisions(const struct test_sg_division *divs, in valid_sg_divisions() argument466 if (divs[i].proportion_of_total <= 0 || in valid_sg_divisions()467 divs[i].proportion_of_total > TEST_SG_TOTAL - total) in valid_sg_divisions()469 total += divs[i].proportion_of_total; in valid_sg_divisions()470 if (divs[i].flush_type != FLUSH_TYPE_NONE) in valid_sg_divisions()472 if (divs[i].nosimd) in valid_sg_divisions()476 memchr_inv(&divs[i], 0, (count - i) * sizeof(divs[0])) == NULL; in valid_sg_divisions()558 const struct test_sg_division *divs, in build_test_sglist() argument[all …]