Searched refs:nr_caps (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/fs/ceph/ |
D | metric.c | 32 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()
|
D | debugfs.c | 233 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()
|
D | mds_client.c | 55 int nr_caps, nr_realms; member 3628 BUG_ON(!recon_state->nr_caps == !recon_state->nr_realms); in send_reconnect_partial() 3644 if (recon_state->nr_caps) { in send_reconnect_partial() 3662 if (recon_state->nr_caps) { in send_reconnect_partial() 3664 *addr = cpu_to_le32(recon_state->nr_caps); in send_reconnect_partial() 3681 recon_state->nr_caps = 0; in send_reconnect_partial() 3903 recon_state->nr_caps++; in reconnect_caps_cb() 4080 if (recon_state.nr_caps) { in send_mds_reconnect() 4099 if (recon_state.nr_caps || recon_state.nr_realms) { in send_mds_reconnect() 4104 if (recon_state.nr_caps) { in send_mds_reconnect() [all …]
|
D | caps.c | 166 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()
|
/linux-5.19.10/tools/perf/util/ |
D | header.c | 1519 int nr_caps; in write_per_cpu_pmu_caps() local 1522 nr_caps = perf_pmu__caps_parse(pmu); in write_per_cpu_pmu_caps() 1523 if (nr_caps < 0) in write_per_cpu_pmu_caps() 1524 return nr_caps; in write_per_cpu_pmu_caps() 1526 ret = do_write(ff, &nr_caps, sizeof(nr_caps)); in write_per_cpu_pmu_caps() 2054 static void print_per_cpu_pmu_caps(FILE *fp, int nr_caps, char *cpu_pmu_caps, in print_per_cpu_pmu_caps() argument 2060 if (!nr_caps) { in print_per_cpu_pmu_caps() 2076 while (nr_caps--) { in print_per_cpu_pmu_caps() 3216 u32 nr_caps; in process_per_cpu_pmu_caps() local 3218 if (do_read_u32(ff, &nr_caps)) in process_per_cpu_pmu_caps() [all …]
|
D | pmu.c | 1893 int nr_caps = 0; in perf_pmu__caps_parse() local 1929 nr_caps++; in perf_pmu__caps_parse() 1935 return nr_caps; in perf_pmu__caps_parse()
|