Searched refs:ctrs (Results 1 – 8 of 8) sorted by relevance
/linux/fs/bcachefs/ |
H A D | sb-counters.c | 21 static size_t bch2_sb_counter_nr_entries(struct bch_sb_field_counters *ctrs) in bch2_sb_counter_nr_entries() argument 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() 52 struct bch_sb_field_counters *ctrs = bch2_sb_field_get(c->disk_sb.sb, counters); in bch2_sb_counters_to_cpu() local 53 unsigned int nr = bch2_sb_counter_nr_entries(ctrs); in bch2_sb_counters_to_cpu() 61 u64 v = le64_to_cpu(ctrs in bch2_sb_counters_to_cpu() 72 struct bch_sb_field_counters *ctrs = bch2_sb_field_get(c->disk_sb.sb, counters); bch2_sb_counters_from_cpu() local [all...] |
/linux/kernel/gcov/ |
H A D | gcc_4_7.c | 59 * @ctrs: instrumented counters 75 struct gcov_ctr_info ctrs[]; member 212 ci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_reset() 253 dci_ptr = dst->functions[fi_idx]->ctrs; in gcov_info_add() 254 sci_ptr = src->functions[fi_idx]->ctrs; in gcov_info_add() 315 sci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_dup() 316 dci_ptr = dup->functions[fi_idx]->ctrs; in gcov_info_dup() 361 ci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_free() 412 ci_ptr = fi_ptr->ctrs; in convert_to_gcda()
|
/linux/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 | 172 struct zpci_iommu_ctrs *ctrs; in zpci_fmb_enable_device() local 187 ctrs = zpci_get_iommu_ctrs(zdev); in zpci_fmb_enable_device() 188 if (ctrs) { in zpci_fmb_enable_device() 189 atomic64_set(&ctrs->mapped_pages, 0); in zpci_fmb_enable_device() 190 atomic64_set(&ctrs->unmapped_pages, 0); in zpci_fmb_enable_device() 191 atomic64_set(&ctrs->global_rpcits, 0); in zpci_fmb_enable_device() 192 atomic64_set(&ctrs->sync_map_rpcits, 0); in zpci_fmb_enable_device() 193 atomic64_set(&ctrs->sync_rpcits, 0); in zpci_fmb_enable_device()
|
/linux/drivers/iommu/ |
H A D | s390-iommu.c | 30 struct zpci_iommu_ctrs ctrs; member 783 atomic64_inc(&s390_domain->ctrs.global_rpcits); in s390_iommu_flush_iotlb_all() 802 atomic64_inc(&s390_domain->ctrs.sync_rpcits); in s390_iommu_iotlb_sync() 820 atomic64_inc(&s390_domain->ctrs.sync_map_rpcits); in s390_iommu_iotlb_sync_map() 919 atomic64_add(pgcount, &s390_domain->ctrs.mapped_pages); in s390_iommu_map_pages() 1024 atomic64_add(pgcount, &s390_domain->ctrs.unmapped_pages); in s390_iommu_unmap_pages() 1039 return &s390_domain->ctrs; in zpci_get_iommu_ctrs()
|
/linux/arch/s390/kernel/ |
H A D | crash_dump.c | 45 u64 ctrs[16]; member 93 memcpy(&sa->ctrs, &lc->cregs_save_area, sizeof(sa->ctrs)); in save_area_add_regs() 317 ptr = nt_init(ptr, S390_CTRS, sa->ctrs); in fill_cpu_elf_notes() 339 size += nt_size(S390_CTRS, sa->ctrs); in get_cpu_elf_notes_size()
|
/linux/arch/powerpc/perf/ |
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/drivers/s390/crypto/ |
H A D | ap_bus.c | 780 struct __ap_calc_ctrs ctrs; in ap_calc_bound_apqns() local 782 memset(&ctrs, 0, sizeof(ctrs)); in ap_calc_bound_apqns() 783 bus_for_each_dev(&ap_bus_type, NULL, (void *)&ctrs, __ap_calc_helper); in ap_calc_bound_apqns() 785 *apqns = ctrs.apqns; in ap_calc_bound_apqns() 786 *bound = ctrs.bound; in ap_calc_bound_apqns()
|