Lines Matching refs:get_percent
79 static int get_percent(__u32 *percent, const char *str) in get_percent() function
219 if (get_percent(&cor.delay_corr, *argv)) { in netem_parse_opt()
240 if (get_percent(&opt.loss, *argv)) { in netem_parse_opt()
247 if (get_percent(&cor.loss_corr, *argv)) { in netem_parse_opt()
272 if (get_percent(&gimodel.p31, *argv)) { in netem_parse_opt()
280 if (get_percent(&gimodel.p32, *argv)) { in netem_parse_opt()
288 if (get_percent(&gimodel.p23, *argv)) { in netem_parse_opt()
295 if (get_percent(&gimodel.p14, *argv)) { in netem_parse_opt()
302 if (get_percent(&gemodel.p, *argv)) { in netem_parse_opt()
316 if (get_percent(&gemodel.r, *argv)) { in netem_parse_opt()
324 if (get_percent(&gemodel.h, *argv)) { in netem_parse_opt()
336 if (get_percent(&gemodel.k1, *argv)) { in netem_parse_opt()
350 if (get_percent(&reorder.probability, *argv)) { in netem_parse_opt()
357 if (get_percent(&reorder.correlation, *argv)) { in netem_parse_opt()
365 if (get_percent(&corrupt.probability, *argv)) { in netem_parse_opt()
372 if (get_percent(&corrupt.correlation, *argv)) { in netem_parse_opt()
385 if (get_percent(&opt.duplicate, *argv)) { in netem_parse_opt()
391 if (get_percent(&cor.dup_corr, *argv)) { in netem_parse_opt()