Home
last modified time | relevance | path

Searched refs:dr_stat (Results 1 – 1 of 1) sorted by relevance

/drivers/staging/lustre/lnet/lnet/
Dnet_fault.c63 struct lnet_fault_stat dr_stat; member
251 *stat = rule->dr_stat; in lnet_drop_rule_list()
277 memset(&rule->dr_stat, 0, sizeof(rule->dr_stat)); in lnet_drop_rule_reset()
310 rule->dr_stat.fs_count++; in drop_rule_match()
328 drop = rule->dr_stat.fs_count++ == rule->dr_drop_at; in drop_rule_match()
330 if (!do_div(rule->dr_stat.fs_count, attr->u.drop.da_rate)) { in drop_rule_match()
331 rule->dr_drop_at = rule->dr_stat.fs_count + in drop_rule_match()
340 lnet_fault_stat_inc(&rule->dr_stat, type); in drop_rule_match()
341 rule->dr_stat.u.drop.ds_dropped++; in drop_rule_match()