Searched refs:ctrs (Results 1 – 9 of 9) sorted by relevance
| /linux/fs/bcachefs/ |
| A D | sb-counters.c | 17 if (!ctrs) in bch2_sb_counter_nr_entries() 20 return (__le64 *) vstruct_end(&ctrs->field) - &ctrs->d[0]; in bch2_sb_counter_nr_entries() 33 unsigned int nr = bch2_sb_counter_nr_entries(ctrs); in bch2_sb_counters_to_text() 38 le64_to_cpu(ctrs->d[i])); in bch2_sb_counters_to_text() 45 unsigned int nr = bch2_sb_counter_nr_entries(ctrs); in bch2_sb_counters_to_cpu() 52 val = le64_to_cpu(ctrs->d[i]); in bch2_sb_counters_to_cpu() 64 unsigned int nr = bch2_sb_counter_nr_entries(ctrs); in bch2_sb_counters_from_cpu() 68 sizeof(*ctrs) / sizeof(u64) + BCH_COUNTER_NR); in bch2_sb_counters_from_cpu() 71 ctrs = ret; in bch2_sb_counters_from_cpu() 72 nr = bch2_sb_counter_nr_entries(ctrs); in bch2_sb_counters_from_cpu() [all …]
|
| /linux/kernel/gcov/ |
| 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/arch/s390/pci/ |
| A D | pci_debug.c | 74 struct zpci_iommu_ctrs *ctrs = zpci_get_iommu_ctrs(m->private); in pci_sw_counter_show() local 78 if (!ctrs) in pci_sw_counter_show() 81 counter = &ctrs->mapped_pages; in pci_sw_counter_show()
|
| A D | pci.c | 161 struct zpci_iommu_ctrs *ctrs; in zpci_fmb_enable_device() local 174 ctrs = zpci_get_iommu_ctrs(zdev); in zpci_fmb_enable_device() 175 if (ctrs) { in zpci_fmb_enable_device() 176 atomic64_set(&ctrs->mapped_pages, 0); in zpci_fmb_enable_device() 177 atomic64_set(&ctrs->unmapped_pages, 0); in zpci_fmb_enable_device() 178 atomic64_set(&ctrs->global_rpcits, 0); in zpci_fmb_enable_device() 179 atomic64_set(&ctrs->sync_map_rpcits, 0); in zpci_fmb_enable_device() 180 atomic64_set(&ctrs->sync_rpcits, 0); in zpci_fmb_enable_device()
|
| /linux/drivers/iommu/ |
| A D | s390-iommu.c | 30 struct zpci_iommu_ctrs ctrs; member 497 atomic64_inc(&s390_domain->ctrs.global_rpcits); in s390_iommu_flush_iotlb_all() 516 atomic64_inc(&s390_domain->ctrs.sync_rpcits); in s390_iommu_iotlb_sync() 534 atomic64_inc(&s390_domain->ctrs.sync_map_rpcits); in s390_iommu_iotlb_sync_map() 636 atomic64_add(pgcount, &s390_domain->ctrs.mapped_pages); in s390_iommu_map_pages() 693 atomic64_add(pgcount, &s390_domain->ctrs.unmapped_pages); in s390_iommu_unmap_pages() 702 return &zdev->s390_domain->ctrs; in zpci_get_iommu_ctrs()
|
| /linux/arch/s390/kernel/ |
| A D | crash_dump.c | 44 u64 ctrs[16]; member 94 memcpy(&sa->ctrs, &lc->cregs_save_area, sizeof(sa->ctrs)); in save_area_add_regs() 321 ptr = nt_init(ptr, NT_S390_CTRS, &sa->ctrs, sizeof(sa->ctrs)); in fill_cpu_elf_notes() 345 size += nt_size(NT_S390_CTRS, sizeof(sa->ctrs)); in get_cpu_elf_notes_size()
|
| /linux/arch/powerpc/perf/ |
| A D | core-book3s.c | 1085 static int check_excludes(struct perf_event **ctrs, unsigned int cflags[], in check_excludes() argument 1110 event = ctrs[i]; in check_excludes() 1587 struct perf_event *ctrs[], u64 *events, in collect_events() argument 1596 ctrs[n] = group; in collect_events() 1605 ctrs[n] = event; in collect_events() 2000 struct perf_event *ctrs[MAX_HWEVENTS]; in power_pmu_event_init() local 2108 ctrs, events, cflags); in power_pmu_event_init() 2113 ctrs[n] = event; in power_pmu_event_init() 2115 if (check_excludes(ctrs, cflags, n, 1)) in power_pmu_event_init() 2121 err = power_check_constraints(cpuhw, events, cflags, n + 1, ctrs); in power_pmu_event_init()
|
| 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/drivers/s390/crypto/ |
| A D | ap_bus.c | 714 struct __ap_calc_ctrs ctrs; in ap_calc_bound_apqns() local 716 memset(&ctrs, 0, sizeof(ctrs)); in ap_calc_bound_apqns() 717 bus_for_each_dev(&ap_bus_type, NULL, (void *)&ctrs, __ap_calc_helper); in ap_calc_bound_apqns() 719 *apqns = ctrs.apqns; in ap_calc_bound_apqns() 720 *bound = ctrs.bound; in ap_calc_bound_apqns()
|
Completed in 606 milliseconds