Home
last modified time | relevance | path

Searched refs:atomic64_read (Results 1 – 25 of 208) sorted by relevance

123456789

/linux-6.6.21/drivers/scsi/snic/
Dsnic_debugfs.c134 atomic64_read(&stats->io.active)); in snic_reset_stats_write()
179 maxio_tm = (u64) atomic64_read(&stats->io.max_time); in snic_stats_show()
195 (u64) atomic64_read(&stats->io.active), in snic_stats_show()
196 (u64) atomic64_read(&stats->io.max_active), in snic_stats_show()
197 (u64) atomic64_read(&stats->io.num_ios), in snic_stats_show()
198 (u64) atomic64_read(&stats->io.compl), in snic_stats_show()
199 (u64) atomic64_read(&stats->io.fail), in snic_stats_show()
200 (u64) atomic64_read(&stats->io.io_not_found), in snic_stats_show()
201 (u64) atomic64_read(&stats->io.alloc_fail), in snic_stats_show()
202 (u64) atomic64_read(&stats->io.req_null), in snic_stats_show()
[all …]
Dsnic_stats.h98 nr_active_ios = atomic64_read(&io->active); in snic_stats_update_active_ios()
99 if (atomic64_read(&io->max_active) < nr_active_ios) in snic_stats_update_active_ios()
110 if (unlikely(atomic64_read(&s_stats->io_cmpl_skip))) in snic_stats_update_io_cmpl()
/linux-6.6.21/drivers/scsi/fnic/
Dfnic_trace.c252 (u64)atomic64_read(&stats->io_stats.active_ios), in fnic_get_stats_data()
253 (u64)atomic64_read(&stats->io_stats.max_active_ios), in fnic_get_stats_data()
254 (u64)atomic64_read(&stats->io_stats.num_ios), in fnic_get_stats_data()
255 (u64)atomic64_read(&stats->io_stats.io_completions), in fnic_get_stats_data()
256 (u64)atomic64_read(&stats->io_stats.io_failures), in fnic_get_stats_data()
257 (u64)atomic64_read(&stats->io_stats.io_not_found), in fnic_get_stats_data()
258 (u64)atomic64_read(&stats->io_stats.alloc_failures), in fnic_get_stats_data()
259 (u64)atomic64_read(&stats->io_stats.ioreq_null), in fnic_get_stats_data()
260 (u64)atomic64_read(&stats->io_stats.sc_null), in fnic_get_stats_data()
261 (u64)atomic64_read(&stats->io_stats.io_btw_0_to_10_msec), in fnic_get_stats_data()
[all …]
/linux-6.6.21/net/netfilter/
Dxt_connbytes.c45 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt()
48 what = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
51 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt()
52 what += atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
59 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].bytes); in connbytes_mt()
62 what = atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); in connbytes_mt()
65 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].bytes); in connbytes_mt()
66 what += atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); in connbytes_mt()
73 bytes = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].bytes); in connbytes_mt()
74 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt()
[all …]
Dnft_quota.c25 atomic64_read(&priv->quota); in nft_overquota()
126 newquota = atomic64_read(&newpriv->quota); in nft_quota_obj_update()
141 consumed = atomic64_read(priv->consumed); in nft_quota_do_dump()
142 quota = atomic64_read(&priv->quota); in nft_quota_do_dump()
/linux-6.6.21/arch/arm64/kvm/
Dvmid.c43 (!(((vmid) ^ atomic64_read(&vmid_generation)) >> kvm_arm_vmid_bits))
95 u64 vmid = atomic64_read(&kvm_vmid->id); in new_vmid()
96 u64 generation = atomic64_read(&vmid_generation); in new_vmid()
143 vmid = atomic64_read(&kvm_vmid->id); in kvm_arm_vmid_update()
155 old_active_vmid = atomic64_read(this_cpu_ptr(&active_vmids)); in kvm_arm_vmid_update()
164 vmid = atomic64_read(&kvm_vmid->id); in kvm_arm_vmid_update()
/linux-6.6.21/drivers/crypto/cavium/zip/
Dzip_main.c509 val = atomic64_read(&st->comp_req_complete); in zip_stats_show()
510 avg_chunk = (val) ? atomic64_read(&st->comp_in_bytes) / val : 0; in zip_stats_show()
512 val = atomic64_read(&st->comp_out_bytes); in zip_stats_show()
513 avg_cr = (val) ? atomic64_read(&st->comp_in_bytes) / val : 0; in zip_stats_show()
530 (u64)atomic64_read(&st->comp_req_submit), in zip_stats_show()
531 (u64)atomic64_read(&st->comp_req_complete), in zip_stats_show()
532 (u64)atomic64_read(&st->comp_in_bytes), in zip_stats_show()
533 (u64)atomic64_read(&st->comp_out_bytes), in zip_stats_show()
536 (u64)atomic64_read(&st->decomp_req_submit), in zip_stats_show()
537 (u64)atomic64_read(&st->decomp_req_complete), in zip_stats_show()
[all …]
/linux-6.6.21/arch/arm64/mm/
Dcontext.c102 (!(((asid) ^ atomic64_read(&asid_generation)) >> asid_bits))
161 u64 asid = atomic64_read(&mm->context.id); in new_context()
162 u64 generation = atomic64_read(&asid_generation); in new_context()
224 asid = atomic64_read(&mm->context.id); in check_and_switch_context()
240 old_active_asid = atomic64_read(this_cpu_ptr(&active_asids)); in check_and_switch_context()
248 asid = atomic64_read(&mm->context.id); in check_and_switch_context()
283 asid = atomic64_read(&mm->context.id); in arm64_mm_context_get()
322 u64 asid = atomic64_read(&mm->context.id); in arm64_mm_context_put()
/linux-6.6.21/arch/arm/mm/
Dcontext.c192 u64 asid = atomic64_read(&mm->context.id); in new_context()
193 u64 generation = atomic64_read(&asid_generation); in new_context()
252 asid = atomic64_read(&mm->context.id); in check_and_switch_context()
253 if (!((asid ^ atomic64_read(&asid_generation)) >> ASID_BITS) in check_and_switch_context()
259 asid = atomic64_read(&mm->context.id); in check_and_switch_context()
260 if ((asid ^ atomic64_read(&asid_generation)) >> ASID_BITS) { in check_and_switch_context()
/linux-6.6.21/crypto/
Dhash.h27 rhash.stat_hash_cnt = atomic64_read(&istat->hash_cnt); in crypto_hash_report_stat()
28 rhash.stat_hash_tlen = atomic64_read(&istat->hash_tlen); in crypto_hash_report_stat()
29 rhash.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_hash_report_stat()
Dakcipher.c85 rakcipher.stat_encrypt_cnt = atomic64_read(&istat->encrypt_cnt); in crypto_akcipher_report_stat()
86 rakcipher.stat_encrypt_tlen = atomic64_read(&istat->encrypt_tlen); in crypto_akcipher_report_stat()
87 rakcipher.stat_decrypt_cnt = atomic64_read(&istat->decrypt_cnt); in crypto_akcipher_report_stat()
88 rakcipher.stat_decrypt_tlen = atomic64_read(&istat->decrypt_tlen); in crypto_akcipher_report_stat()
89 rakcipher.stat_sign_cnt = atomic64_read(&istat->sign_cnt); in crypto_akcipher_report_stat()
90 rakcipher.stat_verify_cnt = atomic64_read(&istat->verify_cnt); in crypto_akcipher_report_stat()
91 rakcipher.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_akcipher_report_stat()
Dacompress.c106 racomp.stat_compress_cnt = atomic64_read(&istat->compress_cnt); in __crypto_acomp_report_stat()
107 racomp.stat_compress_tlen = atomic64_read(&istat->compress_tlen); in __crypto_acomp_report_stat()
108 racomp.stat_decompress_cnt = atomic64_read(&istat->decompress_cnt); in __crypto_acomp_report_stat()
109 racomp.stat_decompress_tlen = atomic64_read(&istat->decompress_tlen); in __crypto_acomp_report_stat()
110 racomp.stat_err_cnt = atomic64_read(&istat->err_cnt); in __crypto_acomp_report_stat()
Dkpp.c82 rkpp.stat_setsecret_cnt = atomic64_read(&istat->setsecret_cnt); in crypto_kpp_report_stat()
84 atomic64_read(&istat->generate_public_key_cnt); in crypto_kpp_report_stat()
86 atomic64_read(&istat->compute_shared_secret_cnt); in crypto_kpp_report_stat()
87 rkpp.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_kpp_report_stat()
Drng.c107 rrng.stat_generate_cnt = atomic64_read(&istat->generate_cnt); in crypto_rng_report_stat()
108 rrng.stat_generate_tlen = atomic64_read(&istat->generate_tlen); in crypto_rng_report_stat()
109 rrng.stat_seed_cnt = atomic64_read(&istat->seed_cnt); in crypto_rng_report_stat()
110 rrng.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_rng_report_stat()
Daead.c229 raead.stat_encrypt_cnt = atomic64_read(&istat->encrypt_cnt); in crypto_aead_report_stat()
230 raead.stat_encrypt_tlen = atomic64_read(&istat->encrypt_tlen); in crypto_aead_report_stat()
231 raead.stat_decrypt_cnt = atomic64_read(&istat->decrypt_cnt); in crypto_aead_report_stat()
232 raead.stat_decrypt_tlen = atomic64_read(&istat->decrypt_tlen); in crypto_aead_report_stat()
233 raead.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_aead_report_stat()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_fence.c97 seq = lower_32_bits(atomic64_read(&drv->last_seq)); in radeon_fence_read()
177 seq = atomic64_read(&fence->rdev->fence_drv[fence->ring].last_seq); in radeon_fence_check_signaled()
224 last_seq = atomic64_read(&rdev->fence_drv[ring].last_seq); in radeon_fence_activity()
301 (uint64_t)atomic64_read(&fence_drv->last_seq), in radeon_fence_check_lockup()
343 if (atomic64_read(&rdev->fence_drv[ring].last_seq) >= seq) { in radeon_fence_seq_signaled()
348 if (atomic64_read(&rdev->fence_drv[ring].last_seq) >= seq) { in radeon_fence_seq_signaled()
361 if (atomic64_read(&rdev->fence_drv[ring].last_seq) >= seq) { in radeon_fence_is_signaled()
369 if (atomic64_read(&rdev->fence_drv[ring].last_seq) >= seq) { in radeon_fence_is_signaled()
389 if (atomic64_read(&rdev->fence_drv[fence->ring].last_seq) >= fence->seq) in radeon_fence_enable_signaling()
399 if (atomic64_read(&rdev->fence_drv[fence->ring].last_seq) >= fence->seq) { in radeon_fence_enable_signaling()
[all …]
/linux-6.6.21/arch/csky/include/asm/
Dasid.h48 asid = atomic64_read(pasid); in asid_check_context()
64 old_active_asid = atomic64_read(&active_asid(info, cpu)); in asid_check_context()
66 !((asid ^ atomic64_read(&info->generation)) >> info->bits) && in asid_check_context()
/linux-6.6.21/drivers/crypto/cavium/nitrox/
Dnitrox_debugfs.c43 (u64)atomic64_read(&ndev->stats.posted)); in stats_show()
45 (u64)atomic64_read(&ndev->stats.completed)); in stats_show()
47 (u64)atomic64_read(&ndev->stats.dropped)); in stats_show()
/linux-6.6.21/arch/csky/mm/
Dasid.c83 u64 asid = atomic64_read(pasid); in new_context()
84 u64 generation = atomic64_read(&info->generation); in new_context()
145 asid = atomic64_read(pasid); in asid_new_context()
146 if ((asid ^ atomic64_read(&info->generation)) >> info->bits) { in asid_new_context()
/linux-6.6.21/kernel/dma/
Dmap_benchmark.c149 loops = atomic64_read(&map->loops); in do_map_benchmark()
152 u64 sum_map = atomic64_read(&map->sum_map_100ns); in do_map_benchmark()
153 u64 sum_unmap = atomic64_read(&map->sum_unmap_100ns); in do_map_benchmark()
154 u64 sum_sq_map = atomic64_read(&map->sum_sq_map); in do_map_benchmark()
155 u64 sum_sq_unmap = atomic64_read(&map->sum_sq_unmap); in do_map_benchmark()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Drestrack.c96 atomic64_read(&mr->odp_stats.faults))) in fill_stat_mr_entry()
100 atomic64_read(&mr->odp_stats.invalidations))) in fill_stat_mr_entry()
103 atomic64_read(&mr->odp_stats.prefetch))) in fill_stat_mr_entry()
/linux-6.6.21/kernel/cgroup/
Dpids.c164 int64_t limit = atomic64_read(&p->limit); in pids_try_charge()
316 int64_t limit = atomic64_read(&pids->limit); in pids_max_show()
331 return atomic64_read(&pids->counter); in pids_current_read()
346 seq_printf(sf, "max %lld\n", (s64)atomic64_read(&pids->events_limit)); in pids_events_show()
/linux-6.6.21/drivers/char/hw_random/
Ds390-trng.c110 u64 dev_counter = atomic64_read(&trng_dev_counter); in trng_counter_show()
111 u64 hwrng_counter = atomic64_read(&trng_hwrng_counter); in trng_counter_show()
112 u64 arch_counter = atomic64_read(&s390_arch_random_counter); in trng_counter_show()
/linux-6.6.21/arch/mips/mm/
Dcontext.c130 version = atomic64_read(&mmid_version); in get_new_mmid()
212 !asid_versions_eq(cpu, ctx, atomic64_read(&mmid_version)) || in check_switch_mmu_context()
217 if (!asid_versions_eq(cpu, ctx, atomic64_read(&mmid_version))) in check_switch_mmu_context()
/linux-6.6.21/arch/s390/kernel/
Dvtime.c63 return elapsed >= atomic64_read(&virt_timer_current); in virt_timer_forward()
294 elapsed = atomic64_read(&virt_timer_elapsed); in virt_timer_expire()
317 atomic64_read(&virt_timer_elapsed); in virt_timer_expire()
346 timer->expires += atomic64_read(&virt_timer_elapsed); in internal_add_vtimer()
348 (s64) atomic64_read(&virt_timer_current))) in internal_add_vtimer()

123456789