Lines Matching refs:get_percent
79 static int get_percent(__u32 *percent, const char *str) in get_percent() function
214 if (get_percent(&cor.delay_corr, *argv)) { in netem_parse_opt()
235 if (get_percent(&opt.loss, *argv)) { in netem_parse_opt()
242 if (get_percent(&cor.loss_corr, *argv)) { in netem_parse_opt()
267 if (get_percent(&gimodel.p31, *argv)) { in netem_parse_opt()
275 if (get_percent(&gimodel.p32, *argv)) { in netem_parse_opt()
283 if (get_percent(&gimodel.p23, *argv)) { in netem_parse_opt()
290 if (get_percent(&gimodel.p14, *argv)) { in netem_parse_opt()
297 if (get_percent(&gemodel.p, *argv)) { in netem_parse_opt()
311 if (get_percent(&gemodel.r, *argv)) { in netem_parse_opt()
319 if (get_percent(&gemodel.h, *argv)) { in netem_parse_opt()
331 if (get_percent(&gemodel.k1, *argv)) { in netem_parse_opt()
345 if (get_percent(&reorder.probability, *argv)) { in netem_parse_opt()
352 if (get_percent(&reorder.correlation, *argv)) { in netem_parse_opt()
360 if (get_percent(&corrupt.probability, *argv)) { in netem_parse_opt()
367 if (get_percent(&corrupt.correlation, *argv)) { in netem_parse_opt()
380 if (get_percent(&opt.duplicate, *argv)) { in netem_parse_opt()
386 if (get_percent(&cor.dup_corr, *argv)) { in netem_parse_opt()