Searched refs:divs (Results 1 – 1 of 1) sorted by relevance
414 static unsigned int count_test_sg_divisions(const struct test_sg_division *divs) in count_test_sg_divisions() argument420 remaining -= divs[ndivs++].proportion_of_total; in count_test_sg_divisions()429 static bool valid_sg_divisions(const struct test_sg_division *divs, in valid_sg_divisions() argument436 if (divs[i].proportion_of_total <= 0 || in valid_sg_divisions()437 divs[i].proportion_of_total > TEST_SG_TOTAL - total) in valid_sg_divisions()439 total += divs[i].proportion_of_total; in valid_sg_divisions()440 if (divs[i].flush_type != FLUSH_TYPE_NONE) in valid_sg_divisions()442 if (divs[i].nosimd) in valid_sg_divisions()446 memchr_inv(&divs[i], 0, (count - i) * sizeof(divs[0])) == NULL; in valid_sg_divisions()528 const struct test_sg_division *divs, in build_test_sglist() argument[all …]