Lines Matching full:stable
42 unsigned stable = counters_to_stable_map[i]; in bch2_sb_counters_to_text() local
43 if (stable < nr) in bch2_sb_counters_to_text()
46 le64_to_cpu(ctrs->d[stable])); in bch2_sb_counters_to_text()
59 unsigned stable = counters_to_stable_map[i]; in bch2_sb_counters_to_cpu() local
60 if (stable < nr) { in bch2_sb_counters_to_cpu()
61 u64 v = le64_to_cpu(ctrs->d[stable]); in bch2_sb_counters_to_cpu()
86 unsigned stable = counters_to_stable_map[i]; in bch2_sb_counters_from_cpu() local
87 if (stable < nr) in bch2_sb_counters_from_cpu()
88 ctrs->d[stable] = cpu_to_le64(percpu_u64_get(&c->counters[i])); in bch2_sb_counters_from_cpu()
132 unsigned stable = counters_to_stable_map[i]; in bch2_ioctl_query_counters() local
134 if (stable < arg.nr) { in bch2_ioctl_query_counters()
139 ret = put_user(v, &user_arg->d[stable]); in bch2_ioctl_query_counters()