| /linux-6.15/fs/bcachefs/ |
| H A D | sb-counters.c | 23 if (!ctrs) in bch2_sb_counter_nr_entries() 26 return (__le64 *) vstruct_end(&ctrs->field) - &ctrs->d[0]; in bch2_sb_counter_nr_entries() 38 struct bch_sb_field_counters *ctrs = field_to_type(f, counters); in bch2_sb_counters_to_text() local 39 unsigned int nr = bch2_sb_counter_nr_entries(ctrs); in bch2_sb_counters_to_text() 46 le64_to_cpu(ctrs->d[stable])); in bch2_sb_counters_to_text() 53 unsigned int nr = bch2_sb_counter_nr_entries(ctrs); in bch2_sb_counters_to_cpu() 61 u64 v = le64_to_cpu(ctrs->d[stable]); in bch2_sb_counters_to_cpu() 74 unsigned int nr = bch2_sb_counter_nr_entries(ctrs); in bch2_sb_counters_from_cpu() 78 sizeof(*ctrs) / sizeof(u64) + BCH_COUNTER_NR); in bch2_sb_counters_from_cpu() 80 ctrs = ret; in bch2_sb_counters_from_cpu() [all …]
|
| /linux-6.15/kernel/gcov/ |
| H A D | gcc_4_7.c | 79 struct gcov_ctr_info ctrs[]; member 216 ci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_reset() 257 dci_ptr = dst->functions[fi_idx]->ctrs; in gcov_info_add() 258 sci_ptr = src->functions[fi_idx]->ctrs; in gcov_info_add() 319 sci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_dup() 320 dci_ptr = dup->functions[fi_idx]->ctrs; in gcov_info_dup() 365 ci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_free() 416 ci_ptr = fi_ptr->ctrs; in convert_to_gcda()
|
| /linux-6.15/arch/s390/pci/ |
| H A D | pci_debug.c | 75 struct zpci_iommu_ctrs *ctrs; in pci_sw_counter_show() local 81 ctrs = zpci_get_iommu_ctrs(m->private); in pci_sw_counter_show() 82 if (!ctrs) in pci_sw_counter_show() 85 counter = &ctrs->mapped_pages; in pci_sw_counter_show()
|
| H A D | pci.c | 162 struct zpci_iommu_ctrs *ctrs; in zpci_fmb_enable_device() local 177 ctrs = zpci_get_iommu_ctrs(zdev); in zpci_fmb_enable_device() 178 if (ctrs) { in zpci_fmb_enable_device() 179 atomic64_set(&ctrs->mapped_pages, 0); in zpci_fmb_enable_device() 180 atomic64_set(&ctrs->unmapped_pages, 0); in zpci_fmb_enable_device() 181 atomic64_set(&ctrs->global_rpcits, 0); in zpci_fmb_enable_device() 182 atomic64_set(&ctrs->sync_map_rpcits, 0); in zpci_fmb_enable_device() 183 atomic64_set(&ctrs->sync_rpcits, 0); in zpci_fmb_enable_device()
|
| /linux-6.15/drivers/iommu/ |
| H A D | s390-iommu.c | 30 struct zpci_iommu_ctrs ctrs; member 543 atomic64_inc(&s390_domain->ctrs.global_rpcits); in s390_iommu_flush_iotlb_all() 562 atomic64_inc(&s390_domain->ctrs.sync_rpcits); in s390_iommu_iotlb_sync() 580 atomic64_inc(&s390_domain->ctrs.sync_map_rpcits); in s390_iommu_iotlb_sync_map() 682 atomic64_add(pgcount, &s390_domain->ctrs.mapped_pages); in s390_iommu_map_pages() 739 atomic64_add(pgcount, &s390_domain->ctrs.unmapped_pages); in s390_iommu_unmap_pages() 754 return &s390_domain->ctrs; in zpci_get_iommu_ctrs()
|
| /linux-6.15/arch/s390/kernel/ |
| H A D | crash_dump.c | 44 u64 ctrs[16]; member 92 memcpy(&sa->ctrs, &lc->cregs_save_area, sizeof(sa->ctrs)); in save_area_add_regs() 316 ptr = nt_init(ptr, S390_CTRS, sa->ctrs); in fill_cpu_elf_notes() 338 size += nt_size(S390_CTRS, sa->ctrs); in get_cpu_elf_notes_size()
|
| /linux-6.15/arch/powerpc/perf/ |
| H A D | core-book3s.c | 1089 static int check_excludes(struct perf_event **ctrs, unsigned int cflags[], in check_excludes() argument 1114 event = ctrs[i]; in check_excludes() 1591 struct perf_event *ctrs[], u64 *events, in collect_events() argument 1600 ctrs[n] = group; in collect_events() 1609 ctrs[n] = event; in collect_events() 2004 struct perf_event *ctrs[MAX_HWEVENTS]; in power_pmu_event_init() local 2112 ctrs, events, cflags); in power_pmu_event_init() 2117 ctrs[n] = event; in power_pmu_event_init() 2119 if (check_excludes(ctrs, cflags, n, 1)) in power_pmu_event_init() 2125 err = power_check_constraints(cpuhw, events, cflags, n + 1, ctrs); in power_pmu_event_init()
|
| H A D | core-fsl-emb.c | 252 struct perf_event *ctrs[]) in collect_events() argument 260 ctrs[n] = group; in collect_events() 268 ctrs[n] = event; in collect_events()
|
| /linux-6.15/drivers/s390/crypto/ |
| H A D | ap_bus.c | 715 struct __ap_calc_ctrs ctrs; in ap_calc_bound_apqns() local 717 memset(&ctrs, 0, sizeof(ctrs)); in ap_calc_bound_apqns() 718 bus_for_each_dev(&ap_bus_type, NULL, (void *)&ctrs, __ap_calc_helper); in ap_calc_bound_apqns() 720 *apqns = ctrs.apqns; in ap_calc_bound_apqns() 721 *bound = ctrs.bound; in ap_calc_bound_apqns()
|