Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/ceph/
A Dmetric.c32 u64 nr_caps = atomic64_read(&m->total_caps); in ceph_mdsc_send_metrics() local
61 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
132 icaps->pinned_icaps = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
A Ddebugfs.c233 int nr_caps = 0; in metrics_caps_show() local
243 nr_caps = atomic64_read(&m->total_caps); in metrics_caps_show()
244 seq_printf(s, "%-14s%-16d%-16lld%lld\n", "caps", nr_caps, in metrics_caps_show()
A Dmds_client.c55 int nr_caps, nr_realms; member
3814 BUG_ON(!recon_state->nr_caps == !recon_state->nr_realms); in send_reconnect_partial()
3830 if (recon_state->nr_caps) { in send_reconnect_partial()
3848 if (recon_state->nr_caps) { in send_reconnect_partial()
3850 *addr = cpu_to_le32(recon_state->nr_caps); in send_reconnect_partial()
3867 recon_state->nr_caps = 0; in send_reconnect_partial()
4089 recon_state->nr_caps++; in reconnect_caps_cb()
4266 if (recon_state.nr_caps) { in send_mds_reconnect()
4285 if (recon_state.nr_caps || recon_state.nr_realms) { in send_mds_reconnect()
4290 if (recon_state.nr_caps) { in send_mds_reconnect()
[all …]
A Dcaps.c167 static void __ceph_unreserve_caps(struct ceph_mds_client *mdsc, int nr_caps) in __ceph_unreserve_caps() argument
172 if (nr_caps) { in __ceph_unreserve_caps()
173 BUG_ON(mdsc->caps_reserve_count < nr_caps); in __ceph_unreserve_caps()
174 mdsc->caps_reserve_count -= nr_caps; in __ceph_unreserve_caps()
177 mdsc->caps_total_count -= nr_caps; in __ceph_unreserve_caps()
178 for (i = 0; i < nr_caps; i++) { in __ceph_unreserve_caps()
185 mdsc->caps_avail_count += nr_caps; in __ceph_unreserve_caps()
/linux-6.3-rc2/tools/perf/util/
A Denv.h47 int nr_caps; member
A Dpmu.h103 u32 nr_caps; member
A Dheader.c1528 ret = do_write(ff, &pmu->nr_caps, sizeof(pmu->nr_caps)); in __write_pmu_caps()
1602 !pmu->nr_caps || perf_pmu__is_hybrid(pmu->name)) in write_pmu_caps()
2088 if (!nr_caps) { in __print_pmu_caps()
2094 for (i = 0; i < nr_caps; i++) { in __print_pmu_caps()
2114 __print_pmu_caps(fp, pmu_caps->nr_caps, pmu_caps->caps, in print_pmu_caps()
3234 *nr_caps = 0; in __process_pmu_caps()
3267 *nr_caps = nr_pmu_caps; in __process_pmu_caps()
3279 *nr_caps = 0; in __process_pmu_caps()
3315 ret = __process_pmu_caps(ff, &pmu_caps[i].nr_caps, in process_pmu_caps()
3326 if (!pmu_caps[i].nr_caps) { in process_pmu_caps()
[all …]
A Denv.c223 for (j = 0; j < env->pmu_caps[i].nr_caps; j++) in perf_env__exit()
570 for (j = 0; j < env->pmu_caps[i].nr_caps; j++) { in perf_env__find_pmu_cap()
A Dpmu.c1768 return pmu->nr_caps; in perf_pmu__caps_parse()
1770 pmu->nr_caps = 0; in perf_pmu__caps_parse()
1805 pmu->nr_caps++; in perf_pmu__caps_parse()
1812 return pmu->nr_caps; in perf_pmu__caps_parse()
/linux-6.3-rc2/tools/perf/Documentation/
A Dperf.data-file-format.txt431 u32 nr_caps;
435 } [nr_caps];

Completed in 34 milliseconds