Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ceph/
Ddebugfs.c148 int nr_caps = 0; in metric_show() local
204 nr_caps = atomic64_read(&m->total_caps); in metric_show()
205 seq_printf(s, "%-14s%-16d%-16lld%lld\n", "caps", nr_caps, in metric_show()
Dmetric.c20 u64 nr_caps = atomic64_read(&m->total_caps); in ceph_mdsc_send_metrics() local
47 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
Dmds_client.c54 int nr_caps, nr_realms; member
3587 BUG_ON(!recon_state->nr_caps == !recon_state->nr_realms); in send_reconnect_partial()
3603 if (recon_state->nr_caps) { in send_reconnect_partial()
3621 if (recon_state->nr_caps) { in send_reconnect_partial()
3623 *addr = cpu_to_le32(recon_state->nr_caps); in send_reconnect_partial()
3640 recon_state->nr_caps = 0; in send_reconnect_partial()
3862 recon_state->nr_caps++; in reconnect_caps_cb()
4041 if (recon_state.nr_caps) { in send_mds_reconnect()
4060 if (recon_state.nr_caps || recon_state.nr_realms) { in send_mds_reconnect()
4065 if (recon_state.nr_caps) { in send_mds_reconnect()
[all …]
Dcaps.c166 static void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) in __ceph_unreserve_caps() argument
171 if (nr_caps) { in __ceph_unreserve_caps()
172 BUG_ON(mdsc->caps_reserve_count < nr_caps); in __ceph_unreserve_caps()
173 mdsc->caps_reserve_count -= nr_caps; in __ceph_unreserve_caps()
176 mdsc->caps_total_count -= nr_caps; in __ceph_unreserve_caps()
177 for (i = 0; i < nr_caps; i++) { in __ceph_unreserve_caps()
184 mdsc->caps_avail_count += nr_caps; in __ceph_unreserve_caps()
/kernel/linux/linux-5.10/tools/perf/util/
Dheader.c1437 int nr_caps; in write_cpu_pmu_caps() local
1443 nr_caps = perf_pmu__caps_parse(cpu_pmu); in write_cpu_pmu_caps()
1444 if (nr_caps < 0) in write_cpu_pmu_caps()
1445 return nr_caps; in write_cpu_pmu_caps()
1447 ret = do_write(ff, &nr_caps, sizeof(nr_caps)); in write_cpu_pmu_caps()
1924 u32 nr_caps = ff->ph->env.nr_cpu_pmu_caps; in print_cpu_pmu_caps() local
1927 if (!nr_caps) { in print_cpu_pmu_caps()
1933 while (nr_caps--) { in print_cpu_pmu_caps()
3020 u32 nr_caps; in process_cpu_pmu_caps() local
3022 if (do_read_u32(ff, &nr_caps)) in process_cpu_pmu_caps()
[all …]
Dpmu.c1675 int nr_caps = 0; in perf_pmu__caps_parse() local
1711 nr_caps++; in perf_pmu__caps_parse()
1717 return nr_caps; in perf_pmu__caps_parse()