Searched refs:nr_caps (Results 1 – 6 of 6) sorted by relevance
148 int nr_caps = 0; in metric_show() local204 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()
20 u64 nr_caps = atomic64_read(&m->total_caps); in ceph_mdsc_send_metrics() local47 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
54 int nr_caps, nr_realms; member3587 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 …]
166 static void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) in __ceph_unreserve_caps() argument171 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()
1437 int nr_caps; in write_cpu_pmu_caps() local1443 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() local1927 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() local3022 if (do_read_u32(ff, &nr_caps)) in process_cpu_pmu_caps()[all …]
1675 int nr_caps = 0; in perf_pmu__caps_parse() local1711 nr_caps++; in perf_pmu__caps_parse()1717 return nr_caps; in perf_pmu__caps_parse()